Hello
my traccar server is down, when I run the command sudo systemctl status traccar.service
traccar.service - traccar
Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-11-04 14:06:04 UTC; 10s ago
Main PID: 4419 (java)
Tasks: 39 (limit: 4915)
CGroup: /system.slice/traccar.service
└─4419 /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
Nov 04 14:06:07 traccar[4419]: Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
Nov 04 14:06:07 traccar[4419]: at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:120)
Nov 04 14:06:07 traccar[4419]: ... 54 more
Nov 04 14:06:07 traccar[4419]: Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited
Nov 04 14:06:07 traccar[4419]: at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:326)
Nov 04 14:06:07 traccar[4419]: at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:111)
Nov 04 14:06:07 traccar[4419]: at java.base/javax.crypto.JceSecurity$1.run(JceSecurity.java:108)
Nov 04 14:06:07 traccar[4419]: at java.base/java.security.AccessController.doPrivileged(Native Method)
Nov 04 14:06:07 traccar[4419]: at java.base/javax.crypto.JceSecurity.<clinit>(JceSecurity.java:107)
Nov 04 14:06:07 traccar[4419]: ... 54 more
I tried restarting the server but it doesn't work.
Does anyone have any idea what it can be?.
Thank you.
How can I try with another java please
Change the path in the service file:
/etc/systemd/system/traccar.service
I change it for what? because here it comes out
traccar.service - traccar
Loaded: loaded (/etc/systemd/system/traccar.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-11-04 14:06:04 UTC; 10s ago
Main PID: 4419 (java)
Tasks: 39 (limit: 4915)
CGroup: /system.slice/traccar.service
└─4419 /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
For example change it to the standard Java that comes with your OS.
Hello
my traccar server is down, when I run the command sudo systemctl status traccar.service
I tried restarting the server but it doesn't work.
Does anyone have any idea what it can be?.
Thank you.