traccar Memory limit heap: 239mb non-heap: 0mb

jccazar7 years ago

help, this message appears in the traccar log and the system does not get up

Anton Tananaev7 years ago

That's not enough memory. You need at least 1GB server to run Traccar.

jccazar7 years ago

in which part I make the change, since my machine has 2 GB of memory

Anton Tananaev7 years ago
jccazar7 years ago

in the article that mentions it says for windows, in the case of ubuntu where the configuration file is located

Anton Tananaev7 years ago

It's for all operating systems, not just Windows.

jccazar7 years ago

but I can not find the folder mentioned in the article

Anton Tananaev7 years ago

Wrapper configuration file is located in /opt/traccar/conf folder.

jccazar7 years ago

I made the change but the error persists, which parameters must be modified or an example that I can follow.

INFO: Operating system name: Linux version: 4.13.0-16-generic architecture: amd64
INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 25.151-b12
Memory limit heap: 483mb non-heap: 0mb
Character encoding: UTF-8 charset: UTF-8
Version: 3.14-SNAPSHOT
Anton Tananaev7 years ago

There are no errors in your log. Check wrapper log file.

jccazar7 years ago

these messages appear in the wrapper log

WARNING|wrapper|Service traccar|18-01-29 16:48:44|YAJSW: yajsw-stable-12.09
WARNING|wrapper|Service traccar|18-01-29 16:48:44|OS   : Linux/4.13.0-16-generic/amd64
WARNING|wrapper|Service traccar|18-01-29 16:48:44|JVM  : Oracle Corporation/1.8.0_151//usr/lib/jvm/java-8-openjdk-amd64/jre/64
Anton Tananaev7 years ago

Are you sure you provided whole files?

jccazar7 years ago

yes

jccazar7 years ago
INFO|wrapper|Service traccar|18-01-29 16:48:44|posix_spawn pid 1686
INFO|wrapper|Service traccar|18-01-29 16:48:44|started process 1686
INFO|wrapper|Service traccar|18-01-29 16:48:44|started process with pid 1686
INFO|1686/0|Service traccar|18-01-29 16:48:46|[INFO] StandardFileSystemManager - Using "/tmp/vfs_cache" as temporary files store.
INFO|1686/0|Service traccar|18-01-29 16:48:46|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|1686/0|Service traccar|18-01-29 16:48:47|[main] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization.
INFO|1686/0|Service traccar|18-01-29 16:48:47|org.h2.jdbc.JdbcSQLException: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-196]
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.message.DbException.getJdbcSQLException(DbException.java:345)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.message.DbException.get(DbException.java:168)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.mvstore.db.MVTableEngine$Store.convertIllegalStateException(MVTableEngine.java:196)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.mvstore.db.MVTableEngine$Store.open(MVTableEngine.java:168)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.mvstore.db.MVTableEngine.init(MVTableEngine.java:100)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.engine.Database.getPageStore(Database.java:2476)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.engine.Database.open(Database.java:697)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.engine.Database.openDatabase(Database.java:276)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.engine.Database.<init>(Database.java:270)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.engine.Engine.openSession(Engine.java:64)
INFO|1686/0|Service traccar|18-01-29 16:48:47|  at org.h2.engine.Engine.openSession(Engine.java:176)
Anton Tananaev7 years ago

The error clearly says that your database file is corrupted.