Hi, my server is not starting:
STATUS | wrapper | 2015/07/10 02:16:20 | --> Wrapper Started as Daemon
STATUS | wrapper | 2015/07/10 02:16:20 | Java Service Wrapper Community Edition 64-bit 3.5.26
STATUS | wrapper | 2015/07/10 02:16:20 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2015/07/10 02:16:20 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2015/07/10 02:16:20 |
STATUS | wrapper | 2015/07/10 02:16:20 | Launching a JVM...
INFO | jvm 1 | 2015/07/10 02:16:21 | WrapperManager: Initializing...
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp:
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5038
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.traccar.TrackerServer.start(TrackerServer.java:132)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.traccar.ServerManager.start(ServerManager.java:135)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.traccar.Main.main(Main.java:32)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Method.java:622)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.lang.Thread.run(Thread.java:701)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: Caused by: java.net.BindException: Address already in use
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.Net.bind0(Native Method)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.Net.bind(Net.java:174)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:139)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: ... 1 more
STATUS | wrapper | 2015/07/10 02:16:27 | <-- Wrapper Stopped
The problem is that you have some other application that uses network port 5038. You need to either stop that application or change Traccar to use different port.
Thanks,
How do I change it on your software? I was looking in to your conf files but can not find it.
Well I installed on a dedicated server and the server is running but can not access it using ipaddress:8082. There is no error. I have it on AWS/EC2 and the port is open.
So, you fixed the port problem? Check netstat
output to make sure that Traccar is listening on port 8082. If it does, then the problem must be with firewall settings.
Thanks, port was blocked by a second firewall. Solved.
Hi, my server is not starting:
STATUS | wrapper | 2015/07/10 02:16:20 | --> Wrapper Started as Daemon
STATUS | wrapper | 2015/07/10 02:16:20 | Java Service Wrapper Community Edition 64-bit 3.5.26
STATUS | wrapper | 2015/07/10 02:16:20 | Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2015/07/10 02:16:20 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2015/07/10 02:16:20 |
STATUS | wrapper | 2015/07/10 02:16:20 | Launching a JVM...
INFO | jvm 1 | 2015/07/10 02:16:21 | WrapperManager: Initializing...
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp:
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:5038
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.bootstrap.ServerBootstrap.bind(ServerBootstrap.java:272)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.traccar.TrackerServer.start(TrackerServer.java:132)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.traccar.ServerManager.start(ServerManager.java:135)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.traccar.Main.main(Main.java:32)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.lang.reflect.Method.invoke(Method.java:622)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:325)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.lang.Thread.run(Thread.java:701)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: Caused by: java.net.BindException: Address already in use
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.Net.bind0(Native Method)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.Net.bind(Net.java:174)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:139)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.NioServerBoss$RegisterTask.run(NioServerBoss.java:193)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.channel.socket.nio.NioServerBoss.run(NioServerBoss.java:42)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
INFO | jvm 1 | 2015/07/10 02:16:25 | WrapperSimpleApp Error: ... 1 more
STATUS | wrapper | 2015/07/10 02:16:27 | <-- Wrapper Stopped