TeamCity build agent disconnected

前端 未结 7 1646
无人及你
无人及你 2021-02-03 19:16

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          


        
7条回答
  •  春和景丽
    2021-02-03 19:56

    In my case under Windows 8 Professional:

    TC build agent upgrade failed

    1. I checked out BuildAgent\logs\teamcity-agent.log, there was trouble with the "upgrade process".

    2. I checked out BuildAgent\logs\upgrade.log, there were more detailed "DEBUG" messages. The problem was "access denied" on shutting down service.

    3. I added the user account of the TC server service to "Administrators" to let it stop the agent service.

    4. I removed the user account of the TC server service from "Administrators" user group.

    5. Restarting both service (TC server + Agent) led finally to have:

      BuildAgent\logs\buildAgent.port
      

      file: the agent was finally connected after successfull.

提交回复
热议问题