Traccar old login doesnt show

Murthy Varanasi3 years ago

When i try to load traccar old login doesnt show and the java logs show the following

oot@ip-172-31-23-37:/opt/traccar/jre/bin# cd /opt/traccar
root@ip-172-31-23-37:/opt/traccar# /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
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-200]
at org.traccar.Main.run(Main.java:165)
at org.traccar.Main.main(Main.java:110)
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-200]
at com.zaxxer.hikari.pool.HikariPool.throwPoolInitializationException(HikariPool.java:595)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:581)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:81)
at org.traccar.database.DataManager.initDatabase(DataManager.java:139)
at org.traccar.database.DataManager.<init>(DataManager.java:89)
at org.traccar.Context.init(Context.java:299)
at org.traccar.Main.run(Main.java:137)

any help please

Anton Tananaev3 years ago

It says that the database is already in use.

Murthy Varanasi3 years ago

i understood that i am looking for tips to clear it

Anton Tananaev3 years ago

Well, find which process accesses the database file and kill it. Most likely you have another instance if Traccar running.

Murthy Varanasi3 years ago

any tutorial link please

Anton Tananaev3 years ago

It's not something specific to Traccar, so you should be able to Google it.