Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default Server autoload error.

    Code:
    [Thu Jan 29 09:25:55 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 1
    [Thu Jan 29 09:25:59 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 1
    [Thu Jan 29 09:25:59 2009] Line(736) Couldn't open /proc/11719/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 09:25:59 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2gt 1
    [Thu Jan 29 09:25:59 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2ip 207.45.179.45 1
    [Thu Jan 29 09:25:59 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2 27019 1
    [Thu Jan 29 10:19:10 2009] Line(406) [127.0.0.1] client says: isbeinginstalledq tompvkii hl2 0
    [Thu Jan 29 10:19:10 2009] Line(406) [127.0.0.1] client says: isinstalledq tompvkii hl2 0
    [Thu Jan 29 10:19:10 2009] Line(406) [127.0.0.1] client says: singleisrunning tompvkii hl2 0
    [Thu Jan 29 10:19:10 2009] Line(406) [127.0.0.1] client says: getserverip tompvkii hl2 0
    [Thu Jan 29 10:19:11 2009] Line(406) [127.0.0.1] client says: getboundipp 21555
    [Thu Jan 29 10:19:11 2009] Line(406) [127.0.0.1] client says: getpiduptime 21555
    [Thu Jan 29 10:19:16 2009] Line(406) [127.0.0.1] client says: isinstalled tompvkii hl2 0
    [Thu Jan 29 10:19:16 2009] Line(406) [127.0.0.1] client says: singleisrunning tompvkii hl2 0
    [Thu Jan 29 10:19:16 2009] Line(406) [127.0.0.1] client says: getserverip tompvkii hl2 0
    [Thu Jan 29 10:19:16 2009] Line(406) [127.0.0.1] client says: getboundipp 21555
    [Thu Jan 29 10:19:18 2009] Line(406) [127.0.0.1] client says: getpiduptime 21555
    [Thu Jan 29 10:19:18 2009] Line(406) [127.0.0.1] client says: showsimpleconfig tompvkii 18 hl2gt 0
    [Thu Jan 29 10:19:18 2009] Line(406) [127.0.0.1] client says: showsimpleconfig tompvkii 18 hl2ip 207.45.179.43 0
    [Thu Jan 29 10:19:18 2009] Line(406) [127.0.0.1] client says: showsimpleconfig tompvkii 18 hl2 27015 0
    [Thu Jan 29 10:19:28 2009] Line(406) [127.0.0.1] client says: isinstalled tompvkii hl2 0
    [Thu Jan 29 10:19:28 2009] Line(406) [127.0.0.1] client says: stopevent tompvkii hl2 0
    [Thu Jan 29 10:19:28 2009] Line(406) [127.0.0.1] client says: stopserver tompvkii hl2 0 1
    [Thu Jan 29 10:19:30 2009] Line(406) [127.0.0.1] client says: singleisrunning tompvkii hl2 0
    [Thu Jan 29 10:19:30 2009] Line(736) Couldn't open /proc/21555/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 10:19:49 2009] Line(406) [127.0.0.1] client says: isinstalled tompvkii hl2 0
    [Thu Jan 29 10:19:49 2009] Line(406) [127.0.0.1] client says: startserver tompvkii hl2 0 1 append=-console tickrate=100
    [Thu Jan 29 10:19:49 2009] Line(1088) startevent(tompvkii,hl2,0,0)
    [Thu Jan 29 10:19:49 2009] Line(1096) Saved restart state to /var/cpanel/gameserv_restart (hl2,0)
    [Thu Jan 29 10:19:50 2009] Line(406) [127.0.0.1] client says: singleisrunning tompvkii hl2 0
    [Thu Jan 29 10:19:50 2009] Line(406) [127.0.0.1] client says: getserverip tompvkii hl2 0
    [Thu Jan 29 10:19:50 2009] Line(406) [127.0.0.1] client says: getboundipp 5676
    [Thu Jan 29 10:19:50 2009] Line(406) [127.0.0.1] client says: getpiduptime 5676
    [Thu Jan 29 12:08:48 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 1
    [Thu Jan 29 12:08:48 2009] Line(406) [127.0.0.1] client says: startserver ugswcs hl2 1 1 append=-console tickrate=100
    [Thu Jan 29 12:08:48 2009] Line(1088) startevent(ugswcs,hl2,0,1)
    [Thu Jan 29 12:08:48 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 1
    [Thu Jan 29 12:08:48 2009] Line(406) [127.0.0.1] client says: getserverip ugswcs hl2 1
    [Thu Jan 29 12:08:48 2009] Line(406) [127.0.0.1] client says: getboundipp 27496
    [Thu Jan 29 12:08:48 2009] Line(406) [127.0.0.1] client says: getpiduptime 27496
    [Thu Jan 29 12:08:54 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 3
    [Thu Jan 29 12:08:54 2009] Line(406) [127.0.0.1] client says: startserver ugswcs hl2 3 1 append=-console tickrate=120
    [Thu Jan 29 12:08:55 2009] Line(1088) startevent(ugswcs,hl2,0,3)
    [Thu Jan 29 12:08:55 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 3
    [Thu Jan 29 12:08:55 2009] Line(736) Couldn't open /proc/5706/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:08:58 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 2
    [Thu Jan 29 12:08:58 2009] Line(406) [127.0.0.1] client says: startserver ugswcs hl2 2 1 append=-console tickrate=66
    [Thu Jan 29 12:08:58 2009] Line(1088) startevent(ugswcs,hl2,0,2)
    [Thu Jan 29 12:08:58 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 2
    [Thu Jan 29 12:08:58 2009] Line(736) Couldn't open /proc/2616/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:09:03 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 2
    [Thu Jan 29 12:09:03 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 2
    [Thu Jan 29 12:09:03 2009] Line(736) Couldn't open /proc/2616/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:09:03 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2gt 2
    [Thu Jan 29 12:09:04 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2ip 207.45.179.45 2
    [Thu Jan 29 12:09:04 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2 27027 2
    [Thu Jan 29 12:09:07 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 2
    [Thu Jan 29 12:09:07 2009] Line(406) [127.0.0.1] client says: startserver ugswcs hl2 2 1 append=-console tickrate=66
    [Thu Jan 29 12:09:07 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 2
    [Thu Jan 29 12:09:07 2009] Line(736) Couldn't open /proc/2616/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:09:18 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 2
    [Thu Jan 29 12:09:18 2009] Line(406) [127.0.0.1] client says: startserver ugswcs hl2 2 1 append=-console tickrate=66
    [Thu Jan 29 12:09:19 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 2
    [Thu Jan 29 12:09:19 2009] Line(736) Couldn't open /proc/2616/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:09:21 2009] Line(406) [127.0.0.1] client says: isinstalled ugswcs hl2 2
    [Thu Jan 29 12:09:21 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 2
    [Thu Jan 29 12:09:21 2009] Line(736) Couldn't open /proc/2616/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:09:22 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2gt 2
    [Thu Jan 29 12:09:22 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2ip 207.45.179.45 2
    [Thu Jan 29 12:09:22 2009] Line(406) [127.0.0.1] client says: showsimpleconfig ugswcs 64 hl2 27027 2
    [Thu Jan 29 12:09:26 2009] Line(406) [127.0.0.1] client says: isbeinginstalledq ugswcs hl2 0
    [Thu Jan 29 12:09:26 2009] Line(406) [127.0.0.1] client says: isinstalledq ugswcs hl2 0
    [Thu Jan 29 12:09:26 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 0
    [Thu Jan 29 12:09:26 2009] Line(736) Couldn't open /proc/12501/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:09:26 2009] Line(406) [127.0.0.1] client says: isbeinginstalledq ugswcs hl2 0
    [Thu Jan 29 12:09:26 2009] Line(406) [127.0.0.1] client says: isinstalledq ugswcs hl2 1
    [Thu Jan 29 12:09:26 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 1
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: getserverip ugswcs hl2 1
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: getboundipp 27496
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: getpiduptime 27496
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: isbeinginstalledq ugswcs hl2 0
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: isinstalledq ugswcs hl2 2
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: singleisrunning ugswcs hl2 2
    [Thu Jan 29 12:09:27 2009] Line(736) Couldn't open /proc/2616/cmdline : No such file or directory (Server not running.)
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: isbeinginstalledq ugswcs hl2 0
    [Thu Jan 29 12:09:27 2009] Line(406) [127.0.0.1] client says: isinstalledq
    This is what I get in the log file /var/log/cpgsd for cpgs_chk.
    I have this running constantly...
    (while true; do /usr/local/cpanel/bin/cpgs_chk 2>&1 >>/var/log/cpgsd.log; sleep 10; done) &

    Can someone explain whats wrong?
    And I suggest that the cpgs control panel starts servers in the background.

  2. #2
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    Why dont you let it work in screen mode?

    It works brilliantly in screen mode with no errors what so ever!

    screen /home/*/.gameservers/hl2_2/srcds_run -dir /home/*/.gameservers/hl2_2/ -game cstrike +maxplayers 28 +ip *.*.*.* -port * +map * -tickrate * -pidfile /home/*/.gameservers/hl2_2/hl2.pid -console -autoupdate

    CTRL + A, CTRL + D = Detach
    screen -r = resume
    screen -D = Detach

    Really simple

  3. #3
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,881

    Default

    I'm confused here.. What problem are you having with the cpgs_chk script ? It was just rewritten as of 0.6.14 to call cPGSD's startserver function directly rather than trying to start it up on it's own and duplicating all that code. The 0.6.14-0.0.2 release (IIRC) changed it from calling hlds_run to calling the hlds_i686 (or whatever) binary directly as apprpriate for your hardware since it was confusing the pid file checking (pid file had PID of hlds_run, not the server it spawned.)

    Also, having servers started in screen is on my to-do list as an option, since I know many folks don't offer ssh access. It should be pretty trivial to add to the command line, but I need to ensure that screen is installed, etc or else I'll get a million tickets about it :P

  4. #4
    Member
    Join Date
    Feb 2008
    Posts
    93

    Default

    I have dropped in a ticket about the cpgs_chk script.

Similar Threads & Tags
Similar threads

  1. Webmail autoload
    By jgmilleriii in forum New User Questions
    Replies: 3
    Last Post: 01-22-2010, 03:18 PM
  2. Error with cgi-bin 500 internal server error
    By approx in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 03-11-2009, 11:13 PM
  3. Webmail login page and autoload
    By iLLuSi0nS in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-12-2008, 01:37 PM
  4. webmail autoload by default
    By iLLuSi0nS in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-25-2008, 09:49 AM
  5. Enable Autoload?
    By rligg in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-07-2008, 03:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube