TEAMCITY SERVER CRASH

     please help with this. Server is down and need it back up.

TeamCity Server Startup Error

An error was encountered during TeamCity server startup

Unexpected exception SQLException: SQL error when doing: Connecting to HSQL
SQL exception: File input/output error
jetbrains.buildServer.serverSide.db.UnexpectedDBException: Unexpected exception SQLException: SQL error when doing: Connecting to HSQL
SQL exception: File input/output error
   at org.hsqldb.jdbc.Util.sqlException(Util.java:63)
   at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2430)
   at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:183)
   at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:161)
   at jetbrains.buildServer.serverSide.db.jdbcLoader.JdbcDataSource.getConnection(JdbcDataSource.java:47)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.connect(TeamCityDatabaseManager.java:219)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.setupAndConnectToDB(TeamCityDispatcherServlet.java:545)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.tryToUseDB(TeamCityDispatcherServlet.java:24)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.performOneAttempt(TeamCityDispatcherServlet.java:325)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processServerStartup(TeamCityDispatcherServlet.java:439)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$000(TeamCityDispatcherServlet.java:538)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$1.run(TeamCityDispatcherServlet.java:3)
   at java.lang.Thread.run(Thread.java:662)
caused by: java.sql.SQLException: File input/output error
   at org.hsqldb.jdbc.Util.sqlException(Util.java:63)
   at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2430)
   at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:183)
   at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:161)
   at jetbrains.buildServer.serverSide.db.jdbcLoader.JdbcDataSource.getConnection(JdbcDataSource.java:47)
   at jetbrains.buildServer.serverSide.db.TeamCityDatabaseManager.connect(TeamCityDatabaseManager.java:219)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.setupAndConnectToDB(TeamCityDispatcherServlet.java:545)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.tryToUseDB(TeamCityDispatcherServlet.java:24)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.performOneAttempt(TeamCityDispatcherServlet.java:325)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.processServerStartup(TeamCityDispatcherServlet.java:439)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.access$000(TeamCityDispatcherServlet.java:538)
   at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet$1.run(TeamCityDispatcherServlet.java:3)
   at java.lang.Thread.run(Thread.java:662)
1 comment
Comment actions Permalink

HSQLDB data files are stored in <TeamCity Data>\system\ directory. By some reason TeamCity process cannot access them - because they are missing, locked or got corrupted.

Here are instructions how to check file integrity using native HSQLDB tools: http://devnet.jetbrains.net/message/5442861

0

Please sign in to leave a comment.