installation linux version

Slawek5 years ago

run

hostnamectl

show 'Architecture'

or

cat /proc/version

Abou5 years ago
root@ubuntu:~# hostnamectl
   Static hostname: ubuntu
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 12cb7818704d72e542ee92c15cc3531d
           Boot ID: be8cae3c5a454aca9007393b0cf81c5f
    Virtualization: vmware
  Operating System: Ubuntu 16.04.6 LTS
            Kernel: Linux 4.4.0-165-generic
      Architecture: x86
root@ubuntu:~#
skyking5 years ago

Abou, you are running a 32-bit CPU (x86 not x86-64). Traccar is only available for X86-64.

Abou5 years ago

skyking yeah yeah you are reight that is my probleme !!

skyking5 years ago

Slawek - good idea to have him check CPU - we assumed it was 64-bit could have saved a lot of discussion ;>)

Slawek5 years ago

right :)

Abou5 years ago

i'm going to run it on other server with 64 bits and i will give you the result. any way thanks for you all

skyking5 years ago

If you aren't going to have a lot of users, you can run traccar on a Raspberry Pi 3 running openSUSE Leap (arm-64bit)

skyking5 years ago

Correction - traccar for arm is 32-bit so will run on RasPi2 or RasPi3 running Debian 32-bit.

Abou5 years ago

Hi
after installation of traccar v4.2 on ubuntu x86-64. The service is not runing

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 10:25:22 GMT; 1h 59m
  Process: 3101 ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf
 Main PID: 3101 (code=exited, status=1/FAILURE)

oct. 21 10:25:22 ubuntuLaboInter traccar[3101]:         at org.traccar.Main.run(
oct. 21 10:25:22 ubuntuLaboInter traccar[3101]:         at org.traccar.Main.main
oct. 21 10:25:22 ubuntuLaboInter traccar[3101]: Caused by: java.lang.NullPointer
oct. 21 10:25:22 ubuntuLaboInter traccar[3101]:         at org.traccar.helper.Lo
oct. 21 10:25:22 ubuntuLaboInter traccar[3101]:         at org.traccar.Context.i
oct. 21 10:25:22 ubuntuLaboInter traccar[3101]:         at org.traccar.Main.run(
oct. 21 10:25:22 ubuntuLaboInter traccar[3101]:         ... 1 more
oct. 21 10:25:22 ubuntuLaboInter systemd[1]: traccar.service: Main process exite
oct. 21 10:25:22 ubuntuLaboInter systemd[1]: traccar.service: Unit entered faile
oct. 21 10:25:22 ubuntuLaboInter systemd[1]: traccar.service: Failed with result
lines 1-16/16 (END)