Database error after server machine hosting TC crashed

The server machine that host my Teamcity Server crashed and now when I start up TC I get the following error below. How can I resolve it?

An error was encountered during TeamCity server startup

Attempt to start more than one TeamCity server connected to the same database.

Stacktrace copied!

jetbrains.buildServer.serverSide.db.SecondTeamCityInstanceException:  Attempt to start more than one TeamCity server connected to the same  database.

   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.lock(TeamCityDatabaseManager.java:338)

   at  jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerInternal(TeamCityDispatcherServlet.java:173)

   at  jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processStartupServerSafe(TeamCityDispatcherServlet.java:287)

   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$400(TeamCityDispatcherServlet.java:210)

   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$5.run(TeamCityDispatcherServlet.java:1)

   at java.lang.Thread.run(Thread.java:619)

3 comments
Comment actions Permalink

Hi Paul

This error usually means two TeamCity instances are started in parallel. Evaluate running processes.

0
Comment actions Permalink

It that doesn't help, please tell me

  • your TeamCity version
  • OS
  • Database type and version
  • setup type (exe/gz/war)


Thanks

0
Comment actions Permalink

All the processes were not killed, the problem is resolved.

0

Please sign in to leave a comment.