Start/stop/update scripts do not work over webmin.
Hey guys, i've setup my MDK 64Bit server as http://gameservernews.com/index.php?showtopic=6 that says. The game im using is Counter-Strike: Source, so I followed these instructions, http://gameservernews.com/index.php?showtopic=26 . Now from webmin when I click the custom commands I made I run into problems...
To clarify on my problem, this is the scripts and the errors, my usernames and etc... My gameuser is, gameuser. My first server is user, indecline. ./start Code:
./stop Code:
./update Code:
Running ./start from webmin goes this far, Code:
and locks up there no matter how long I leave it on the page. Running ./start from root in SSH is fine, running ./start from gameuser in SSH returns this code (guessing this is my problem, does webmin have to run as indecline instead of gameuser?). Code:
./stop I do not know if it works, as I do not have a valid start script yet. ./update from webmin returns this code, Code:
Im not sure what to do from here, any help would be greatly appritiated! Thanks guys! |
Do these scripts work without using webmin?
|
same problem
i am having the exact same problem, i pretty much read the same tutorial.
the scripts work fine over linux, but hang in the webadmin. |
You might want to check if you have the "screen" package installed and as for some of the scripts that hang, they are long processes and sometimes, continuous ones. For example, starting a server, will give you a long line of output into webmin that keeps going and going, if you press back, the server will be killed. You would have to stop the out put while still maintaining the process, this is done by adding the > /dev/null & command to the end of the command. This sends all the unwanted output into the file /dev/null (like a trash can) and then the "&" runs the process in the background, you can add in any neccesary "echo" commands to tell the user what you like. Remember any "Out of the box" tutorial like the one you linked to will require a varying amount of "tailoring" to suit your particular distro or setup. Good Luck!
|
All times are GMT -5. The time now is 01:59 PM. |