Page 1 of 1

.ini error on startup

Posted: October 26th, 2009, 2:45 pm
by beanian
Hi Guys,
I have just installed(using apt-get) SAB(0.4.9) on my box that is running XBMCLive (unix). When i attempt to start the application using the init.d script i get the following error

Code: Select all

(T: XBMCLive)xbmc@XBMCLive:~$ /etc/init.d/sabnzbdplus start
 * Starting SABnzbd+ binary newsgrabber
Fatal error:
  "/home/xbmc/.sabnzbd/sabnzbd.ini" is not a valid configuration file.
Specify a correct file or delete this file.
I checked out the .ini file and it appears that the host value is enclosed in quotation marks (host="0.0.0.0"). When i remove the quotation marks and save the file it starts up fine. However when the service is stopped and started again (manually or via a system reboot) the error occurs again and the .ini file has the quotation marks surrounding the host value again.

Any Ideas?
Regards,
Ian

Re: .ini error on startup

Posted: October 26th, 2009, 2:50 pm
by shypike
This should not be a problem at all.
The INI file handler we use handles this properly.
Maybe ask the creator of the package for XBMCLive?

Re: .ini error on startup

Posted: October 26th, 2009, 3:48 pm
by switch
XBMCLive is just Ubuntu if I remember correctly.

As shypike says, host="0.0.0.0" should work fine, I am not sure why it is not working.

I would recommend you use a blank host (host=) which will auto find your localip address. This will mean you will always have to access it using http://yourlocalip:8080/sabnzbd/ and not using localhost at all.

Re: .ini error on startup

Posted: October 26th, 2009, 4:01 pm
by jcfp
switch wrote:XBMCLive is just Ubuntu if I remember correctly.
Correct. And that package does not ship an ini file.

Only possibility I could think of would be something incorrect in /etc/default/sabnbzdplus which is then added as command line argument when starting from the init script, making it reappear over and over again even if one deletes the ini.

Re: .ini error on startup

Posted: October 27th, 2009, 8:54 am
by beanian
Now that i think of it i did have to mess about with the /etc/default/sabnbzdplus in order to get sabnzbd to run.
I was getting a load of notfound errors in so i removed everything from the sabnzbdplus file apart from host,port and user settings. Once i did that sab loaded up straight away.
So i'm guessing the issue im having now is related to that. My current /etc/default/sabnbzdplus files looks like

Code: Select all

HOST=0.0.0.0
PORT:8082
USER:xbmc