There are two log files.
wrapper
traccar_server
Look at both, normally wrapper will give you an error message on startup.
The other log starts with this:
WARNING|wrapper|Service traccar|17-10-20 19:37:59|YAJSW: yajsw-stable-12.09
WARNING|wrapper|Service traccar|17-10-20 19:37:59|OS : Windows 10/10.0/amd64
WARNING|wrapper|Service traccar|17-10-20 19:37:59|JVM : Oracle Corporation/1.8.0_151/C:\Program Files\Java\jre1.8.0_151/64
INFO|wrapper|Service traccar|17-10-20 19:37:59|start delay: 0
INFO|wrapper|Service traccar|17-10-20 19:37:59|started process with pid 4048
INFO|4048/0|Service traccar|17-10-20 19:38:00|[INFO] StandardFileSystemManager - Using "C:\WINDOWS\TEMP\vfs_cache" as temporary files store.
INFO|4048/0|Service traccar|17-10-20 19:38:00|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|4048/0|Service traccar|17-10-20 19:38:01|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|4048/0|Service traccar|17-10-20 19:38:01|INFO 10/20/17 7:38 PM: liquibase: Clearing database change log checksums
INFO|4048/0|Service traccar|17-10-20 19:38:01|INFO 10/20/17 7:38 PM: liquibase: Successfully acquired change log lock
INFO|4048/0|Service traccar|17-10-20 19:38:02|INFO 10/20/17 7:38 PM: liquibase: Successfully released change log lock
INFO|4048/0|Service traccar|17-10-20 19:38:02|INFO 10/20/17 7:38 PM: liquibase: Successfully acquired change log lock
INFO|4048/0|Service traccar|17-10-20 19:38:03|INFO 10/20/17 7:38 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|4048/0|Service traccar|17-10-20 19:38:03|INFO 10/20/17 7:38 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|4048/0|Service traccar|17-10-20 19:38:03|INFO 10/20/17 7:38 PM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false. Error: Constraint "UK_USER_TOKEN" not found; SQL statement:
INFO|4048/0|Service traccar|17-10-20 19:38:03|ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-196] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO|4048/0|Service traccar|17-10-20 19:38:03|INFO 10/20/17 7:38 PM: liquibase: Successfully released change log lock
INFO|4048/0|Service traccar|17-10-20 19:38:03|[main] INFO org.eclipse.jetty.util.log - Logging initialized @3522ms
INFO|4048/0|Service traccar|17-10-20 19:38:03|java.lang.reflect.InvocationTargetException
INFO|4048/0|Service traccar|17-10-20 19:38:03| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at java.lang.reflect.Method.invoke(Unknown Source)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|4048/0|Service traccar|17-10-20 19:38:03|Caused by: java.lang.StackOverflowError
INFO|4048/0|Service traccar|17-10-20 19:38:03| at java.util.HashMap.hash(Unknown Source)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at java.util.HashMap.put(Unknown Source)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at java.util.HashSet.add(Unknown Source)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:145)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
INFO|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
this line continues like a thousand times and in the end it says:
FINEST|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
FINEST|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
FINEST|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
FINEST|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
FINEST|4048/0|Service traccar|17-10-20 19:38:03| at org.traccar.database.GroupTree.getNodes(GroupTree.java:146)
INFO|wrapper|Service traccar|17-10-20 19:38:04|calling onStop
INFO|wrapper|Service traccar|17-10-20 19:38:04|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|17-10-20 19:38:04|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|17-10-20 19:38:04|Win service stop - after shutdown
INFO|wrapper|Service traccar|17-10-20 19:38:04|Win service stop - before notify
INFO|wrapper|Service traccar|17-10-20 19:38:04|Win service terminated
Any clues?
You have create a look with groups. You need to fix it in the database, or clear database.
I don't have experience with databases so I reinstalled everything from scratch. I'll try and keep backups to avoid such drawbacks in the future.
I have some 130 assets and half of them were added today. At some point, the service failed and couldn't start. The log says the following:
I tried adding this line to wrapper.conf
But it didn't work. I tried raising it up to 4096 and still doesn't work. Am I on the right direction? Do I need to look somewhere else?
Thanks in advance.