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

    Root Administrator

    Default 0.7.2 issues/errors :)

    Hey darren,

    Few errors that have been found.

    Frontend - Restart :: ERROR: Unknown command ( URL gameserv/Ctl.html?game=$game&n=$num&ctl=restart )
    GameServ Restart Script is broken, (cpgs_server_ctl doesn't run command "restart" anymore).
    Servers having multiple net_ports (.launchrc files having multiple net_port variables, resulting in frontend displaying port as blank, and resulting in not being able to change net_port)

    These are all that have been found so far... Either myself or one of my team will update this when we find more ^_^

  2. #2
    Member
    Join Date
    Feb 2006
    Location
    Australia
    Posts
    10

    Default

    Just to expand on those:

    "Servers having multiple net_ports":
    For some reason that I haven't managed to find yet, tv_port variables get translated into net_port variables. It seems that between 0.7.1 and 0.7.2 you have changed the behaviour of tv_port to load from the server.cfg instead of the .launchrc, however the CPGS daemon still assigns this variable in the set_default_configs sub (in cstrikesrc.pm):
    Code:
    	if(open(LAUNCHRC,'>',"$dir/.launchrc")) {
    		print LAUNCHRC "net_ip $defip\n";
    		print LAUNCHRC "game cstrike\n";
    		print LAUNCHRC "defmap cs_office\n";
    		print LAUNCHRC "net_port $lowport\n";
    		print LAUNCHRC "autoupdate 0\n";
    		print LAUNCHRC "maxplayers $maxc\n";
    		print LAUNCHRC "tv_enable 0\n";
    		print LAUNCHRC "tv_port \n";
    		close(LAUNCHRC);
    	}
    When this changes to "net_port " by whatever does that, it results in a blank display in the port variable on the client's GameServ page. We've remedied this simply by removing that line that I've made large.

    "GameServ Restart Script is broken"
    My perl abilities aren't the greatest, but from my understanding the restartserver sub in the cpgsd.pl daemon wasn't updated to handle the new format of the startserver sub. Either way, this results in the following error in /var/log/cpgsd:
    Code:
    [Sun Dec 13 12:10:01 2009] user(root) Line(3842) Warning from decode_base64 (main,./cpgsd.pl,1098): insomniacod401 not a multiple of 4
    If I run a restartserver command manually through the cpgs_comm script, this results in a successful server stop output, but absolutely no output after that (other than that line in the cpgsd log file).

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

    Default

    Weird, the restart issue should have been broken in 0.7.1 too. I've got it fixed now and am looking into the tv_port issue and will put out a release as soon as I can and let you know.
    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

  4. #4
    Member
    Join Date
    Sep 2003
    Posts
    199

    Default

    CoD4 won't start but ut2004 does. I changed nothing since upgrade.

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

    Default

    Letstat - send in a ticket for me about the CoD4 issue, it's working on my end so I'm not sure what could be broken.

    Jayso89,omgwtfbbqhax - Take the tv_port line out of the .launchrc for now, I'm looking into why it's causing that effect still.
    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

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

    Default

    I just put up 0.7.2-0.0.1 with the fixes for restarting games and hopefully for the *_port issue, you'll still need to remove the tv_port in .launchrc, but it shouldn't show up again or cause a problem if it does. Also anyone with l4d install issues, make sure you download the latest package from http://cpgs.network3.net/l4d.cpgs as it has the new directory structure built in needed for automatic updates to work.
    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
    Feb 2006
    Location
    Australia
    Posts
    10

    Default

    Quote Originally Posted by darren View Post
    I just put up 0.7.2-0.0.1 with the fixes for restarting games and hopefully for the *_port issue, you'll still need to remove the tv_port in .launchrc, but it shouldn't show up again or cause a problem if it does. Also anyone with l4d install issues, make sure you download the latest package from http://cpgs.network3.net/l4d.cpgs as it has the new directory structure built in needed for automatic updates to work.
    Thankyou a lot - I forgot to mention that l4d problem!
    Jayson

  8. #8
    Member
    Join Date
    Aug 2006
    Posts
    67
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I've also noticed the last few days that the Game Index directory (/frontend/x3/gameserv/index.html in our case) is displaying SourceTV information rather than Counter-Strike: Source information for us

    Code:
    #	Server Name			Server IP  			Players  	Current Map  		Uptime
    0	AusNetServers.com.au TV		118.127.16.189:30020		0/15		de_dust2		7:16
    Rather than showing our Server Information (Port 27020 in this case)

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

    Default

    Can you put in a ticket about the cstrike/srctv stat issue ? I might know what it is but if it's reproducible on your machine that'd help a lot verifying my suspicion.
    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. CPanel Issues - Paginate Errors in Log?
    By wicada in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-04-2010, 09:41 AM
  2. Dns Errors / Service Monitor Errors
    By GravityRainbow in forum New User Questions
    Replies: 1
    Last Post: 06-20-2005, 11:33 PM
  3. MDcheck sum errors and corrupt file issues during upcp
    By mr.wonderful in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-23-2005, 08:11 AM
  4. High load issues causing regular performance issues
    By K_aneda in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-27-2004, 06:28 AM
  5. cpanel mailman errors and issues
    By Sheldon in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-26-2004, 01:01 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube