Mac: Agent not autostarting
I followed instructions from http://www.jetbrains.net/confluence/display/TCD4/Setting+up+and+Running+Additional+Build+Agents, but now after reboot my agent is not available. How to debug, there's no entries in the logfile after reboot..?
Actually, there is no /Library/LaunchDaemons folder on my system, but only /Library/LaunchAgents (Mac OSX 10.5.6)
Please sign in to leave a comment.
Hello Yann,
If /Library/LaunchDaemons doesn't exist, please create it. If the script is placed to /Library/LaunchAgents, it won't work.
To debug, please make sure that jetbrains.teamcity.BuildAgent.plist file contains correct WorkingDirectory setting - it should point out to build agent home, like /Users/teamcity/TeamCity/buildAgent
Log files can be found as buildAgent/logs/launchd.*
Please also check that TeamCity's service is loaded via 'launchctl list |grep teamcity' command.
Hope this helps,
KIR
Hello Kirill,
thanks for your answer.
Documentation should probably be updated w/r to /Library/Launch*-dirs (I created it and put .plist there).
Other settings you mentioned are all fine.. I will monitor it the next days.
Regards,
Yann
I've corrected docs, thanks!
I've opened http://jetbrains.net/tracker/issue2/TW-8212 for this.