Server 3.8 does not start

roland8 years ago

I have upgrade from 3.7 to 3.8.

I have two times uninstall and install.
I get following massage:


++++++++++ YAJSW SET ENV ++++++++++
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
---------- YAJSW SET ENV ----------
++++++++++ YAJSW SET ENV ++++++++++
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-beta-12.07
OS   : Linux/3.16.0-042stab120.5/amd64
JVM  : Oracle Corporation/1.7.0_111//usr/lib/jvm/java-7-openjdk-amd64/jre/64
Dez 02, 2016 2:00:39 PM org.apache.commons.vfs2.VfsLog info
INFORMATION: Using "/tmp/vfs_cache" as temporary files store.
Dez 02, 2016 2:00:39 PM org.rzo.yajsw.os.posix.PosixService init
INFORMATION: /etc/init.d/traccar already exists
************* STARTING traccar ***********************

Dez 02, 2016 2:00:39 PM org.rzo.yajsw.os.posix.PosixService getPid
INFORMATION: wrapper pid file: /run/wrapper.traccar.pid
Dez 02, 2016 2:00:42 PM org.rzo.yajsw.os.posix.PosixService start
INFORMATION: Starting traccar ...
YAJSW: yajsw-beta-12.07
OS   : Linux/3.16.0-042stab120.5/amd64
JVM  : Oracle Corporation/1.7.0_111//usr/lib/jvm/java-7-openjdk-amd64/jre/64
************* STARTING traccar ***********************

Service traccar started

Dez 02, 2016 2:00:42 PM org.rzo.yajsw.os.posix.PosixService getPid
INFORMATION: wrapper pid file: /run/wrapper.traccar.pid
Dez 02, 2016 2:00:43 PM org.rzo.yajsw.os.posix.PosixService getPid
INFORMATION: wrapper pid file: /run/wrapper.traccar.pid
Dez 02, 2016 2:00:43 PM org.rzo.yajsw.os.posix.PosixService getPid
INFORMATION: wrapper pid file: /run/wrapper.traccar.pid
Service traccar started

I have no server log, only wrapper log with the following lines:


RNING|wrapper|Service traccar|16-12-02 14:00:40|YAJSW: yajsw-beta-12.07
WARNING|wrapper|Service traccar|16-12-02 14:00:40|OS   : Linux/3.16.0-042stab120.5/amd64
WARNING|wrapper|Service traccar|16-12-02 14:00:40|JVM  : Oracle Corporation/1.7.0_111//usr/lib/jvm/java-7-openjdk-amd64/jre/64
INFO|wrapper|Service traccar|16-12-02 14:00:40|exec:"java" "-classpath" "/opt/traccar/wrapperApp.jar:/opt/traccar/tracker-server.jar:/opt/traccar/lib/log4j-1.2.17.jar:/opt/traccar/lib/joda-time-2.9.6.jar:/opt/traccar/lib/h2-1.4.193.jar:/opt/traccar/lib/mysql-connector-java-5.1.40.jar:/opt/traccar/lib/postgresql-9.4.1212.jre7.jar:/opt/traccar/lib/mssql-jdbc-6.1.0.jre7.jar:/opt/traccar/lib/HikariCP-java7-2.4.9.jar:/opt/traccar/lib/slf4j-api-1.7.21.jar:/opt/traccar/lib/netty-3.10.6.Final.jar:/opt/traccar/lib/async-http-client-1.9.40.jar:/opt/traccar/lib/slf4j-simple-1.7.21.jar:/opt/traccar/lib/javax.json-1.0.4.jar:/opt/traccar/lib/jetty-server-9.2.19.v20160908.jar:/opt/traccar/lib/javax.servlet-api-3.1.0.jar:/opt/traccar/lib/jetty-http-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-io-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-servlet-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-security-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-webapp-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-xml-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-jndi-9.2.19.v20160908.jar:/opt/traccar/lib/jetty-util-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-server-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-common-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-api-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-client-9.2.19.v20160908.jar:/opt/traccar/lib/websocket-servlet-9.2.19.v20160908.jar:/opt/traccar/lib/jersey-container-servlet-2.24.jar:/opt/traccar/lib/jersey-container-servlet-core-2.24.jar:/opt/traccar/lib/javax.inject-2.5.0-b05.jar:/opt/traccar/lib/jersey-common-2.24.jar:/opt/traccar/lib/javax.annotation-api-1.2.jar:/opt/traccar/lib/jersey-guava-2.24.jar:/opt/traccar/lib/hk2-api-2.5.0-b05.jar:/opt/traccar/lib/hk2-utils-2.5.0-b05.jar:/opt/traccar/lib/aopalliance-repackaged-2.5.0-b05.jar:/opt/traccar/lib/hk2-locator-2.5.0-b05.jar:/opt/traccar/lib/javassist-3.20.0-GA.jar:/opt/traccar/lib/osgi-resource-locator-1.0.1.jar:/opt/traccar/lib/jersey-server-2.24.jar:/opt/traccar/lib/jersey-client-2.24.jar:/opt/traccar/lib/jersey-media-jaxb-2.24.jar:/opt/traccar/lib/validation-api-1.1.0.Final.jar:/opt/traccar/lib/javax.ws.rs-api-2.0.1.jar:/opt/traccar/lib/jersey-media-json-jackson-2.24.jar:/opt/traccar/lib/jersey-entity-filtering-2.24.jar:/opt/traccar/lib/jackson-jaxrs-base-2.5.4.jar:/opt/traccar/lib/jackson-core-2.5.4.jar:/opt/traccar/lib/jackson-databind-2.5.4.jar:/opt/traccar/lib/jackson-jaxrs-json-provider-2.5.4.jar:/opt/traccar/lib/jackson-module-jaxb-annotations-2.5.4.jar:/opt/traccar/lib/jackson-annotations-2.5.4.jar:/opt/traccar/lib/liquibase-core-3.5.3.jar:/opt/traccar/lib/snakeyaml-1.17.jar:/opt/traccar/lib/mail-1.4.7.jar:/opt/traccar/lib/activation-1.1.jar:/opt/traccar/lib/jxls-2.3.0.jar:/opt/traccar/lib/commons-jexl-2.1.1.jar:/opt/traccar/lib/commons-logging-1.1.1.jar:/opt/traccar/lib/commons-beanutils-1.9.2.jar:/opt/traccar/lib/commons-collections-3.2.1.jar:/opt/traccar/lib/jcl-over-slf4j-1.7.12.jar:/opt/traccar/lib/logback-core-1.1.3.jar:/opt/traccar/lib/jxls-poi-1.0.11.jar:/opt/traccar/lib/poi-3.14.jar:/opt/traccar/lib/commons-codec-1.10.jar:/opt/traccar/lib/poi-ooxml-3.14.jar:/opt/traccar/lib/poi-ooxml-schemas-3.14.jar:/opt/traccar/lib/xmlbeans-2.6.0.jar:/opt/traccar/lib/stax-api-1.0.1.jar:/opt/traccar/lib/curvesapi-1.03.jar" "-Dfile.encoding=UTF-8" "-Xrs" "-Dwrapper.service=true" "-Dwrapper.console.visible=false" "-Dwrapper.port=15003" "-Dwrapper.key=-7550509475585970924" "-Dwrapper.teeName=-7550509475585970924$1480683640491" "-Dwrapper.tmp.path=/opt/traccar/tmp" "-Djna_tmpdir=/opt/traccar/tmp" "-Dwrapper.config=/opt/traccar/conf/wrapper.conf" "-Dwrapper.visible=false" "-Dwrapper.pidfile=/run/wrapper.traccar.pid" "org.rzo.yajsw.app.WrapperJVMMain" 
INFO|wrapper|Service traccar|16-12-02 14:00:40|posix spawn error: 12
SEVERE|wrapper|Service traccar|16-12-02 14:00:40|failed to spawn wrapped process

I think the Problem is the Error "posix spawn error: 12", so the server does not start.

Can anybody help me. I don't know, where I can find the solve.

Anton Tananaev8 years ago

It seems like error 12 indicates "Out of memory" problem.

roland8 years ago

I dont't understand. I have enough memory. Currently over 1GB free + 4 GB Swap.

I try to install version 3.7. This did not work either. Some files are not in the install folder.
After the installation ist the folder /opt/traccar/bin empty.

Anton Tananaev8 years ago

You have to do a clean installation. If "bin" folder is empty, you are definitely doing something wrong.