Raised This Month: $12 Target: $400
 3% 

[Release]Linux control panel


Post New Thread Reply   
 
Thread Tools Display Modes
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 08-22-2014 , 09:02   Re: [Release]Linux control panel
Reply With Quote #11

Sorry I dont speak Portuguese
__________________
nineteeneleven is offline
hatch
Member
Join Date: Feb 2010
Old 08-23-2014 , 21:54   Re: [Release]Linux control panel
Reply With Quote #12

hi, im trying to install this but the install process does not seem to go anywhere. on page 1 after i click submit, nothing happens. it all stays on the same page1 and gives no output like it does in the utube install video.

i am on debian, have apache, php5, and remote mysql on a different vps that i have given permission for the server to connect to. in the utube video it gives error output at the bottom when he uses the wrong database password, i dont get anything down there.


EDIT: nevermind, i installed mysql on localhost and used that. it went through but i am setting this up only for testing purposes and using root to do so, it keeps giving me error creating home dir, why is that so? root should have all perms anyway right


EDIT2: had to give perms 777 to control panel folder

Last edited by hatch; 08-23-2014 at 22:28.
hatch is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 08-23-2014 , 22:29   Re: [Release]Linux control panel
Reply With Quote #13

Your apache user is trying to create the folders so unless your running apache as root you will get permission problem

Either chmod all the control panels folders to your apache user (probably www-data) or run apache as root (not recommended for production servers)
__________________

Last edited by nineteeneleven; 08-23-2014 at 22:36.
nineteeneleven is offline
hatch
Member
Join Date: Feb 2010
Old 08-24-2014 , 11:58   Re: [Release]Linux control panel
Reply With Quote #14

thanks for the reply and the support 1911.

One more question. I was able to install the gameserver from the panel, but when i try to start it, it says "problem starting" or something along those lines. if i start that server via SSH, it will detect on the control panel that its running, but if i try to stop it or restart it from the control panel, it will just keep saying error or failed to start. what can be causing that?
hatch is offline
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:	200
Size:	14.7 KB
ID:	137226  
__________________

Last edited by nineteeneleven; 08-24-2014 at 14:02.
nineteeneleven is offline
hatch
Member
Join Date: Feb 2010
Old 08-24-2014 , 19:08   Re: [Release]Linux control panel
Reply With Quote #16

ah ok thanks, i will test that out
hatch is offline
hatch
Member
Join Date: Feb 2010
Old 08-24-2014 , 21:46   Re: [Release]Linux control panel
Reply With Quote #17

Quote:
Originally Posted by nineteeneleven View Post
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.
hatch is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 08-24-2014 , 22:24   Re: [Release]Linux control panel
Reply With Quote #18

Lol no dont comment that line out. If ur running as root change the sleep time to 15 or something higher.
__________________
nineteeneleven is offline
hatch
Member
Join Date: Feb 2010
Old 08-25-2014 , 01:50   Re: [Release]Linux control panel
Reply With Quote #19

ah ok.

changed it to 20, still says server failed to start.

do you put the run command line in "command line" box or "rcon command line" box, or both?
hatch is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 08-25-2014 , 06:50   Re: [Release]Linux control panel
Reply With Quote #20

It doesnt matter it just combines both boxes. I had plans for that that never got implemented.

PM the row in your database for the server.
__________________
nineteeneleven is offline
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 05:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode