Mar 23 08:11:04 ip-192-168-0-10 teamcity_server: Unable to locate agent port file: /opt/jetbrains/teamcity/buildAgent/logs/buildAgent.xmlRpcPort Mar 23 08:11:04 ip-192-168-0-10 teamcity_server: Received stop command from console. Mar 23 08:11:03 ip-192-168-0-10 teamcity_server: Agent home directory is /opt/jetbrains/teamcity/buildAgent ![]() Mar 23 08:11:03 ip-192-168-0-10 teamcity_server: Starting TeamCity Build Agent Launcher. Mar 23 08:10:56 ip-192-168-0-10 teamcity_server: PID file found but either no matching process was found or the current user does not have permission to stop the process. Mar 23 08:10:55 ip-192-168-0-10 teamcity_server: Removing lock file so server won't automatically restart Mar 23 08:10:54 ip-192-168-0-10 teamcity_server: Done, see log at /opt/jetbrains/teamcity/buildAgent/logs/teamcity-agent.log Mar 23 08:10:54 ip-192-168-0-10 teamcity_server: Agent Launcher Java runtime version is 1.8 Mar 23 08:10:54 ip-192-168-0-10 teamcity_server: Agent home directory is /opt/jetbrains/teamcity/buildAgent Mar 23 08:10:54 ip-192-168-0-10 teamcity_server: Starting TeamCity Build Agent Launcher. Mar 23 08:10:51 ip-192-168-0-10 teamcity_server: Spawning TeamCity restarter in separate process When I do journalctl -f I see in the logs: Mar 23 08:10:51 ip-192-168-0-10 systemd: Started TeamCity Server. When I do the above I see nothing in the logs in /logs/. #Environment=CATALINA_PID=/opt/jetbrains/teamcity/bin/./logs/teamcity.pidĮxecStart=/opt/jetbrains/teamcity/bin/runAll.sh startĮxecStop=/opt/jetbrains/teamcity/bin/runAll.sh stop My systemd file looks like thisĮnvironment=TEAMCITY_DATA_PATH=/var/jetbrains/application-data/teamcity/Įnvironment=TEAMCITY_DIR=/opt/jetbrains/teamcity/Įnvironment=TEAMCITY_SERVER_OPTS=true However if I try to start it with systemd then it fails. Lock file: /opt/jetbrains/teamcity/buildAgent/logs/ Starting TeamCity Build Agent Launcher.Īgent home directory is /opt/jetbrains/teamcity/buildAgentĪgent Launcher Java runtime version is 1.8 ![]() Java executable is found: '/usr/java/latest/bin/java' TeamCity restarter running with PID 257045 Spawning TeamCity restarter in separate process Then there is no issue and it works system]# /opt/jetbrains/teamcity/bin/runAll.sh start When I try it by doing /opt/jetbrains/teamcity/bin/runAll.sh start I am trying to start teamcity with systemd.
0 Comments
Leave a Reply. |