Linux – Teamcity build agent in a disconnected state

Teamcity build agent in a disconnected state… here is a solution to the problem.

Teamcity build agent in a disconnected state

I run teamcity on a Linux server and it works fine. Once I restarted the server machine, it stopped working. I managed to start the teamcity server with the runAll.sh command, but the build agent remains in a “disconnected” state. The reason for inactivity is displayed as Server Down. I tried launching the agent with “agent.sh stop” and “agent.sh start” but it doesn’t seem to work. Unable to get any meaningful information from the logs.

Please help.

Thanks

Solution

If you modified the teamcity port, you need to change the build proxy configuration file to reflect the new serverUrl value. You can find this setting in the C:\TeamCity\buildAgent\conf\buildAgent.properties file.

Related Problems and Solutions