I have my Traccar installed on Windows server 2012.
i had been running fine for a while.
There was a java update around a month back which installed by mistake.
since then feel i am facing issue in my service getting crashed/ not working repeatedly.
please help.
INFO|304660/0|Service traccar|18-11-27 10:01:08|INFO 11/27/18 10:01 AM: liquibase: Successfully released change log lock
INFO|304660/0|Service traccar|18-11-27 10:01:09|[main] INFO org.eclipse.jetty.util.log - Logging initialized @4801ms
INFO|304660/0|Service traccar|18-11-27 10:01:10|java.lang.reflect.InvocationTargetException
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at java.lang.reflect.Method.invoke(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|304660/0|Service traccar|18-11-27 10:01:10|Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:51000
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.traccar.TrackerServer.start(TrackerServer.java:117)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.traccar.ServerManager.start(ServerManager.java:81)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.traccar.Main.main(Main.java:38)
INFO|304660/0|Service traccar|18-11-27 10:01:10| ... 6 more
INFO|304660/0|Service traccar|18-11-27 10:01:10|Caused by: java.net.BindException: Address already in use: bind
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.nio.ch.Net.bind0(Native Method)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.nio.ch.Net.bind(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.nio.ch.Net.bind(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO|304660/0|Service traccar|18-11-27 10:01:10| at java.lang.Thread.run(Unknown Source)
INFO|wrapper|Service traccar|18-11-27 10:01:10|calling onStop
INFO|wrapper|Service traccar|18-11-27 10:01:10|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|18-11-27 10:01:10|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|18-11-27 10:01:10|Win service stop - after shutdown
INFO|wrapper|Service traccar|18-11-27 10:01:10|Win service stop - before notify
INFO|wrapper|Service traccar|18-11-27 10:01:10|Win service terminated
You have a port conflict with some other process. Possibly another instance of Traccar.
Hey Anton
thanks for your reply.
Yes i do see there is port conflict at port 51000
Like:
INFO|304660/0|Service traccar|18-11-27 10:01:10|Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:51000
the port has same PID as java service that is running of traccar.
what to do.
when i kill the java and restart the service it works for another 30-40 minutes and again the same issue arises.
This issue can only happen when you start service.
I have my Traccar installed on Windows server 2012.
i had been running fine for a while.
There was a java update around a month back which installed by mistake.
since then feel i am facing issue in my service getting crashed/ not working repeatedly.
please help.