Traccar 4.1 does not start

L.Cezar6 years ago

After using sudo systemctl start traccar.service the server does not start, does not generate logs

Anton Tananaev6 years ago

Have you changed configuration?

Emanuel Barros6 years ago

Me too i'm using a rpi. But i just installed. So i'm quite noob....

L.Cezar6 years ago

Anton, I did not change settings.

Smiecie6 years ago

I had the same issue. I'm using Archlinux. The solution was to remove the /tmp parameter from the start script as it looks like the way the traccar starts right now doesn't need it.

nohup java -jar $PATH_TO_JAR $PATH_TO_CONF /tmp 2>> /dev/null >> /dev/null &
echo $! > $PID_PATH_NAME

In Windows & MSSQL, Traccar service must be configured as a Automatic/Delayed start

Emanuel Barros6 years ago

My traccar.service is:

[Unit]
Description=traccar
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/traccar
ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
SyslogIdentifier=traccar

[Install]
WantedBy=multi-user.target