I have been using the traccar-linux-64-5.0 version on a VPS for a long time, I never had a problem, until today I cannot access traccar, it simply does not open the page, I restarted everything and it still does not work, I already entered the terminal as root running the command service traccar start and it doesn't work. It does not send me an error in the terminal, I attach the server log. Thanks I hope you can help me.
2023-06-24 00:00:01 INFO: [Tc5a48e78: gps103 < 200.68.138.20] 3836333834343035313833323831313b
2023-06-24 00:00:01 INFO: [Tc5a48e78: gps103 > 200.68.138.20] 4f4e
2023-06-24 00:00:01 INFO: [T1838754a] connected
2023-06-24 00:00:01 INFO: [T1838754a: gps103 < 200.68.138.4] 23232c696d65693a3836383638333032363236343031342c413b
2023-06-24 00:00:01 INFO: [T1838754a: gps103 > 200.68.138.4] 4c4f4144
2023-06-24 00:00:02 INFO: [T9eb28605] disconnected
2023-06-24 00:00:03 INFO: [T971a952e] connected
2023-06-24 00:00:03 INFO: [T9cf156cc] disconnected
2023-06-24 00:00:03 INFO: [T971a952e: gps103 < 200.68.167.79] 23232c696d65693a3836343839353033323432363333382c413b
2023-06-24 00:00:03 INFO: [T971a952e: gps103 > 200.68.167.79] 4c4f4144
2023-06-24 00:00:05 INFO: [T6df632c0] disconnected
2023-06-24 00:00:06 INFO: [T26274daa: gps103 < 200.68.168.54] 696d65693a3836303835363034303530373831302c747261636b65722c3233303632343030303030342c2c462c3030303030342e30302c412c323032322e38353937322c4e2c30393935392e32323730372c572c31362e3631362c3331372e39353b
2023-06-24 00:00:06 INFO: [T26274daa] id: 860856040507810, time: 2023-06-24 00:00:04, lat: 20.38100, lon: -99.98712, speed: 16.6, course: 318.0
2023-06-24 00:00:06 INFO: [Tfa56128c] disconnected
2023-06-24 00:00:07 INFO: [T734b1d49] connected
2023-06-24 00:00:07 INFO: [Tb1fafbdb] disconnected
2023-06-24 00:00:07 INFO: [Tea88a166] connected
2023-06-24 00:00:07 INFO: [Tea88a166: gps103 < 200.68.139.43] 23232c696d65693a3836343839353033303038333939302c413b
2023-06-24 00:00:07 INFO: [Tea88a166: gps103 > 200.68.139.43] 4c4f4144
2023-06-24 00:00:07 INFO: [T661184bd: gps103 < 200.68.166.39] 3836353031313033343237393133343b
2023-06-24 00:00:07 INFO: [T661184bd: gps103 > 200.68.166.39] 4f4e
2023-06-24 00:00:08 INFO: [T21ac9df2] connected
2023-06-24 00:00:08 INFO: [T1838754a: gps103 < 200.68.138.4] 696d65693a3836383638333032363236343031342c747261636b65722c3233303632343038303030372c2c462c3030303030352e3030302c412c313934332e333232302c4e2c31303130382e353132302c572c302e30302c303b
2023-06-24 00:00:08 INFO: [T1838754a] id: 868683026264014, time: 2023-06-24 00:00:05, lat: 19.72203, lon: -101.14187, course: 0.0
2023-06-24 00:00:08 INFO: [T21ac9df2: gps103 < 200.68.139.25] 23232c696d65693a3836343839333033373431393539382c413b
2023-06-24 00:00:08 INFO: [T21ac9df2: gps103 > 200.68.139.25] 4c4f4144
2023-06-24 00:00:08 INFO: [Ta214d502] disconnected
2023-06-24 00:00:08 INFO: [Te5c00734] connected
2023-06-24 00:00:08 INFO: [Te5c00734: gps103 < 200.68.139.45] 23232c696d65693a3836343839333033303731363232322c413b
2023-06-24 00:00:08 INFO: [Te5c00734: gps103 > 200.68.139.45] 4c4f4144
2023-06-24 00:00:09 INFO: [T0245a753: gps103 < 200.68.185.10] 696d65693a3836333834343035343932313535332c747261636b65722c3233303632343030303030372c2c462c3030303030372e30302c412c323033352e31393233302c4e2c31303032332e36303432352c572c302e3134372c303b
2023-06-24 00:00:09 INFO: [T0245a753] id: 863844054921553, time: 2023-06-24 00:00:07, lat: 20.58654, lon: -100.39340, speed: 0.1, course: 0.0
2023-06-24 00:00:09 INFO: [T27ed30be] connected
2023-06-24 00:00:09 INFO: [Tfdfd5f43] connected
2023-06-24 00:00:09 INFO: [Tfdfd5f43: gps103 < 200.68.166.184] 23232c696d65693a3836343839333033303731323836362c413b
2023-06-24 00:00:09 INFO: [Tfdfd5f43: gps103 > 200.68.166.184] 4c4f4144
2023-06-24 00:00:09 INFO: [T27ed30be: gps103 < 200.68.139.35] 23232c696d65693a3836303835363034303530383438372c413b
2023-06-24 00:00:09 INFO: [T27ed30be: gps103 > 200.68.139.35] 4c4f4144
2023-06-24 00:00:09 INFO: [T34f38f41] disconnected
2023-06-24 00:00:10 INFO: [T24e54ad6] error - Connection reset by peer - IOException (...)
2023-06-24 00:00:10 INFO: [T24e54ad6] disconnected
2023-06-24 00:00:10 INFO: [Tf1fcf346: gps103 < 200.68.166.77] 3836333834343035313136333237343b
2023-06-24 00:00:10 INFO: [Tf1fcf346: gps103 > 200.68.166.77] 4f4e
2023-06-24 00:00:11 INFO: [Tf252a50c] disconnected
2023-06-24 00:00:12 INFO: [Tecda74a7] connected
2023-06-24 00:00:12 INFO: [Tecda74a7: gps103 < 200.68.169.155] 23232c696d65693a3836343839333033313638383333392c413b
2023-06-24 00:00:12 INFO: [Tecda74a7: gps103 > 200.68.169.155] 4c4f4144
2023-06-24 00:00:13 INFO: [T1610bf3d] connected
2023-06-24 00:00:13 INFO: [T1610bf3d: gps103 < 200.68.167.13] 23232c696d65693a3836353031313033333634303532362c413b
2023-06-24 00:00:13 INFO: [T1610bf3d: gps103 > 200.68.167.13] 4c4f4144
2023-06-24 00:00:16 INFO: [T26274daa: gps103 < 200.68.168.54] 696d65693a3836303835363034303530373831302c747261636b65722c3233303632343030303031352c2c462c3030303031352e30302c412c323032322e39303232302c4e2c30393935392e32363734342c572c31392e3935382c3331392e35363b
Is this an old log? I don't see any attempt to start the service.
It's the only log. It has today's date. I don't know if there is any other directory in which directory it can be?
There's no other directory.
Sounds like your process doesn't even start. Are you sure you haven't touched anything? Especially configuration file.
Absolutely nothing. Yesterday I worked and it worked perfectly as always. Today he didn't want to show me the page anymore. When using the service traccar start command, the terminal does not return any confirmation
Try running it directly like this:
cd /opt/traccar
./jre/bin/java -jar tracker-server.jar conf/traccar.xml
It gives me the following result:
Exception in thread "main" java.lang.RuntimeException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-206]
at org.traccar.Main.run(Main.java:145)
at org.traccar.Main.main(Main.java:107)
Caused by: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-206]
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:596)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:582)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:100)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
at org.traccar.database.DataManager.initDatabase(DataManager.java:120)
at org.traccar.database.DataManager.<init>(DataManager.java:79)
at org.traccar.Context.init(Context.java:307)
at org.traccar.Main.run(Main.java:113)
... 1 more
Caused by: org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database may be already in use: null. Possible solutions: close all other connection(s); use the server mode [90020-206]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:697)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:496)
at org.h2.message.DbException.get(DbException.java:216)
at org.h2.mvstore.db.Store.convertMVStoreException(Store.java:161)
at org.h2.mvstore.db.Store.<init>(Store.java:140)
at org.h2.engine.Database.<init>(Database.java:324)
at org.h2.engine.Engine.openSession(Engine.java:92)
at org.h2.engine.Engine.openSession(Engine.java:222)
at org.h2.engine.Engine.createSession(Engine.java:201)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:338)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:117)
at org.h2.Driver.connect(Driver.java:59)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:359)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:470)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:561)
... 7 more
Caused by: org.h2.mvstore.MVStoreException: The file is locked: /opt/traccar/data/database.mv.db [2.0.206/7]
at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:1004)
at org.h2.mvstore.FileStore.open(FileStore.java:163)
at org.h2.mvstore.MVStore.<init>(MVStore.java:444)
at org.h2.mvstore.MVStore$Builder.open(MVStore.java:4052)
at org.h2.mvstore.db.Store.<init>(Store.java:129)
... 19 more
It means that some other process is already using the database.
That I have to do? I already restarted the VPS server, I also tried the service traccar stop command. How can I solve that?
I have been using the traccar-linux-64-5.0 version on a VPS for a long time, I never had a problem, until today I cannot access traccar, it simply does not open the page, I restarted everything and it still does not work, I already entered the terminal as root running the command service traccar start and it doesn't work. It does not send me an error in the terminal, I attach the server log. Thanks I hope you can help me.