Hello, I have a problem with traccar 3.15 and previous. It doesn't run in Windows 10 after update.
This is in the logs:
[main] INFO org.eclipse.jetty.util.log - Logging initialized @51032ms
FINEST|12856/0|Service traccar|18-01-22 11:45:49|java.lang.reflect.InvocationTargetException
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at java.lang.reflect.Method.invoke(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
FINEST|12856/0|Service traccar|18-01-22 11:45:49|Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5040
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.traccar.TrackerServer.start(TrackerServer.java:117)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.traccar.ServerManager.start(ServerManager.java:81)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.traccar.Main.main(Main.java:38)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| ... 6 more
FINEST|12856/0|Service traccar|18-01-22 11:45:49|Caused by: java.net.BindException: Address already in use: bind
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.nio.ch.Net.bind0(Native Method)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.nio.ch.Net.bind(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.nio.ch.Net.bind(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
FINEST|12856/0|Service traccar|18-01-22 11:45:49| at java.lang.Thread.run(Unknown Source)
INFO|wrapper|Service traccar|18-01-22 11:45:49|calling onStop
INFO|wrapper|Service traccar|18-01-22 11:45:49|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|18-01-22 11:45:49|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|18-01-22 11:45:49|Win service stop - after shutdown
INFO|wrapper|Service traccar|18-01-22 11:45:49|Win service stop - before notify
INFO|wrapper|Service traccar|18-01-22 11:45:49|Win service terminated
and this is with execute for CMD:
c:\Program Files\Traccar>java -jar tracker-server.jar "c:\Program Files\Traccar\conf\traccar.xml"
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO 1/22/18 11:51 AM: liquibase: Clearing database change log checksums
INFO 1/22/18 11:51 AM: liquibase: Successfully acquired change log lock
INFO 1/22/18 11:51 AM: liquibase: Successfully released change log lock
INFO 1/22/18 11:51 AM: liquibase: Successfully acquired change log lock
INFO 1/22/18 11:51 AM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 1/22/18 11:51 AM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO 1/22/18 11:51 AM: liquibase: ./schema/changelog-master.xml: changelog-3.8::changelog-3.8-dropuniquetoken::author: Change set changelog-3.8::changelog-3.8-dropuniquetoken::author failed, but failOnError was false. Error: Constraint "UK_USER_TOKEN" not found; SQL statement:
ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-196] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO 1/22/18 11:51 AM: liquibase: Successfully released change log lock
[main] INFO org.eclipse.jetty.util.log - Logging initialized @22399ms
Exception in thread "main" org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5040
at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
at org.traccar.TrackerServer.start(TrackerServer.java:117)
at org.traccar.ServerManager.start(ServerManager.java:81)
at org.traccar.Main.main(Main.java:38)
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.Net.bind(Unknown Source)
at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Help me Please!!!
You have a port conflict with some other process on port 5040. It has been discussed many times.
You can try this...
Open default.xml and comment out following line
<entry key='carscop.port'>5040</entry>
Note: You wont be able to use tracking devices on this port.
Hello, I have a problem with traccar 3.15 and previous. It doesn't run in Windows 10 after update.
This is in the logs:
and this is with execute for CMD:
Help me Please!!!