Sorry for bothering, I've still got some strange behaviour / problems when restarting the Linuxserver.
After restart I still get the Apache Landingpage, even on port 8082.
This is what wrapper.log has:
...
INFO|15829/0|Service traccar|18-07-01 20:10:22|[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.t.w.@b7d0ef{/,null,AVAILABLE}
INFO|15829/0|Service traccar|18-07-01 20:10:22|[main] WARN org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED ServerConnector@1787b64{HTTP/1.1}{0.0.0.0:8082}: java.net.BindException: Die Adresse wird bereits verwendet
INFO|15829/0|Service traccar|18-07-01 20:10:22|java.net.BindException: Die Adresse wird bereits verwendet
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.Net.bind0(Native Method)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.Net.bind(Net.java:433)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.Net.bind(Net.java:425)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.Server.doStart(Server.java:366)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.traccar.web.WebServer.start(WebServer.java:197)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.traccar.Main.main(Main.java:40)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at java.lang.reflect.Method.invoke(Method.java:498)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|15829/0|Service traccar|18-07-01 20:10:22|[main] WARN org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.Server@1b3752b: java.net.BindException: Die Adresse wird bereits verwendet
INFO|15829/0|Service traccar|18-07-01 20:10:22|java.net.BindException: Die Adresse wird bereits verwendet
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.Net.bind0(Native Method)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.Net.bind(Net.java:433)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.Net.bind(Net.java:425)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.server.Server.doStart(Server.java:366)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.traccar.web.WebServer.start(WebServer.java:197)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.traccar.Main.main(Main.java:40)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at java.lang.reflect.Method.invoke(Method.java:498)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|15829/0|Service traccar|18-07-01 20:10:22| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|wrapper|Service traccar|18-07-01 20:39:51|Shutting down Wrapper
INFO|wrapper|Service traccar|18-07-01 20:39:51|stopping process with pid/timeout 15829 45000
INFO|wrapper|Service traccar|18-07-01 20:39:51|waitpid 15829 15
INFO|wrapper|Service traccar|18-07-01 20:39:51|exit code posix process: 15 application(status/signal): 0/15
INFO|wrapper|Service traccar|18-07-01 20:39:51|killing 15829
INFO|wrapper|Service traccar|18-07-01 20:39:52|process exit code: 0
As I am no server expert at all, I am running out of ideas what is going wrong and driving me insane...
Any suggestions?
Cheers,
Elwood
installation information?
did you have it working at one time?
It looks like you have a port conflict.
Thank you guys.
Installation is Lubuntu 16.04 LTS with LAMP.
Dyndns is done with ddclient, router has working port forwarding.
Yes I got it working a couple of days ago, and updated the Linux kernel yesterday.
@Anton: is it "java.net.BindException:..." that says me that there is a port conflict?
Any clues to solve this?
What I am wondering about: shutting down a running server (I recorded some tracks some days ago) and restarting within 5 minutes gives me the standart Apache landing page whe calling localhost:8082. Even from outside only the apache page appears...
Cheers,
Lars
You can't have two processes using the same port. Obviously if Apache is already using it, Traccar won't be able to use it. And it won't be able to start because the port is already in use.
Anton, this is a very quick response, indeed!
I put "Listen 8082" in Apache config, was that wrong?
Apache has nothing to do with Traccar, so I'm a bit confused about your question.
Well, I thought I had to add "Listen 8082" in Apache config (/etc/apache2/ports.conf) ?
By stock installation there is just "Listen 80" in ports.conf.
Sorry, but can you please point out where you read that you need Apache for Traccar.
Oh, I don't need Apache??
If so, I did not see the wood for the trees...
All the time I thought I need to have Apache...
No, Traccar has own embedded web server.
Aaah, okay. I'll figure it out later after work what will happen when I stop the Apache.
Many thanks again, Anton!
Good evening.
Traccar works now, I did several server restarts.
It was really my fault putting "Listen 8082" into apache.conf.
Many, many thanks again, and for the really quick response!
Cheers,
Elwood
Sorry for bothering, I've still got some strange behaviour / problems when restarting the Linuxserver.
After restart I still get the Apache Landingpage, even on port 8082.
This is what wrapper.log has:
As I am no server expert at all, I am running out of ideas what is going wrong and driving me insane...
Any suggestions?
Cheers,
Elwood