Cant start process with systemctl

altaaroa year ago

Im using it on Raspberry with ARM x64 Raspbian wchich is based on debian. How it can be incopatible while i can run it manually? Using the "traccar-linux-arm-5.6.zip" package

Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
Anton Tananaeva year ago

java -> this is what you installed from your package manager, so obviously it will be compatible
/opt/traccar/jre/bin/java -> this comes with Traccar and because the system doesn't recognize it, I conclude that it's not compatible

Manually or as a service, the Java version that's bundled with Traccar is clearly not working for you.

The solution is to change service to use your system Java instead of the one that comes with Traccar. Change /etc/systemd/system/traccar.service to point to java instead of /opt/traccar/jre/bin/java.

altaaroa year ago

Thanks, it's working now.