Quote:
Originally Posted by nineteeneleven
You dont need 777 perms if you set it up like in the instructions/video. Just want to clarify that for other users. I take it you are still trying to run it as root, not the apache user.
use the cpanel to start/stop.
3 things are possible with the startup error.
Your apache user cant write to /tmp/ - see if /tmp/control-panel exists.
Your pid file location in your gameserver's command line does not match the PID file location in the control-panel (see attachment)
Your running as root, in which case edit line 102 of 'includes/ServerControllerClass.php'
PHP Code:
#wait for it... wait for it sleep(11); //if server is running as root, this might cause a problem with the 10 seconds timeout of the srcds_run script. #see if server has started
|
about the server start issue
1. /tmp/control-panel exits.
2. i did not use the -pidfile command but i edited it in and made sure it matches,
3. what do you want me to do with the line? do you want me to comment it out? becasue i did comment it out and still it fails to start the server. gives error: server failed to start.
if you have no other ideas then i can try to set it up with a normal user like in the video.