View Single Post
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 08-24-2014 , 13:54   Re: [Release]Linux control panel
Reply With Quote #15

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 
Attached Thumbnails
Click image for larger version

Name:	pidfile.png
Views:	203
Size:	14.7 KB
ID:	137226  
__________________

Last edited by nineteeneleven; 08-24-2014 at 14:02.
nineteeneleven is offline