Page 1 of 2

sabnzbd.ini not found on mac

Posted: October 9th, 2013, 5:07 am
by santazero
Hello guys,

i googled the whole internet for a solution but none of the ones i found could help me. i am not soo good with mac os so maybe its my fault but i cant find the sabnzbd.ini

i forgot my pw and i cant reset it on my mac. i activated the hidden files so i can see them all in the "finder".
i tried every command via c&p i found via google to find the sabnzbd.ini but i cant find it.

always getting "no such file or directory".

any1 an idea how/where to find the sabnzbd.ini

i am using mac os lion 10.8.4 and SABnzbd 0.7.11


Thanks, santa

Re: sabnzbd.ini not found on mac

Posted: October 9th, 2013, 10:42 am
by sander
~/Library/Application Support/SABnzbd/sabnzbd.ini

See http://wiki.sabnzbd.org/faq#toc19

Re: sabnzbd.ini not found on mac

Posted: October 10th, 2013, 4:34 pm
by lukasskott
I have the same issue - but im pretty sure I know why I cant find it. I navigated to the above path and deleted it in an attempt to uninstall/reinstall that way i could get back to setup wizard due to not being able to access from outside of network (still not resolved).

However when i installed sabnzbd, it does not give me the quick start wizard.. it remembers my information somehow - eventhough i deleted the ini file and folder.

Anyone have any recommendations? I have spent about 12 hours attempting to get this setup and working from outside my LAN.

Re: sabnzbd.ini not found on mac

Posted: October 10th, 2013, 11:51 pm
by sander
You can only successfully delete sabnzbd.ini when SABnzbd itself is NOT running.

Re: sabnzbd.ini not found on mac

Posted: October 12th, 2013, 4:33 am
by santazero
sander wrote:~/Library/Application Support/SABnzbd/sabnzbd.ini

See http://wiki.sabnzbd.org/faq#toc19

there is and never was a folder like this.

Library/Application Support/ has only a folder from adobe and some other programs. but no sabnzbd folder or file

i read all the FAQs and Threads about it but i cant solve the problem. And SABnzbd isnt running while i was lookin for this

Re: sabnzbd.ini not found on mac

Posted: October 12th, 2013, 5:01 am
by sander
Let's then go into brute-force mode:

Open a terminal and type:

Code: Select all

locate sabnzbd.ini
sudo /usr/libexec/locate.updatedb
locate sabnzbd.ini
Post the output here

Re: sabnzbd.ini not found on mac

Posted: October 12th, 2013, 5:30 am
by santazero
Martins-iMac:~ martinxxx$ locate sabnzbd.ini

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

Martins-iMac:~ martinxxx$ sudo/usr/libexec/locate.updatedb
-bash: sudo/usr/libexec/locate.updatedb: No such file or directory
Martins-iMac:~ martinxxx$ locate sabnzbd.ini

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

Martins-iMac:~ martinxxx$

Re: sabnzbd.ini not found on mac

Posted: October 12th, 2013, 5:47 am
by sander
So ... was the database created? If so, what is the output of "locate sabnzbd.ini"

Re: sabnzbd.ini not found on mac

Posted: October 13th, 2013, 1:11 am
by sander
... and ... ?

Re: sabnzbd.ini not found on mac

Posted: October 13th, 2013, 5:03 am
by santazero
sry wasnt at home.

here is the total output from the beginning:


Last login: Sat Oct 12 11:33:26 on ttys000
Martins-iMac:~ martinxxx$ locate sabnzbd.ini

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

Martins-iMac:~ martinxxx$ sudo/usr/libexec/locate.updatedb
-bash: sudo/usr/libexec/locate.updatedb: No such file or directory
Martins-iMac:~ martinxxx$ locate sabnzbd.ini

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

Martins-iMac:~ martinxxx$
Martins-iMac:~ martinxxx$ locate sabnzbd.ini

WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.

Martins-iMac:~ martinxxx$ sudo /usr/libexec/locate.updatedb

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
Sorry, try again.
Password:
Martins-iMac:~ martinxxx$ sudo /usr/libexec/locate.updatedb
locate sabnzbd.ini
Last login: Sat Oct 12 12:28:33 on ttys000
Martins-iMac:~ martinxxx$ d
-bash: d: command not found
Martins-iMac:~ martinxxx$ locate sabnzbd.ini
Martins-iMac:~ martinxxx$
Martins-iMac:~ martinxxx$ locate sabnzbd.ini
Martins-iMac:~ martinxxx$
Last login: Sun Oct 13 11:56:41 on console
localhost:~ martinxxx$ locate sabnzbd.ini
localhost:~ martinxxx$ sudo /usr/libexec/locate.updatedb
Password:
locate sabnzbd.ini
launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
locate sabnzbd.ini


nothing happens when i am typin locate sabnzbd.ini

Re: sabnzbd.ini not found on mac

Posted: October 13th, 2013, 3:03 pm
by sander
Can you try to execute the needed commands without errors, typo's and missing spaces? Now, with all the errors, it's hard to see what's going on.

And try to read what the OS says to you. And only type commands on the command line (so with a "$" visible).

EDIT:

And if the OS tells you to run "sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist" ... just do that. Do not leave out the "sudo". Do not leave out spaces.

Re: sabnzbd.ini not found on mac

Posted: October 14th, 2013, 4:03 am
by santazero
y sry i am a totally beginner with the terminal etc.

when i am typing "locate sabnzbd.ini" now, he waits for 1-2 secs and jumps to the next command line without showing me anything.

if i am typing sudo /usr/libexec/locate.updatedb now, i have to type my password, and after doing this, there is no command line.

it looks like this:

localhost:~ martinxxx$ sudo /usr/libexec/locate.updatedb
Password:
locate sabnzbd.ini

after a few secs/ 1 minute he jumps back to command line:

localhost:~ martinxxx$
typing "locate sabnzbd.ini" on the commandline still no success.

so i dont know, what i have to do now.

Re: sabnzbd.ini not found on mac

Posted: October 14th, 2013, 9:07 am
by sander
Open a Terminal

Code: Select all

cd
pwd
ls -al Library/Application\ Support/SABnzbd/sabnzbd.ini
Post the output.

No typos or errors please

Re: sabnzbd.ini not found on mac

Posted: October 14th, 2013, 10:33 am
by santazero
ocalhost:~ martinxxx$ cd
localhost:~ martinxxx$ pwd
/Users/martinxxx
localhost:~ martinxxx$ ls -al Library/Application\ Support/SABnzbd/sabnzbd.ini
-rw------- 1 martinxxx staff 3440 12 Okt 11:36 Library/Application Support/SABnzbd/sabnzbd.ini
localhost:~ martinxxx$

Re: sabnzbd.ini not found on mac

Posted: October 14th, 2013, 12:43 pm
by sander
So ... there you have it. Exactly in the place that I told you ...

OK. Stop SABnzbd. Double-check SABnzbd is not running.
Then open sabnzbd.ini for editing, and follow the instruction here: http://wiki.sabnzbd.org/faq#toc21
Save & exit the editor

Then start SABnzbd