You don't. JAR is the main executable file.
Yes, but which says in installation then. (release 3.14. i m replacing tracker-server.jar for other without issue in alarm decoder)
Install
Extract archive to any directory
Set up paths in the config file (traccar.xml)
Run using following command:
java -jar tracker-server.jar conf/traccar.xml
Any paths that you have in the config file. It's possible that you don't need to change anything.
I executed this command
java -jar tracker-server.jar conf/traccar.xml
and have this error
Exception in thread "main" java.lang.NoClassDefFoundError: liquibase/resource/ResourceAccessor
at org.traccar.Context.init(Context.java:333)
at org.traccar.Main.main(Main.java:35)
Caused by: java.lang.ClassNotFoundException: liquibase.resource.ResourceAccessor
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
or
Exception in thread "main" java.lang.NoClassDefFoundError: com/ning/http/client/AsyncHttpClient
at org.traccar.Context.<clinit>(Context.java:205)
at org.traccar.Main.main(Main.java:35)
Caused by: java.lang.ClassNotFoundException: com.ning.http.client.AsyncHttpClient
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 2 more
Looks like you are missing Java dependencies.
I have 3.14. mabe that isi the problem? need 3.16
Of course it's a problem if you are trying to use new JAR with old everything else.
Yes thanks
Regards
With 3.16 when want stop the service show me this error
user@ubuntu:/opt/traccar$ sudo /opt/traccar/bin/stopDaemon.sh
++++++++++ YAJSW SET ENV ++++++++++
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)
---------- YAJSW SET ENV ----------
sudo: unable to execute /opt/traccar/bin/stopDaemonNoPriv.sh: No such file or directory
/opt/traccar/bin/stopDaemon.sh: lĂnea 36: 1339 Colgar (hangup) sudo "$PRGDIR"/"$EXECUTABLE"
You need to fix stopDaemonNoPriv script:
Thanks!
Hi
Alarm of sos in the historical record of events is not detailed just says alarm, nor another type of alarm. But yes is detailed in current events, the events window. How can it be detailed in the historical events?
Screenshot please.
How to upload an image here?
Hi Anton,
How to set new path of tracker-server.jar in file traccar.xml?