Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Aug 2008
    Posts
    13

    Default Do gameservers automatically restart if/when they crash?

    If a server crashes or goes down, will it automatically come back up after a minute or so?

    If not, please let me know if there is a way to have gameservers start up automatically after going down.

    Thanks so much!

  2. #2
    Member
    Join Date
    Dec 2005
    Posts
    27

    Default You mind?

    You mind if the box, or the dedicated servers crashes? If so, yes the gameservers will restart it self.

    Regards

  3. #3
    Member
    Join Date
    Aug 2008
    Posts
    13

    Default

    I meant if the gameserver crashes, not the whole box

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

    Default

    webuser00 - Yes, there is a cronjob installed to /etc/crontab along with cPGS that runs a script, /var/cpanel/cpgs/cpgs_chk , every 5 minutes to see if any of the servers that were purposefully started are still running and restart them if not.

  5. #5
    Member
    Join Date
    Sep 2009
    Posts
    40

    Default

    Is this still true? I've had servers crash that don't restart. I'm hosting L4D2 servers, if that matters.


    edit: Let me elaborate a little. I see the crontab entry, but it doesn't seem to be working...

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

    Default

    The 0.7.3 release has a fix for this, there was a bug in 0.7.2 that stopped this from working. Now that cPanel 11.25.0 is released for STABLE I should be able to put out 0.7.3 soon for everyone with the fix.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  7. #7
    Member
    Join Date
    Sep 2009
    Posts
    40

    Default

    I'm guessing there isn't, but I'll ask anyway... Is there a quick fix I can do? I've got an 18 man L4D2 server that is obvious unstable as h*** that I'd like to monitor.

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

    Default

    You can update to the latest 0.7.3 pre-release if you are feeling adventurous:

    # wget cpgs.cpanel.net/cPanelGS.tgz
    # tar xzvf cPanelGS.tgz
    # cd GameServerAddon
    # ./install_auto

    I'm still working out some issues with remote systems and alternate usernames with the new authentication stuff, but expect to release 0.7.3 once that has been fleshed out.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

Similar Threads & Tags
Similar threads

  1. Auto restart Counter Strike 1.6 servers on crash
    By filth80 in forum cPGS Discussions
    Replies: 1
    Last Post: 08-03-2011, 08:17 AM
  2. Restart Failing Services Automatically
    By audrey in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-18-2010, 08:11 AM
  3. Restart Services Automatically every hour?
    By grabyourhosting in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-23-2007, 04:12 PM
  4. server crash when restart apache!?
    By Jedia in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-09-2005, 03:41 PM
  5. Getting BIND(dns) to restart automatically
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-25-2003, 10:39 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube