Teamcity server start is not starting

I am getting the bellow error from the log file. I did not get any other details 

Thu 12/05/2024 17:12:10.89 Starting TeamCity server 
Thu 12/05/2024 17:12:14.25 Server exited unexpectedly with code 0 and will be restarted 
Thu 12/05/2024 17:12:14.26 Starting TeamCity server 
Thu 12/05/2024 17:12:17.79 Server exited unexpectedly with code 0 and will be restarted 
Thu 12/05/2024 17:12:17.79 Starting TeamCity server 
Thu 12/05/2024 17:12:21.26 Server exited unexpectedly with code 0 and restart limit (3) is reached 

0
2 comments

[2024-12-05 17:37:47,514] console                           [Info] Starting TeamCity server
[2024-12-05 17:37:47,514] console                           [Info] Looking for installed Java...
[2024-12-05 17:37:48,810] console                           [Info] Java executable is found: 'c:\TeamCity\jre\bin\java.exe'
[2024-12-05 17:37:48,913] console                           [Info] Using CATALINA_BASE:   "c:\TeamCity\bin\.."
[2024-12-05 17:37:48,913] console                           [Info] Using CATALINA_HOME:   "c:\TeamCity\bin\.."
[2024-12-05 17:37:48,913] console                           [Info] Using CATALINA_TMPDIR: "c:\TeamCity\bin\..\temp"
[2024-12-05 17:37:48,913] console                           [Info] Using JRE_HOME:        "c:\TeamCity\jre"
[2024-12-05 17:37:48,913] console                           [Info] Using CLASSPATH:       "c:\TeamCity\bin\..\bin\bootstrap.jar;c:\TeamCity\bin\..\bin\tomcat-juli.jar"
[2024-12-05 17:37:48,913] console                           [Info] Using CATALINA_OPTS:   " -server -Xrs -Xmx1024m -Dteamcity.configuration.path=../conf/teamcity-startup.properties -Dlog4j2.configurationFile=file:../conf/teamcity-server-log4j.xml "-Dteamcity_logs=c:\TeamCity\bin\..\logs""
[2024-12-05 17:37:48,913] console                           [Info] NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
[2024-12-05 17:37:52,464] ProcessCommand                    [Info] Process exited with code: 0
[2024-12-05 17:37:52,540] console                           [Info] Server exited unexpectedly with code 0 and restart limit (3) is reached
[2024-12-05 17:37:52,540] ServiceExecuteProcessTask        [Error] Service process exited without service stop request

0
Hi,

The log indicates that your TeamCity server started successfully but exited unexpectedly with an exit code 0

Here are possible reasons and steps to investigate further:

- Examine teamcity-server.log for detailed errors. (https://www.jetbrains.com/help/teamcity/teamcity-server-logs.html)
- Increase JVM heap size for better memory management. (https://www.jetbrains.com/help/teamcity/server-startup-properties.html#JVM+Options)
- Ensure that sufficient disk space is available for TeamCity logs, temp files, and artifacts. Lack of space could cause the server to terminate.

- Ensure that no files in the conf or lib directories are corrupted.
   Compare with a fresh TeamCity installation if necessary.

If unresolved, share additional logs or specific error messages for further diagnosis.

Files can be uploaded via https://uploads.jetbrains.com/. Please let us know the exact id after the upload.
0

Please sign in to leave a comment.