Service traccar NOT started

shawnbap4 years ago
root@ip-172-31-13-22:/home/ubuntu# /opt/traccar/bin/startDaemon.sh
++++++++++ YAJSW SET ENV ++++++++++
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)
---------- YAJSW SET ENV ----------
++++++++++ YAJSW SET ENV ++++++++++
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
openjdk version "11.0.7" 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-3ubuntu1)
OpenJDK 64-Bit Server VM (build 11.0.7+10-post-Ubuntu-3ubuntu1, mixed mode, sharing)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-stable-12.12
OS   : Linux/5.4.0-1015-aws/amd64
JVM  : Ubuntu/11.0.7//usr/lib/jvm/java-11-openjdk-amd64/64
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/opt/traccar/./lib/extended/groovy/groovy-all-2.4.11.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jul 07, 2020 10:32:06 PM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
************* STARTING traccar ***********************

Jul 07, 2020 10:32:06 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Jul 07, 2020 10:32:06 PM org.rzo.yajsw.os.posix.PosixUtils osCommand
WARNING: Error executing "/etc/init.d/traccar start": java.io.IOException: Cannot run program "/etc/init.d/traccar": error=2, No such file or directory
Jul 07, 2020 10:32:06 PM org.rzo.yajsw.os.posix.PosixService start
INFO: null
Jul 07, 2020 10:32:06 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Jul 07, 2020 10:32:07 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Jul 07, 2020 10:32:08 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Jul 07, 2020 10:32:08 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Service traccar NOT started
Anton Tananaev4 years ago

It looks like you are using some ancient version of Traccar. I would recommend upgrading to the latest version.

shawnbap4 years ago

i just up dated it and its still the same

traccar.xml
root@ip-172-31-13-22:/home/ubuntu# /opt/traccar/bin/startDaemon.sh
++++++++++ YAJSW SET ENV ++++++++++
...
Service traccar NOT started
root@ip-172-31-13-22:/home/ubuntu#
shawnbap4 years ago

traccar-linux-64-4.9 that is what i have on it

Anton Tananaev4 years ago

We removed YAJSW a long time ago, so clearly you are not using latest official release.

shawnbap4 years ago

i just download it from your website and i never have a previous copy this is my first install only build the server today