unable to access jarfile tracker-server.jar

Abou5 years ago

Hello
I downloaded the laste version of traccar server (v4.6) and after doing the following steps:
unzip file zip
./traccar.run
creation of database
editing the traccar.xml file
start traccar service

the tracker server is not running

root@ubuntuLaboInter:~# systemctl restart traccar.service
root@ubuntuLaboInter:~# systemctl status traccar
● traccar.service - traccar
   Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset:
   Active: failed (Result: exit-code) since lun. 2019-10-21 14:34:46 GMT; 9s ago
  Process: 2196 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf
 Main PID: 2196 (code=exited, status=1/FAILURE)

oct. 21 14:34:46 ubuntuLaboInter traccar[2196]:         at java.base/jdk.interna
oct. 21 14:34:46 ubuntuLaboInter traccar[2196]:         at java.base/jdk.interna
oct. 21 14:34:46 ubuntuLaboInter traccar[2196]:         at java.base/jdk.interna
oct. 21 14:34:46 ubuntuLaboInter traccar[2196]:         at java.base/jdk.interna
oct. 21 14:34:46 ubuntuLaboInter traccar[2196]:         at java.base/jdk.interna
oct. 21 14:34:46 ubuntuLaboInter traccar[2196]:         at java.base/jdk.interna
oct. 21 14:34:46 ubuntuLaboInter traccar[2196]:         ... 5 more
oct. 21 14:34:46 ubuntuLaboInter systemd[1]: traccar.service: Main process exite
oct. 21 14:34:46 ubuntuLaboInter systemd[1]: traccar.service: Unit entered faile
oct. 21 14:34:46 ubuntuLaboInter systemd[1]: traccar.service: Failed with result
lines 1-16/16 (END)
root@ubuntuLaboInter:~# /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
Error: Unable to access jarfile tracker-server.jar

please help me

Anton Tananaev5 years ago

You have to change directory.

Abou5 years ago

how can i do it?

Abou5 years ago

Hello
i change the directory but the problem persist again and i have non log file on /opt/traccar/logs/ folder

any idea