I installed a build agent on Windows 7 and always have the agent show up as \"disconnected\". The log teamcity-agent.txt shows below information
If this is the
In my case under Windows 8 Professional:
TC build agent upgrade failed
I checked out BuildAgent\logs\teamcity-agent.log
, there was trouble with the "upgrade process".
I checked out BuildAgent\logs\upgrade.log
, there were more detailed "DEBUG" messages. The problem was "access denied" on shutting down service.
I added the user account of the TC server service to "Administrators" to let it stop the agent service.
I removed the user account of the TC server service from "Administrators" user group.
Restarting both service (TC server + Agent) led finally to have:
BuildAgent\logs\buildAgent.port
file: the agent was finally connected after successfull.