Error: Exception starting shared server: bind: Address already in use

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
funky
Posts: 10
Joined: Saturday 06 May 2017 22:38
Target OS: -
Domoticz version:
Contact:

Error: Exception starting shared server: bind: Address already in use

Post by funky » Saturday 08 December 2018 18:09

Every time I reboot the raspberry pi I get the following error:

Error: Exception starting shared server: bind: Address already in use

i have no idea how to fix this. Already reinstalled Domoticz.. but no help.

Hopefully somebody can help me.

Code: Select all

2018-12-08 16:52:21.976 Status: Domoticz V4.9700 (c)2012-2018 GizMoCuz
2018-12-08 16:52:21.976 Status: Build Hash: a3a45906, Date: 2018-06-23 16:24:51
2018-12-08 16:52:21.976 Status: Startup Path: /home/pi/domoticz/
2018-12-08 16:52:22.034 Status: EventSystem: reset all events...
2018-12-08 16:52:22.122 Status: PluginSystem: Started, Python version '3.5.3'.
2018-12-08 16:52:22.132 Status: WebServer(HTTP) started on address: :: with port 8080
2018-12-08 16:52:22.142 Status: WebServer(SSL) started on address: :: with port 443
2018-12-08 16:52:22.143 Status: Proxymanager started.
2018-12-08 16:52:22.236 Status: RxQueue: queue worker started...
 >> HERE IS DE ERROR: 2018-12-08 16:52:22.235 Error: Exception starting shared server: bind: Address already in use
2018-12-08 16:52:24.237 Status: P1 Smart Meter: Using serial port: /dev/ttyUSB_P1
2018-12-08 16:52:24.241 Status: EventSystem: reset all events...
2018-12-08 16:52:24.241 Status: EventSystem: reset all device statuses...
2018-12-08 16:52:24.369 Status: Python EventSystem: Initalizing event module.
2018-12-08 16:52:24.369 Status: EventSystem: Started
2018-12-08 16:52:24.369 Status: EventSystem: Queue thread started...
2018-12-08 16:52:24.536 Status: PluginSystem: Entering work loop.
2018-12-08 16:52:24.753 Status: OpenZWave: using config in: /home/pi/domoticz/Config/
2018-12-08 16:52:24.755 Status: OpenZWave: Starting...
2018-12-08 16:52:24.755 Status: OpenZWave: Version: 1.4-2888-g54682370-dirty
2018-12-08 16:52:24.970 Status: OpenZWave: Driver Ready
2018-12-08 16:52:25.240 Status: RFXCOM: Using serial port: /dev/ttyUSB_RFX
2018-12-08 16:52:28.490 Status: P1 Smart Meter: Meter reports as DSMR 4.2
2018-12-08 16:52:29.049 Status: P1 Smart Meter: Found gas meter on M-Bus channel 1
2018-12-08 16:52:55.830 Status: OpenZWave: Received timeout notification from HomeID: 3849606008, NodeID: 3 (0x03)
2018-12-08 16:53:02.036 Status: Notification sent (Email)
2018-12-08 16:53:06.057 Status: OpenZWave: Received timeout notification from HomeID: 3849606008, NodeID: 4 (0x04)
2018-12-08 16:53:16.366 Status: OpenZWave: Received timeout notification from HomeID: 3849606008, NodeID: 5 (0x05)
2018-12-08 16:53:16.596 Status: OpenZWave: Awake Nodes queried

SweetPants
Posts: 2397
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10267
Location: The Netherlands
Contact:

Re: Error: Exception starting shared server: bind: Address already in use

Post by SweetPants » Saturday 08 December 2018 19:18

Something else running on port 443 or 8080?
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

funky
Posts: 10
Joined: Saturday 06 May 2017 22:38
Target OS: -
Domoticz version:
Contact:

Re: Error: Exception starting shared server: bind: Address already in use

Post by funky » Saturday 08 December 2018 21:03

No there are no services running on port 8080 of 443.

SweetPants
Posts: 2397
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10267
Location: The Netherlands
Contact:

Re: Error: Exception starting shared server: bind: Address already in use

Post by SweetPants » Sunday 09 December 2018 11:53

funky wrote:
Saturday 08 December 2018 21:03
No there are no services running on port 8080 of 443.
Are you using a slave domoticz server? The message is comming from the tcpserver/TCPServer trying to start. Check port 6144 also
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

funky
Posts: 10
Joined: Saturday 06 May 2017 22:38
Target OS: -
Domoticz version:
Contact:

Re: Error: Exception starting shared server: bind: Address already in use

Post by funky » Sunday 09 December 2018 12:07

This a are all my used ports.

Code: Select all

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      -                   
tcp6       0      0 :::8080                 :::*                    LISTEN      -                   
tcp6       0      0 :::22                   :::*                    LISTEN      -                   
tcp6       0      0 :::8090                 :::*                    LISTEN      -                   
udp        0      0 0.0.0.0:68              0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:54421           0.0.0.0:*                           -                   
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           -                   
udp6       0      0 :::60778                :::*                                -                   
udp6       0      0 :::546                  :::*                                -                   
udp6       0      0 :::5353                 :::*                                -                   

Post Reply

Who is online

Users browsing this forum: al300kr and 1 guest