Java service error

nicolas8 years ago

Hi guys,

First thanks for this wonderfull app! I'm using it on a rpi3 and as i only will have to monitor 4 or 5 devices it should be good.

I have followed this tutorial
https://www.traccar.org/forums/topic/installing-traccar-server-on-raspberry-pi-rasperian/

and the server is up but i can't get it as a service so that it will start on boot

the journalctl tell me that

juil. 25 14:20:11 Traccar systemd[1]: Started Traccar Service.
juil. 25 14:20:11 Traccar traccarserver[1846]: /usr/bin/java: 1: /usr/bin/java: “exec: not found
juil. 25 14:20:11 Traccar systemd[1]: traccar.service: main process exited, code=exited, status=127/n/a
juil. 25 14:20:11 Traccar systemd[1]: Unit traccar.service entered failed state.
juil. 25 14:20:11 Traccar sudo[1840]: pam_unix(sudo:session): session closed for user root
juil. 25 14:20:11 Traccar systemd[1]: traccar.service holdoff time over, scheduling restart.
juil. 25 14:20:11 Traccar systemd[1]: Stopping Traccar Service...

but i can't find how to fix the java problem....
Can some one help me?

thanks

nicolas8 years ago

it's ok, i finally remove the java version and directly use the linux one. Works like a charm!

thanks