Не запускается версия 4.2

Ruslan6 years ago

Сделал все по этим инструкциям:
https://www.traccar.org/install-digitalocean/
https://www.traccar.org/linux/

Сервер не запускается. systemctl -l status traccar.service показывает следующее:

● traccar.service - traccar
  Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset: enabled)
  Active: failed (Result: exit-code) since Wed 2018-12-05 16:15:31 UTC; 11min ago
 Process: 1346 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml (code=exited, status=1/FAILURE)
Main PID: 1346 (code=exited, status=1/FAILURE)

Dec 05 16:15:31 gpsserver traccar[1346]:         at org.traccar.Main.run(Main.java:152)
Dec 05 16:15:31 gpsserver traccar[1346]:         at org.traccar.Main.main(Main.java:104)
Dec 05 16:15:31 gpsserver traccar[1346]: Caused by: java.lang.NullPointerException
Dec 05 16:15:31 gpsserver traccar[1346]:         at org.traccar.helper.Log.setupDefaultLogger(Log.java:160)
Dec 05 16:15:31 gpsserver traccar[1346]:         at org.traccar.Context.init(Context.java:361)
Dec 05 16:15:31 gpsserver traccar[1346]:         at org.traccar.Main.run(Main.java:110)
Dec 05 16:15:31 gpsserver traccar[1346]:         ... 1 more
Dec 05 16:15:31 gpsserver systemd[1]: traccar.service: Main process exited, code=exited, status=1/FAILURE
Dec 05 16:15:31 gpsserver systemd[1]: traccar.service: Unit entered failed state.
Dec 05 16:15:31 gpsserver systemd[1]: traccar.service: Failed with result 'exit-code'.

ОС: Ubuntu 16.04.4 x64
JAVA:
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.16.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
MySQL:
mysql Ver 14.14 Distrib 5.7.24, for Linux (x86_64) using EditLine wrapper

Ruslan6 years ago

Файлы в папке /opt/traccar/logs отсутствуют.

Anton Tananaev6 years ago

У вас проблема с конфигурационным файлом.

Ruslan6 years ago

Да, оказывается была ошибка в конфигурационном файле.
После исправление заработал.
Спасибо!

I did the same tutorial and had the same error. how did u solve this?

Thanks.
PS: could you please speak english?