Website does not show up

TomNick8 years ago

Hello everybody, I installed Server 3.10 on Ubuntu 16.04 on VPS. Installation without any errors!

++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
---------- YAJSW SET ENV ----------
++++++++++ YAJSW SET ENV ++++++++++
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
wrapper home : /opt/traccar
configuration: /opt/traccar/conf/wrapper.conf
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
---------- YAJSW SET ENV ----------
YAJSW: yajsw-stable-12.08
OS   : Linux/4.4.0-72-generic/amd64
JVM  : Oracle Corporation/1.8.0_121//usr/lib/jvm/java-8-oracle/jre/64
Apr 06, 2017 6:22:11 PM org.apache.commons.vfs2.VfsLog info
INFO: Using "/tmp/vfs_cache" as temporary files store.
Apr 06, 2017 6:22:12 PM org.rzo.yajsw.os.posix.PosixService init
INFO: /etc/init.d/traccar already exists
************* STARTING traccar ***********************

Apr 06, 2017 6:22:12 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Apr 06, 2017 6:22:12 PM org.rzo.yajsw.os.posix.PosixService start
INFO: already running
Apr 06, 2017 6:22:13 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Apr 06, 2017 6:22:13 PM org.rzo.yajsw.os.posix.PosixService getPid
INFO: wrapper pid file: /run/wrapper.traccar.pid
Service traccar started

When I try to open my http://myip:8082 nothing happens. Any idea what could be wrong? Thanks for some help! Tom

Anton Tananaev8 years ago

Please check logs.

TomNick8 years ago

I had to put a ufw rule into it and now it works

Kasimir618 years ago

I have same Problem, what is to do here ?

Server.log is this:

2017-04-11 14:39:37  INFO: Operating system name: Linux version: 3.16.0-042stab120.20 architecture: amd64
2017-04-11 14:39:37  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.121-b00
2017-04-11 14:39:37  INFO: Memory limit heap: 910mb non-heap: 214mb
2017-04-11 14:39:37  INFO: Character encoding: UTF-8 charset: UTF-8
2017-04-11 14:39:37  INFO: Version: 3.10-SNAPSHOT
2017-04-11 14:39:43  INFO: Starting server...
2017-04-11 14:45:31  INFO: Shutting down server...
2017-04-11 14:58:12  INFO: Operating system name: Linux version: 3.16.0-042stab120.20 architecture: amd64
2017-04-11 14:58:12  INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Oracle Corporation version: 24.121-b00
2017-04-11 14:58:12  INFO: Memory limit heap: 910mb non-heap: 214mb
2017-04-11 14:58:12  INFO: Character encoding: UTF-8 charset: UTF-8
2017-04-11 14:58:12  INFO: Version: 3.10-SNAPSHOT
2017-04-11 14:58:17  INFO: Starting server...

And wrapper.log is this:

WARNING|wrapper|Service traccar|17-04-11 14:39:34|YAJSW: yajsw-stable-12.08
WARNING|wrapper|Service traccar|17-04-11 14:39:34|OS   : Linux/3.16.0-042stab120.20/amd64
...
INFO|2931/0|Service traccar|17-04-11 14:58:18|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@4059577f{/api,null,AVAILABLE}
INFO|2931/0|Service traccar|17-04-11 14:58:18|[main] INFO org.eclipse.jetty.server.ServerConnector - Started ServerConnector@4594c0ae{HTTP/1.1}{0.0.0.0:8082}
INFO|2931/0|Service traccar|17-04-11 14:58:18|[main] INFO org.eclipse.jetty.server.Server - Started @8237ms

Regards Kasi

TomNick8 years ago

Kasi, just open port 8082 or whatever your port is, should solve the issue...do not forget to open the port you are using for your device later on...

Anton Tananaev8 years ago

@Kasimir61, there are no issues in your logs. Everything works fine. If you are not able to connect to the server, it must be some network issue. Possibly you haven't opened the port, as @TomNick pointed out.