Traccar Install, first run error [Centos 7]

Rusell6 years ago

Hi, I have downloaded for "Linux x64" installer archive traccar-linux-64-4.3.zip
$ rpm --query centos-release
centos-release-7-5.1804.5.el7.centos.x86_64

My actions:

  1. sudo yum install java-1.8.0-openjdk
  2. unpack archive & run sudo ./traccar.run
    Creating directory out
    Verifying archive integrity... 100% All good.
    Uncompressing traccar 100%
    Created symlink from /etc/systemd/system/multi-user.target.wants/traccar.service to /etc/systemd/system/traccar.service.
  3. Start traccar server: sudo jre/bin/java -jar tracker-server.jar conf/traccar.xml

See this message:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f26506d4d95, pid=17362, tid=17363
#
# JRE version: OpenJDK Runtime Environment (11.0.2+9) (build 11.0.2-ojdkbuild+9)
# Java VM: OpenJDK 64-Bit Server VM (11.0.2-ojdkbuild+9, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# j  java.lang.String.compareTo(Ljava/lang/String;)I+11 java.base@11.0.2-ojdkbuild
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/traccar/hs_err_pid17362.log
Compiled method (c2)     532   95       4       java.lang.String::coder (15 bytes)
 total in heap  [0x00007f2658265610,0x00007f2658265828] = 536
 relocation     [0x00007f2658265788,0x00007f2658265798] = 16
 main code      [0x00007f26582657a0,0x00007f26582657e0] = 64
 stub code      [0x00007f26582657e0,0x00007f26582657f8] = 24
 scopes data    [0x00007f26582657f8,0x00007f2658265800] = 8
 scopes pcs     [0x00007f2658265800,0x00007f2658265820] = 32
 dependencies   [0x00007f2658265820,0x00007f2658265828] = 8
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
#
Aborted
Rusell6 years ago

run by system java:
$sudo java -jar tracker-server.jar conf/traccar.xml
and server is started, but not work web-interface. I trying to enter by network http://%serverIP%:8082

I need to install apache?

Anton Tananaev6 years ago

If server is running, it should work.