Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Aug 2004
    Posts
    294
    cPanel/Enkompass Access Level

    Root Administrator

    Default Cannot start BF1942 servers

    To make this the 3rd current issue at the moment (im about to put in a ticket about HL Darren):

    When trying to start a BF1942 server it just keeps refreshing the start button, starting from ssh gives the following:

    root@server [~]# /home/username/.gameservers/bf1942_0/start.sh
    /home/username/.gameservers/bf1942_0/start.sh: using dynamically linked binary
    /home/username/.gameservers/bf1942_0/start.sh: line 34: /root/bf1942_lnxded: No such file or directory
    /home/username/.gameservers/bf1942_0/start.sh: line 34: exec: /root/bf1942_lnxded: cannot execute: No such file or directory
    root@server [~]#
    /usr/local/cpanel/logs/error_log:

    Cpanel::IxHash: Warning, mangling data key conf which is longer then 64 bytes, using safe_html_encode
    Cpanel::IxHash: at /usr/local/cpanel/Cpanel/ExpVar.pm line 130
    Cpanel::ExpVar::expvar('$FORM{\'conf\'}', 0, 0, undef) called at cpanel.pl line 1890
    main:arsetag('GameServer="configsave(bf1942,advconfig,conf,$FORM{\'conf\'})"') called at cpanel.pl line 1623
    main::exectag('
    Game seems to have installed correctly and im not seeing any other errors.

    Any advice?

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

    Default

    cPGS doesn't use the start.sh script that is there to start the server, that is a red herring in your troubleshooting process. To find out how a game is normally started by cPGS, check the saved startup command line file that is created each time a game is started. for instance the bf1942 command line for my user "cpgs" :

    # cat /var/cpanel/gameserv_saved/cpgs_bf1942_0
    /home/cpgs/.gameservers/bf1942_0/bf1942_lnxded

    That server needs no arguments as all is handled in the config files. Be sure when you launch it that you do so as the user, not as root, since it may try to create log files and such as the user it's started with and you'll end up in a situation where the regular user can't start the server because it can't open files/directories for writing anymore because they are owned by root.
    If this is happening on the same server as the HL stuff, you might as well mention it in the ticket too
    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. servers wont start servers hang
    By Forbest in forum cPGS Discussions
    Replies: 5
    Last Post: 06-30-2011, 04:28 PM
  2. All servers start, except for 2?
    By lmfaoown in forum cPGS Discussions
    Replies: 7
    Last Post: 03-18-2010, 10:44 AM
  3. 10th + servers does not start
    By Sushii in forum cPGS Discussions
    Replies: 3
    Last Post: 03-13-2009, 05:27 PM
  4. BF1942 version 1.6
    By SyntaxLAMP in forum cPGS Discussions
    Replies: 1
    Last Post: 10-21-2008, 05:53 PM
  5. Cannot Start TF2 Servers
    By Jubalint in forum cPGS Discussions
    Replies: 6
    Last Post: 06-10-2008, 12:40 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube