server stops, why?

Don Russo7 years ago

here is wrapper log...

WARNING|wrapper|Service traccar|18-02-02 10:21:34|YAJSW: yajsw-stable-12.11
WARNING|wrapper|Service traccar|18-02-02 10:21:34|OS   : Windows 10/10.0/amd64
WARNING|wrapper|Service traccar|18-02-02 10:21:34|JVM  : Oracle Corporation/1.8.0_161/C:\Program Files\Java\jre1.8.0_161/64
INFO|wrapper|Service traccar|18-02-02 10:21:35|start delay: 0
INFO|wrapper|Service traccar|18-02-02 10:21:36|started process with pid 5492
INFO|5492/0|Service traccar|18-02-02 10:21:39|[INFO] StandardFileSystemManager - Using "C:\Windows\TEMP\vfs_cache" as temporary files store.
INFO|5492/0|Service traccar|18-02-02 10:21:42|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|5492/0|Service traccar|18-02-02 10:21:43|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|5492/0|Service traccar|18-02-02 10:21:45|INFO 2/2/18 10:21 AM: liquibase: Clearing database change log checksums
INFO|5492/0|Service traccar|18-02-02 10:21:46|INFO 2/2/18 10:21 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:21:56|INFO 2/2/18 10:21 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:22:06|INFO 2/2/18 10:22 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:22:16|INFO 2/2/18 10:22 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:22:26|INFO 2/2/18 10:22 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:22:36|INFO 2/2/18 10:22 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:22:46|INFO 2/2/18 10:22 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:22:56|INFO 2/2/18 10:22 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:23:06|INFO 2/2/18 10:23 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:23:16|INFO 2/2/18 10:23 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:23:26|INFO 2/2/18 10:23 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:23:36|INFO 2/2/18 10:23 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:23:46|INFO 2/2/18 10:23 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:23:56|INFO 2/2/18 10:23 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:24:06|INFO 2/2/18 10:24 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:24:16|INFO 2/2/18 10:24 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:24:26|INFO 2/2/18 10:24 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:24:36|INFO 2/2/18 10:24 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:24:46|INFO 2/2/18 10:24 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:24:56|INFO 2/2/18 10:24 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:25:06|INFO 2/2/18 10:25 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:25:16|INFO 2/2/18 10:25 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:25:26|INFO 2/2/18 10:25 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:25:36|INFO 2/2/18 10:25 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:25:46|INFO 2/2/18 10:25 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:25:56|INFO 2/2/18 10:25 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:26:06|INFO 2/2/18 10:26 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:26:16|INFO 2/2/18 10:26 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:26:26|INFO 2/2/18 10:26 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:26:36|INFO 2/2/18 10:26 AM: liquibase: Waiting for changelog lock....
INFO|5492/0|Service traccar|18-02-02 10:26:46|java.lang.reflect.InvocationTargetException
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at java.lang.reflect.Method.invoke(Unknown Source)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|5492/0|Service traccar|18-02-02 10:26:46|Caused by: liquibase.exception.LockException: Could not acquire change log lock.  Currently locked by XXXXXX (192.168.XXX.XXX) since 2/1/18 7:39 PM
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at liquibase.lockservice.StandardLockService.waitForLock(StandardLockService.java:190)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at liquibase.Liquibase.clearCheckSums(Liquibase.java:1335)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at org.traccar.database.DataManager.initDatabaseSchema(DataManager.java:298)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at org.traccar.database.DataManager.<init>(DataManager.java:87)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at org.traccar.Context.init(Context.java:333)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	at org.traccar.Main.main(Main.java:35)
INFO|5492/0|Service traccar|18-02-02 10:26:46|	... 6 more
INFO|wrapper|Service traccar|18-02-02 10:26:46|calling onStop
INFO|wrapper|Service traccar|18-02-02 10:26:46|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|18-02-02 10:26:46|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|18-02-02 10:26:46|Win service stop - after shutdown
INFO|wrapper|Service traccar|18-02-02 10:26:46|Win service stop - before notify
INFO|wrapper|Service traccar|18-02-02 10:26:46|Win service terminated

WHY ?

Don Russo7 years ago

ok, just solved the problem on my own....

Aviral Garg7 years ago

How you solved this issue? I am using on windows.

Don Russo7 years ago

IT was a DB Crash. Just deleted DB files and because i didn't had a Backup, the directoty remains empty before Restart Traccar service