Hi,
I am trying to install traccar server on a raspberry pi model B (raspbian jessie lite) but as it appears that the process is running, it is impossible to connect to the login web page.
I have tried with both 3.8 and 3.9 version with the same results. The steps that I am following are these:
sudo apt-get install oracle-java8-jdk
sudo apt-get update
cd /opt/
sudo wget https://github.com/tananaev/traccar/releases/download/v3.9/traccar-linux-3.9.zip
sudo unzip traccar-linux-3.9.zip
sudo chmod +x traccar.run
sudo ./traccar.run
sudo /opt/traccar/bin/startDaemon.sh
The output when I execute the daemon is:
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
---------- YAJSW SET ENV ----------
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-beta-12.07
OS : Linux/4.4.38+/arm
JVM : Oracle Corporation/1.8.0_65//usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/32
Jan 14, 2017 4:34:22 PM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
Jan 14, 2017 4:34:25 PM org.rzo.yajsw.os.posix.PosixService init
INFO: /etc/init.d/traccar already exists
************* STARTING traccar ***********************
Jan 14, 2017 4:34:25 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Jan 14, 2017 4:35:05 PM org.rzo.yajsw.os.posix.PosixService start
INFO: Starting traccar ...
YAJSW: yajsw-beta-12.07
OS : Linux/4.4.38+/arm
JVM : Oracle Corporation/1.8.0_65//usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt/jre/32
************* STARTING traccar ***********************
Service traccar NOT started
Jan 14, 2017 4:35:05 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Jan 14, 2017 4:35:06 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Jan 14, 2017 4:35:07 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Service traccar started
Do someone have any idea to check why is not running properly?
Commands looks correct. The problem might be with Oracle JVM. There were some problems with it in the past. I would recommend installing default JVM instead.
Thanks Anton,
Could you help me to change to the default JVM. I have installed defult-jdk but the result now is worse: Service not started...
Are you sure there is enough free memory on your raspberry pi to run Traccar service?
I have only the system running. It is a clean installation :(
total used free shared buffers cached
Mem: 434 318 116 4 3 278
-/+ buffers/cache: 37 397
Swap: 99 0 99
My java version now looks like this:
java -version
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1+rpi1)
OpenJDK Zero VM (build 24.111-b01, interpreted mode)
It looks like you have just 100MB free memory. That won't be enough to run Traccar server. I would recommend to have at least 512MB.
So, it is not possible to run the server in a first Raspberry Model B :(
Thanks for your help
It might be possible, but you would have to fiddle with JVM parameters and reduce number of protocols.
It does not seem an easy work
Yes, it's not. I would recommend to get better hardware. Ideally a 1GB machine.
Hi,
I am trying to install traccar server on a raspberry pi model B (raspbian jessie lite) but as it appears that the process is running, it is impossible to connect to the login web page.
I have tried with both 3.8 and 3.9 version with the same results. The steps that I am following are these:
The output when I execute the daemon is:
Do someone have any idea to check why is not running properly?