error copia server

simplementese6 years ago

Good day, I have a server running perfectly on windows server.
Make a copy of the disc and pick it up in another vps, all ok.
Unless the traccar service starts and stops, I think the error is this.

2018-12-03 15:30:13  INFO: Operating system name: Windows Server 2008 R2 version: 6.1 architecture: amd64
2018-12-03 15:30:13  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.181-b13
2018-12-03 15:30:13  INFO: Memory limit heap: 123mb non-heap: 0mb
2018-12-03 15:30:13  INFO: Character encoding: UTF-8 charset: UTF-8
2018-12-03 15:30:13  INFO: Version: 4.0-SNAPSHOT
2018-11-21 11:56:38  INFO: HikariPool-1 - Starting...
2018-11-21 11:56:40 ERROR: HikariPool-1 - Exception during pool initialization. - File corrupted while reading record: null. Possible solution: use the recovery tool [90030-197] - JdbcSQLException (... < DataManager:139 < *:89 < Context:382 < Main:110 < ...)
2018-11-21 11:56:40 ERROR: Main method error - Failed to initialize pool: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-197] - PoolInitializationException (... < DataManager:139 < *:89 < Context:382 < Main:110 < ...)
2018-12-03 15:42:42  INFO: HikariPool-1 - Starting...
2018-12-03 15:42:44 ERROR: HikariPool-1 - Exception during pool initialization. - File corrupted while reading record: null. Possible solution: use the recovery tool [90030-197] - JdbcSQLException (... < DataManager:139 < *:89 < Context:382 < Main:110 < ...)
2018-12-03 15:42:44 ERROR: Main method error - Failed to initialize pool: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-197] - PoolInitializationException (... < DataManager:139 < *:89 < Context:382 < Main:110 < ...)
2018-12-03 15:43:14  INFO: HikariPool-1 - Starting...
2018-12-03 15:43:15 ERROR: HikariPool-1 - Exception during pool initialization. - File corrupted while reading record: null. Possible solution: use the recovery tool [90030-197] - JdbcSQLException (... < DataManager:139 < *:89 < Context:382 < Main:110 < ...)
2018-12-03 15:43:15 ERROR: Main method error - Failed to initialize pool: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-197] - PoolInitializationException (... < DataManager:139 < *:89 < Context:382 < Main:110 < ...)
2018-11-21 12:06:52  INFO: HikariPool-1 - Starting...
Anton Tananaev6 years ago

The error is pretty self-explanatory. Your database file is corrupted. That's why we recommend to use MySQL or some other database instead of default H2.