Hi Anton
I'm changing server to a windows server 2012. When I start windows, the Traccar service doesn't start automatically. Even if I start the service from Windows Services, I have to open the log file first for Traccar to run. I already try reinstalling with another Traccar version but the problem remains.
Can u help me?
This is the log from the last Windows restart:
2020-07-24 20:43:34 INFO: [e27eb405] disconnected
2020-07-24 20:43:41 INFO: [5c13740a] disconnected
2020-07-24 21:00:15 INFO: HikariPool-1 - Starting...
2020-07-24 21:00:22 INFO: HikariPool-1 - Start completed.
2020-07-24 21:00:29 INFO: Clearing database change log checksums
2020-07-24 21:00:30 INFO: SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOGLOCK
2020-07-24 21:00:30 INFO: SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOGLOCK
2020-07-24 21:00:31 INFO: SELECT LOCKED FROM PUBLIC.DATABASECHANGELOGLOCK WHERE ID=1
2020-07-24 21:00:31 INFO: Successfully acquired change log lock
2020-07-24 21:00:32 INFO: SELECT MD5SUM FROM PUBLIC.DATABASECHANGELOG WHERE MD5SUM IS NOT NULL
2020-07-24 21:00:32 INFO: UPDATE PUBLIC.DATABASECHANGELOG SET MD5SUM = NULL
2020-07-24 21:00:32 INFO: Successfully released change log lock
2020-07-24 21:00:32 INFO: SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOGLOCK
2020-07-24 21:00:32 INFO: SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOGLOCK
2020-07-24 21:00:32 INFO: SELECT LOCKED FROM PUBLIC.DATABASECHANGELOGLOCK WHERE ID=1
2020-07-24 21:00:32 INFO: Successfully acquired change log lock
2020-07-24 21:00:33 INFO: Can not use class liquibase.parser.core.yaml.YamlChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
2020-07-24 21:00:33 INFO: Can not use class liquibase.parser.core.json.JsonChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
2020-07-24 21:00:43 INFO: SELECT MD5SUM FROM PUBLIC.DATABASECHANGELOG WHERE MD5SUM IS NOT NULL
2020-07-24 21:00:43 INFO: SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOG
2020-07-24 21:00:43 INFO: Reading from PUBLIC.DATABASECHANGELOG
2020-07-24 21:00:43 INFO: SELECT * FROM PUBLIC.DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
2020-07-24 21:00:44 INFO: UPDATE PUBLIC.DATABASECHANGELOG SET MD5SUM = '8:d59fa93049c031a8bcfbc02958c1942c' WHERE ID = 'changelog-4.0-clean' AND AUTHOR = 'author' AND FILENAME = 'changelog-4.0-clean'
2020-07-24 21:00:44 INFO: UPDATE PUBLIC.DATABASECHANGELOG SET MD5SUM = '8:1adabae3238e02ccc97cc422359a58a0' WHERE ID = 'changelog-4.0-clean-common' AND AUTHOR = 'author' AND FILENAME = 'changelog-4.0-clean'
2020-07-24 21:00:44 INFO: UPDATE PUBLIC.DATABASECHANGELOG SET MD5SUM = '8:ea6f202534dc7845fd1a49e1d8384d9c' WHERE ID = 'changelog-3.3' AND AUTHOR = 'author' AND FILENAME = 'changelog-3.3'
...
2020-07-24 21:00:45 INFO: UPDATE PUBLIC.DATABASECHANGELOG SET MD5SUM = '8:805ef202791dcc246373ca16f7c19c4f' WHERE ID = 'changelog-4.9' AND AUTHOR = 'author' AND FILENAME = 'changelog-4.9'
2020-07-24 21:00:45 INFO: SELECT COUNT(*) FROM PUBLIC.DATABASECHANGELOG
2020-07-24 21:00:45 INFO: Reading from PUBLIC.DATABASECHANGELOG
2020-07-24 21:00:45 INFO: SELECT * FROM PUBLIC.DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC
2020-07-24 21:00:45 INFO: Successfully released change log lock
2020-07-24 21:00:48 INFO: Logging initialized @47605ms to org.eclipse.jetty.util.log.Slf4jLog
2020-07-24 21:00:57 INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
2020-07-24 21:01:12 INFO: Operating system name: Windows Server 2012 R2 version: 6.3 architecture: amd64
2020-07-24 21:01:12 INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 11.0.6+10-LTS
2020-07-24 21:01:12 INFO: Memory limit heap: 2046mb non-heap: 0mb
2020-07-24 21:01:12 INFO: Character encoding: Cp1252 charset: windows-1252
2020-07-24 21:01:12 INFO: Version: 4.9
2020-07-24 21:01:12 INFO: Starting server...
2020-07-24 21:01:17 INFO: jetty-9.4.30.v20200611; built: 2020-06-11T12:34:51.929Z; git: 271836e4c1f4612f12b7bb13ef5a92a927634b0d; jvm 11.0.6+10-LTS
2020-07-24 21:01:18 INFO: Started o.t.w.@6db636e3{/,null,AVAILABLE}
2020-07-24 21:01:18 INFO: DefaultSessionIdManager workerName=node0
2020-07-24 21:01:18 INFO: No SessionScavenger set, using defaults
2020-07-24 21:01:18 INFO: node0 Scavenging every 600000ms
2020-07-24 21:01:23 INFO: [daf2a13f] connected
2020-07-24 21:01:24 INFO: [daf2a13f: osmand < 189.154.57.87] HEX: 504f5354202f3f69643d363235313232383131312674696d657374616d703d31353935363435323132266c61743d32382e33393634343835266c6f6e3d2d3130362e383637383035352673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d3530302e3026626174743d35362e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f69642031303b204d69204132204c697465204275696c642f514b51312e3139313030322e303032290d0a486f73743a20796272756f702e64796e646e732e6f72673a35303535310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2020-07-24 21:01:24 INFO: [daf2a13f: osmand > 189.154.57.87] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2020-07-24 21:01:25 INFO: [7e3ac7cd] connected
2020-07-24 21:01:25 INFO: [daf2a13f] id: 6251228111, time: 2020-07-24 20:46:52, lat: 28.39645, lon: -106.86781, course: 0.0, accuracy: 500.0
2020-07-24 21:01:25 INFO: [daf2a13f: osmand < 189.154.57.87] HEX: 504f5354202f3f69643d363235313232383131312674696d657374616d703d31353935363435333334266c61743d32382e33393632343931266c6f6e3d2d3130362e383637393832322673706565643d302e302662656172696e673d302e3026616c7469747564653d323034342e343030303234343134303632352661636375726163793d31332e35313530303033343333323237353426626174743d35352e3020485454502f312e310d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f69642031303b204d69204132204c697465204275696c642f514b51312e3139313030322e303032290d0a486f73743a20796272756f702e64796e646e732e6f72673a35303535310d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2020-07-24 21:01:25 INFO: [daf2a13f: osmand > 189.154.57.87] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2020-07-24 21:01:26 INFO: [daf2a13f] id: 6251228111, time: 2020-07-24 20:48:54, lat: 28.39625, lon: -106.86798, course: 0.0, accuracy: 13.5
Hi Anton
I'm changing server to a windows server 2012. When I start windows, the Traccar service doesn't start automatically. Even if I start the service from Windows Services, I have to open the log file first for Traccar to run. I already try reinstalling with another Traccar version but the problem remains.
Can u help me?
This is the log from the last Windows restart: