can't start traccar server on windows any more

Don Russo6 years ago

hello,

no server start can be performed.

Both ports are open, in win and router. Other services on the mashine can be reached from ddns.

The problem consits since 3.14 and still there at 3.15

Any One an idea?

Don Russo6 years ago

...my idea is that java is the problem, mostly it is ;-)

Sean6 years ago

is it the login window you missing? is the traccar not starting if you restart?

Don Russo6 years ago

ERR_CONNECTION_TIMED_OUT

Nope, it isn't starts auto.

tried to restrart from manager, reinstall many times... no connection because traccar server do not stat

Sean6 years ago

backup your Data

uninstall
reboot
install traccar

see if it bots now?

if it does just copy paste your Data back

Don Russo6 years ago

Just reinstall traccar again.

When i start Service "traccar" it stops, after refresh of the view ist being performed.

The hole time Traccar Server times out on localhost Browser request.

Anton Tananaev6 years ago

Have you checked logs?

Don Russo6 years ago

Where are the logs?

Don Russo6 years ago

traccar\logs\traccar-server

2017-12-23 01:56:38  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2017-12-23 01:56:38  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.151-b12
2017-12-23 01:56:38  INFO: Memory limit heap: 910mb non-heap: 0mb
2017-12-23 01:56:38  INFO: Character encoding: UTF-8 charset: UTF-8
2017-12-23 01:56:38  INFO: Version: 3.15-SNAPSHOT
2017-12-23 01:57:02  INFO: Starting server...
Anton Tananaev6 years ago

What about wrapper log?

Don Russo6 years ago
WARNING|wrapper|Service traccar|17-12-23 09:57:23|YAJSW: yajsw-stable-12.11
WARNING|wrapper|Service traccar|17-12-23 09:57:23|OS   : Windows 10/10.0/amd64
WARNING|wrapper|Service traccar|17-12-23 09:57:23|JVM  : Oracle Corporation/1.8.0_151/C:\Program Files\Java\jre1.8.0_151/64
INFO|wrapper|Service traccar|17-12-23 09:57:24|start delay: 0
INFO|wrapper|Service traccar|17-12-23 09:57:26|started process with pid 5040
INFO|5040/0|Service traccar|17-12-23 09:57:30|[INFO] StandardFileSystemManager - Using "C:\Windows\TEMP\vfs_cache" as temporary files store.
INFO|5040/0|Service traccar|17-12-23 09:57:36|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
INFO|5040/0|Service traccar|17-12-23 09:57:38|[main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
INFO|5040/0|Service traccar|17-12-23 09:57:42|INFO 12/23/17 9:57 AM: liquibase: Clearing database change log checksums
INFO|5040/0|Service traccar|17-12-23 09:57:42|INFO 12/23/17 9:57 AM: liquibase: Successfully acquired change log lock
INFO|5040/0|Service traccar|17-12-23 09:57:43|INFO 12/23/17 9:57 AM: liquibase: Successfully released change log lock
INFO|5040/0|Service traccar|17-12-23 09:57:43|INFO 12/23/17 9:57 AM: liquibase: Successfully acquired change log lock
INFO|5040/0|Service traccar|17-12-23 09:57:51|INFO 12/23/17 9:57 AM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|5040/0|Service traccar|17-12-23 09:57:52|INFO 12/23/17 9:57 AM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
INFO|5040/0|Service traccar|17-12-23 09:57:52|INFO 12/23/17 9:57 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:
INFO|5040/0|Service traccar|17-12-23 09:57:52|ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token [90057-196] [Failed SQL: ALTER TABLE PUBLIC.users DROP CONSTRAINT uk_user_token]
INFO|5040/0|Service traccar|17-12-23 09:57:52|INFO 12/23/17 9:57 AM: liquibase: Successfully released change log lock
INFO|5040/0|Service traccar|17-12-23 09:57:53|[main] INFO org.eclipse.jetty.util.log - Logging initialized @27371ms
INFO|5040/0|Service traccar|17-12-23 09:57:58|java.lang.reflect.InvocationTargetException
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at java.lang.reflect.Method.invoke(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.rzo.yajsw.app.WrapperJVMMain.executeMain(WrapperJVMMain.java:60)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.rzo.yajsw.app.WrapperJVMMain.main(WrapperJVMMain.java:43)
INFO|5040/0|Service traccar|17-12-23 09:57:58|Caused by: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5040
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.traccar.TrackerServer.start(TrackerServer.java:117)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.traccar.ServerManager.start(ServerManager.java:81)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.traccar.Main.main(Main.java:38)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	... 6 more
INFO|5040/0|Service traccar|17-12-23 09:57:58|Caused by: java.net.BindException: Address already in use: bind
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.nio.ch.Net.bind0(Native Method)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.nio.ch.Net.bind(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.nio.ch.Net.bind(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO|5040/0|Service traccar|17-12-23 09:57:58|	at java.lang.Thread.run(Unknown Source)
INFO|wrapper|Service traccar|17-12-23 09:57:59|calling onStop
INFO|wrapper|Service traccar|17-12-23 09:57:59|Win service stop - timeout: 30000
INFO|wrapper|Service traccar|17-12-23 09:57:59|Win service wrapper.control -> stopping application
INFO|wrapper|Service traccar|17-12-23 09:57:59|Win service stop - after shutdown
INFO|wrapper|Service traccar|17-12-23 09:57:59|Win service stop - before notify
INFO|wrapper|Service traccar|17-12-23 09:57:59|Win service terminated
Anton Tananaev6 years ago

You have a port conflict (port 5040) with some other process on your system. It has been discussed million times on the forum before.

Don Russo6 years ago

ok, nice. You got the problem.

How do i solve it, it runs befor without problems.

Where the port conflict come from?!

thanks

Don Russo6 years ago

i find this entry in default.xml

<entry key='carscop.port'>5040</entry>

can i delete this entry?

Don Russo6 years ago

ok, now it works.

Thank You, have nice Christmas Days