I setup XBMC on my fresh Ubuntu install, and I'm hoping to have sabnzbdplus run as a service in the background.
My session (upon startup) goes directly into XBMC (gnome is not started).
Upon startup, it appears as though sabnzbplus has started, but when I try and go to the web interface, I get "Firefox can't establish a connection to the server at 192.168.1.154:8080".
When I check the system monitor, I can see that the service is running:
If I stop the service, and restart it:
All of a sudden I can log into the web interface. Very frustrating.xbmc@rocky:~$ sudo /etc/init.d/sabnzbdplus stop
* Stopping SABnzbd+ binary newsgrabber [ OK ]
xbmc@rocky:~$ sudo /etc/init.d/sabnzbdplus start
* Starting SABnzbd+ binary newsgrabber [ OK ]
This is my /etc/default/sabnzbdplus:
# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.
# [required] user or uid of account to run the program as:
USER=xbmc
# [optional] full path to the configuration file of your choice;
# otherwise, the default location (in $USER's home
# directory) is used:
CONFIG=
# [optional] hostname/ip and port number to listen on:
HOST=
PORT=
# [optional] extra command line options, if any:
EXTRAOPTS=
I checked my /home/xbmc/.sabnzbd/logs/sabnzbd.error.log, and I found this:
Any ideas?Exception in thread CPHTTPServer Thread-7:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/usr/lib/python2.5/threading.py", line 446, in run
self.__target(*self.__args, **self.__kwargs)
File "/var/lib/python-support/python2.5/cherrypy/_cpserver.py", line 114, in _start_http
self.httpserver.start()
File "/var/lib/python-support/python2.5/cherrypy/_cpwsgiserver.py", line 370, in start
raise socket.error, msg
error: (99, 'Cannot assign requested address')
Thank you for your time!