Error while running on Ubuntu

Fareed Qureshi 3 years ago

I am trying to install Traccar on Ubuntu server, it is installed successfully but when I start service it gives me below error

2022-08-09 11:21:37  WARN: Port disabled due to conflict - Address already in use - BindException (... < WrapperOutboundHandler:38 < ...)
2022-08-09 11:21:37  INFO: jetty-10.0.7; built: 2021-10-06T19:34:02.766Z; git: da8a4553af9dd84080931fa0f8c678cd2d60f3d9; jvm 11.0.13+8-LTS
2022-08-09 11:21:37 ERROR: Main method error - Address already in use - BindException (... < WebServer:232 < Main:130 < *:112)

Also it is not accessible on default port 8082, looks like some port issue if you can help me in this matter.

x688399 3 years ago

run:

netstat -tulnp

Then you can see what is already binding to the port.
Many ports are needed if you enable all protocols

Fareed Qureshi 3 years ago

Below is the output, I think port is binded correctly. May be some issue at hosting provider end

tcp6 0 0 :::8082 :::* LISTEN 39374/java

Anton Tananaev 3 years ago

It seems like you're already have another process that uses the same ports. Maybe even another instance of Traccar.

Fareed Qureshi 3 years ago

Thank you for your help, actually I saw when I stop traccar services on ubuntu 16 it is getting failed and when I start again it gives me error of port is already binded. So that means traccar services were not stopping. I upgraded to Ubuntu 18 now issue is resolve. It seems I am only person was facing this issue or may be there is some issue while running traccar on ubuntu 16.