installation linux version

Abou5 years ago

See that

root@ubuntu:~# ps ax | grep traccar
 5397 pts/0    S+     0:00 grep --color=auto traccar
root@ubuntu:~# /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
-bash: /opt/traccar/jre/bin/java : impossible d’exécuter le fichier binaire : Erreur de format pour exec()
root@ubuntu:~#
skyking5 years ago

Change double quotes on config.default to single

Abou5 years ago

i did it but nothing

Slawek5 years ago

https://mega.nz/#!XxVHjYZa!SiIUv7FXeRr8WGb0C7gZwDaeh0qk7z83hgvFP9bBv5g

download and unpack

/opt/traccar/conf/default.xml
/opt/traccar/conf/traccar.xml
/opt/traccar/conf/wrapper.conf

/root/upgrade_traccar.sh

run as root

sh /root/upgrade_traccar.sh

check log file

skyking5 years ago

Download installer from link at top of page. Not sure what version is available on Mega.

Abou5 years ago

i think i have install a earlier version that v4.6

Slawek5 years ago

did you do what I send you ?

Abou5 years ago

yes!! i changed double quotes but is not working

Slawek5 years ago

did you unpack files and run script ?

Abou5 years ago

i can't run script on my local server.
Now i installed traccar server v4.2 and i'm going to sart it and i will giv you the result!!

Slawek5 years ago

do you have root permission ?

Abou5 years ago

non

skyking5 years ago

Yes he does - already discussed top of thread

Abou5 years ago

yes i have it

Abou5 years ago

Hi again i installed traccar server v4.2 but the the probleme is alwayse persisted
and i have no log file

root@ubuntu:~# systemctl status traccar
● traccar.service - traccar
   Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since ven. 2019-10-18 10:51:13 GMT; 8s ago
  Process: 1477 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml (code=exit
 Main PID: 1477 (code=exited, status=203/EXEC)

oct. 18 10:51:13 ubuntu systemd[1]: Stopped traccar.
oct. 18 10:51:13 ubuntu systemd[1]: Started traccar.
oct. 18 10:51:13 ubuntu systemd[1]: traccar.service: Main process exited, code=exited, status=203/EXEC
oct. 18 10:51:13 ubuntu systemd[1]: traccar.service: Unit entered failed state.
oct. 18 10:51:13 ubuntu systemd[1]: traccar.service: Failed with result 'exit-code'.
lines 1-11/11 (END)
root@ubuntu:~# /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
-bash: /opt/traccar/jre/bin/java : impossible d’exécuter le fichier binaire : Erreur de format pour exec()
root@ubuntu:~#