Results 1 to 11 of 11

Thread: [TF2] Changing map crashes server

  1. #1
    Registered Member
    Join Date
    Jan 2006
    Posts
    29

    Exclamation [TF2] Changing map crashes server

    Hello,

    I am using cPGS to run a small gaming community and I am running across an odd problem where changing the map to my TF2 server brings the server offline. It's very odd and I have not been able to discover why it does that.

    Has anyone experienced this or know why this would be happening? I am using the latest release on a CentOS 5.3 64-bit box. It's a dedicated server not a VPS. Thanks for any assistance.

  2. #2
    Registered Member
    Join Date
    Jan 2006
    Posts
    29

    Default

    Just as an update for anyone experiencing the same problem. If you have Configserv Firewall installed, disable it. It causes way too many problems with the ports used from VAC to changing maps. Once disabling it I was able to change maps just fine.

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

    Default

    Interesting, this is the 3rd such case I've seen about TF2 with crashing maps. The first time I looked at it I was unable to find out what was causing it. The second case I looked into showed it seemed to be a bad plugin/mod from either sourcemod or amxmod. If the firewall is the case here, then it seems there is yet another culprit possible. Thanks for letting us know what you did to fix it so others with the same issue will know to take a look at it when troubleshooting.
    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
    Registered Member RasterMan's Avatar
    Join Date
    Mar 2009
    Location
    Luton, UK
    Posts
    96

    Default

    I sometimes run a TF2 server & I have not had any problems running it with Configserv Firewall! I use centos 5.3 32 bit as 64 bit isn't recommended by most game hosters.

  5. #5
    Registered Member
    Join Date
    Jan 2006
    Posts
    29

    Default

    I must have missed a few ports, and I have no problems running any of the servers on a 64-bit system. I opened up all the ports recommended on the forums, but the quickest solution was to disable it until I can find the cause. If there is a better list we can use of ports to open I would appreciate a link.

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

    Default

    jljr222 - Some of the ports are assigned dynamically I think. Find the PID of the game server process then on the shell as root via SSH, run lsof against it to see what all it has open, like if the TF2 server was running with pid 4173, run `lsof -Pnp 4173 |grep IP` on the shell and it should show you all the ports, both TCP and UDP that the server process is listening on. Other connections may be made client-style, where it's not acting as a server but connecting out to the remote stats/auth servers and failure there could be triggering the problem. To find those you'd need to use tcpdump/ngrep or strace the process while it made the connections.
    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
    Registered Member
    Join Date
    Jan 2006
    Posts
    29

    Default

    Thanks for the info darren, but it appears I was wrong. The CSF fixed my problem with the server crashing from running map changes through HLSW. However, after the conclusion of a map vote or map change the server crashes while switching maps. It does it every time on any map. This is a serious issues for me, has anyone else experienced this before?

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

    Default

    Are there any mods installed on the server ? If not, put in a ticket for me, I'd like to see if I can narrow it down some more.
    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

  9. #9
    Registered Member
    Join Date
    Jan 2006
    Posts
    29

    Default

    Sorry darren, been all types of busy. The server has SourceMod and Metamod running with SourceBans. That's it and I have other servers (non-TF2 servers) running the same exact configuration.

    Something odd I also notice is that our server never changes maps, it stays on the default map and never rotates to what I have specified int he mapcycle. Should I put in a ticket?

  10. #10
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,957

    Default

    jljr222 - Can you verify the server crash on map change happens without any mods installed, just the plain vanilla server install ?
    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

  11. #11
    Registered Member
    Join Date
    Aug 2006
    Posts
    67
    cPanel/WHM Access Level

    Root Administrator

    Default

    jljr222, have you had a look at the log files when the server goes down to see if you can work out if its server related, or box related, usually, if the server goes down when changing maps, it's due to server side errors (addons etc) or Valve (master servers going down, vac server down, etc).

Similar Threads

  1. TF2 server Autoupdate [yes] server never reloads
    By fantome2024 in forum cPGS Discussions
    Replies: 1
    Last Post: 02-17-2010, 05:23 PM
  2. Can't run more than one tf2 server at one?
    By alpha2x in forum cPGS Discussions
    Replies: 4
    Last Post: 07-05-2009, 04:36 PM
  3. Replies: 2
    Last Post: 02-23-2007, 03:24 PM
  4. Server crashes.
    By moogle in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 09-02-2003, 02:11 PM
bargain