webserver fails to start after XBMC crash. Port blocked by service addon
#1
Hi,

I posted this on the openelec forums as well but thought I'd try here too since I've had no luck there so far:

http://www.openelec.tv/forum/28-issue-re...nzbd-suite

Basically if a XBMC service addon is running and using a port (in my case it is either Sabnzbd service or transmission), and XBMC crashes and restarts itself, the port that XBMC was previously using seems to be blocked by the service addon and so the webserver fails to start.


After a clean boot of openelec I can see from netstat -tunlp that xbmc.bin is listening on the expected port, in my case I am using port 19806

tcp 0 0 0.0.0.0:19806 0.0.0.0:* LISTEN 1127/xbmc.bin



but if I kill process 1127 all of a sudden something else grabs the port

tcp 0 0 0.0.0.0:19806 0.0.0.0:* LISTEN 1381/python



which ps -ef | grep 1381 reveals to be

1381 root 0:01 python /storage/.xbmc/addons/service.downloadmanager.SABnzbd-Suite/SABnzbd/SABnzbd.py -d -f /storage/.xbmc/userdata/addon_data/service.downloadmanager.SABnzbd-Suite/sabnzbd.ini -l 0



But unfortunately I can't imagine why this would be or how to stop it happening. Could one of the devs please help? Or perhaps someone can suggest a workaround, like reserving the port for exclusive use by xbmc.bin.

Thanks for any help
Reply
#2
Bump! Anyone?
Reply

Logout Mark Read Team Forum Stats Members Help
webserver fails to start after XBMC crash. Port blocked by service addon0