.ini error on startup

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
beanian
Newbie
Newbie
Posts: 9
Joined: October 26th, 2009, 2:37 pm

.ini error on startup

Post 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
Last edited by beanian on October 26th, 2009, 2:47 pm, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: .ini error on startup

Post 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?
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: .ini error on startup

Post 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.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: .ini error on startup

Post 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.
beanian
Newbie
Newbie
Posts: 9
Joined: October 26th, 2009, 2:37 pm

Re: .ini error on startup

Post 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
Post Reply