That's not enough memory. You need at least 1GB server to run Traccar.
in which part I make the change, since my machine has 2 GB of memory
You need to increase memory limit:
http://yajsw.sourceforge.net/YAJSW%20Configuration%20Parameters.html
in the article that mentions it says for windows, in the case of ubuntu where the configuration file is located
It's for all operating systems, not just Windows.
but I can not find the folder mentioned in the article
Wrapper configuration file is located in /opt/traccar/conf
folder.
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
There are no errors in your log. Check wrapper log file.
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
Are you sure you provided whole files?
yes
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)
The error clearly says that your database file is corrupted.
help, this message appears in the traccar log and the system does not get up