Startup Issue with Team Fortress 2 - New TF2 server startup fails at "State: 3"

System Information

Field Value
Operating System Linux - Ubuntu 24.04.1 on x86_64
Product AMP ‘Phobos’ v2.6.0.6 (Mainline)
Virtualization None
Application Team Fortress 2
Module GenericModule
Running in Container No
Current State Failed

Problem Description

Issue

I am trying to configure my first TF2 server instance. The instance installs / updates TF2 without issue, but fails to start. I assume I’m missing some basic step… I tried searching, but was unable to locate an answer. Thanks for the assist!!

Reproduction Steps

  • Create new TF2 server instance
  • Update instance. Downloaded and completed successfully.
  • Change NIC binding to specific IP address and interface
  • Attempt to start server. Failure

I believe this is related to this issue: AMP Does Not Automatically Open Firewall Ports for New Instances

I’m having the same issue–all new and existing servers are broken after a restart of the host. Firewall rules are not being correctly applied by AMP. Manually add the required ports for your instance using UFW for the time being and things will likely start working.

Post logs - right click, view logs

Thanks for the replies!

UFW is inactive on my server, so I don’t think that is the issue…

@Greenlan - where are you requesting I right click to view logs?

On the instance tile at the main instances screen

Thanks! Didn’t know about that option and the logs directory. I’m seeing this over and over. I confirmed that the Server IP Address is bound to an interface with IP address, and I also confirmed the Console Passthru IP Binding is set to an interface with IP address.

[22:20:48] [System Error/65]      : Source RCON failed to connect:
Connection refused.
[22:20:48] [RCON Info/74]         : Source RCON disconnecting...
[22:20:49] [RCON Info/74]         : Source RCON disconnected
[22:20:51] [Generic:admin Info/62] : Merging config file ./tf2/232250/tf/cfg/server.cfg (Template) using Unicode (UTF-8) encoding.
[22:20:51] [Generic:admin Info/62] : Writing config file ./tf2/232250/tf/cfg/mapcycle.txt using Unicode (UTF-8) encoding.
[22:20:53] [System:admin Error/62] : Source RCON failed to connect:
Connection refused.
[22:20:53] [RCON:admin Info/74]   : Source RCON disconnecting...
[22:20:54] [RCON:admin Info/74]   : Source RCON disconnected
[22:20:58] [System Error/61]      : Source RCON failed to connect:
Connection refused.
[22:20:58] [RCON Info/45]         : Source RCON disconnecting...
[22:20:59] [Core:admin Activity/61] : Starting the application.
[22:20:59] [Generic:admin Info/61] : Merging config file ./tf2/232250/tf/cfg/server.cfg (Template) using Unicode (UTF-8) encoding.
[22:20:59] [Generic:admin Info/61] : Writing config file ./tf2/232250/tf/cfg/mapcycle.txt using Unicode (UTF-8) encoding.
[22:20:59] [RCON Info/45]         : Source RCON disconnected
[22:21:03] [System:admin Error/62] : Source RCON failed to connect:
Connection refused.
[22:21:03] [RCON:admin Info/61]   : Source RCON disconnecting...
[22:21:04] [System:admin Error/62] : Source RCON is disconnecting, not connecting...
[22:21:04] [RCON:admin Info/61]   : Source RCON disconnected
[22:21:04] [System:admin Warning/45] : The application stopped unexpectedly. Exit code 139
[22:21:07] [Generic:admin Info/61] : Merging config file ./tf2/232250/tf/cfg/server.cfg (Template) using Unicode (UTF-8) encoding.
[22:21:07] [Generic:admin Info/61] : Writing config file ./tf2/232250/tf/cfg/mapcycle.txt using Unicode (UTF-8) encoding.
[22:21:08] [System Error/45]      : Source RCON failed to connect:
Connection refused.
[22:21:08] [RCON Info/45]         : Source RCON disconnecting...
[22:21:09] [System:admin Error/62] : Source RCON failed to connect:
Connection refused.
[22:21:09] [RCON Info/45]         : Source RCON disconnected
[22:21:13] [System:admin Warning/62] : The application stopped unexpectedly. Exit code 139
[22:21:13] [System:admin Warning/62] : Application failed to start 2 times, not restarting.

Search for “Remote Admin Password” in the instance and generate a new one. Then restart the server

The passthru settings are irrelevant

I generated a new password and restarted the server. Same issue. I then restarted the instance. This triggered the steamcmd update process which completed successfully, but then the same failure occurred. Are there other logs I can gather for you? Anything else I can try? Thanks for the help!

[14:45:20] [System Error/3] : Source RCON failed to connect:
Connection refused.
[14:45:20] [RCON Info/36] : Source RCON disconnecting…
[14:45:21] [RCON Info/36] : Source RCON disconnected
[14:45:23] [API:admin Activity/18] : Protected setting GenericModule.App.RemoteAdminPassword changed.
[14:45:25] [System:admin Error/18] : Source RCON failed to connect:
Connection refused.
[14:45:25] [RCON:admin Info/36] : Source RCON disconnecting…
[14:45:26] [RCON:admin Info/36] : Source RCON disconnected
[14:45:30] [System Error/36] : Source RCON failed to connect:
Connection refused.
[14:45:30] [RCON Info/18] : Source RCON disconnecting…
[14:45:31] [RCON Info/18] : Source RCON disconnected
[14:45:35] [System:admin Error/36] : Source RCON failed to connect:
Connection refused.
[14:45:35] [RCON:admin Info/17] : Source RCON disconnecting…
[14:45:36] [RCON:admin Info/17] : Source RCON disconnected
[14:45:40] [System Error/17] : Source RCON failed to connect:
Connection refused.
[14:45:40] [RCON Info/36] : Source RCON disconnecting…
[14:45:41] [RCON Info/36] : Source RCON disconnected
[14:45:42] [Core:admin Activity/36] : Starting the application.
[14:45:42] [Generic:admin Info/36] : Merging config file ./tf2/232250/tf/cfg/server.cfg (Template) using Unicode (UTF-8) encoding.
[14:45:42] [Generic:admin Info/36] : Writing config file ./tf2/232250/tf/cfg/mapcycle.txt using Unicode (UTF-8) encoding.
[14:45:45] [System:admin Error/17] : Source RCON failed to connect:
Connection refused.
[14:45:45] [RCON:admin Info/3] : Source RCON disconnecting…
[14:45:46] [RCON:admin Info/3] : Source RCON disconnected
[14:45:47] [System:admin Warning/17] : The application stopped unexpectedly. Exit code 139
[14:45:50] [System Error/11] : Source RCON failed to connect:
Connection refused.
[14:45:50] [Generic:admin Info/17] : Merging config file ./tf2/232250/tf/cfg/server.cfg (Template) using Unicode (UTF-8) encoding.
[14:45:50] [Generic:admin Info/17] : Writing config file ./tf2/232250/tf/cfg/mapcycle.txt using Unicode (UTF-8) encoding.
[14:45:56] [System:admin Warning/11] : The application stopped unexpectedly. Exit code 139
[14:45:56] [System:admin Warning/11] : Application failed to start 2 times, not restarting.
[14:46:00] [System:admin Error/3] : Source RCON failed to connect:
Connection refused.
[14:46:00] [RCON:admin Info/11] : Source RCON disconnecting…
[14:46:01] [RCON:admin Info/11] : Source RCON disconnected
[14:46:06] [System:admin Error/3] : Source RCON failed to connect:
Connection refused.
[14:46:06] [RCON:admin Info/3] : Source RCON disconnecting…
[14:46:07] [RCON:admin Info/3] : Source RCON disconnected
[14:46:12] [System:admin Error/3] : Source RCON failed to connect:
Connection refused.
[14:46:12] [RCON:admin Info/3] : Source RCON disconnecting…
[14:46:13] [RCON:admin Info/3] : Source RCON disconnected
[14:46:18] [System:admin Error/3] : Source RCON failed to connect:
Connection refused.
[14:46:18] [RCON:admin Info/3] : Source RCON disconnecting…
[14:46:19] [RCON:admin Info/3] : Source RCON disconnected
[14:46:24] [System:admin Error/36] : Source RCON failed to connect:
Connection refused.
[14:46:24] [RCON:admin Info/36] : Source RCON disconnecting…
[14:46:25] [RCON:admin Info/36] : Source RCON disconnected
[14:46:30] [System:admin Error/17] : Source RCON failed to connect:
Connection refused.
[14:46:30] [RCON:admin Info/17] : Source RCON disconnecting…
[14:46:31] [RCON:admin Info/17] : Source RCON disconnected
[14:46:36] [System:admin Error/17] : Source RCON failed to connect:
Connection refused.
[14:46:36] [RCON:admin Info/17] : Source RCON disconnecting…
[14:46:37] [RCON:admin Info/17] : Source RCON disconnected
[14:46:42] [System:admin Error/10] : Source RCON failed to connect:
Connection refused.
[14:46:42] [RCON:admin Info/17] : Source RCON disconnecting…
[14:46:43] [RCON:admin Info/17] : Source RCON disconnected
[14:46:48] [System:admin Error/17] : Source RCON failed to connect:
Connection refused.
[14:46:48] [RCON:admin Info/17] : Source RCON disconnecting…
[14:46:49] [RCON:admin Info/17] : Source RCON disconnected

Are you running this on a bare metal system, or VPS, or Proxmox, or what?

Very good question. I am running Ubuntu Server hosted within Proxmox which is installed on the bare metal system.

Make sure the CPU mode for the VM in Proxmox is set to Host

I confirmed ProxMox CPU was already set to Host

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.