Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-11-2005, 06:30 PM   #1
Registered: Mar 2004
Posts: 47

Rep: Reputation: 15
Start/stop/update scripts do not work over webmin.

Hey guys, i've setup my MDK 64Bit server as that says. The game im using is Counter-Strike: Source, so I followed these instructions, . 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.


screen -r indecline -X quit
echo Server has been restarted
screen -dmS indecline ./srcds_run -game cstrike +maxplayers 12 +exec server.cfg +map de_dust2


screen -r indecline -X quit
echo Server has been stopped


./steam -command update -game "Counter-Strike Source" -dir /home/servers/indecline -username xxx -password xxx

Running ./start from webmin goes this far,

Auto detecting CPU
Using AMD-Opteron (64 bit) Optimised binary.
Auto-restarting the server on crash

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?).


Auto-restarting the server on crash

Console initialized.
Network: IP, mode MP, dedicated Yes, ports 27015 SV / 27005 CL
Failed to load
Failed to load server binary
couldn't exec valve.rc

./stop I do not know if it works, as I do not have a valid start script yet.

./update from webmin returns this code,

Output from command .. Checking bootstrapper version ... Getting version 13 of Steam HLDS Update Tool Downloading. . . . . . . . . . . . Cannot open output file 'LinuxHldsUpdateTool_13.pkg'

Im not sure what to do from here, any help would be greatly appritiated! Thanks guys!
Old 03-12-2005, 06:57 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Do these scripts work without using webmin?
Old 03-21-2005, 07:27 AM   #3
LQ Newbie
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
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.
Old 02-24-2006, 12:46 AM   #4
Registered: Feb 2006
Distribution: Red Hat 9
Posts: 112

Rep: Reputation: 15
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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Everything worked, did a complete update, now no bash scripts work! Dark Carnival Ubuntu 1 07-06-2005 06:38 AM
(FC3) ATI FGLRX Drivers work for months,FC3 update, stop working genixpro Linux - Hardware 2 04-23-2005 10:01 PM
Webmin doesn't work after update Mikessu Debian 1 02-08-2004 12:22 PM
Runlevel start/stop scripts vanalex Linux - General 0 01-27-2004 09:54 PM
Oracle 9i Start/Stop scripts vous Linux - Software 0 01-16-2004 02:59 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration