Page 1 of 1

SABnzb crashes immediately on Startup [OSX]

Posted: October 21st, 2013, 10:36 pm
by rajbalwani
never had a problem before but now it wont start at all. I even tried uninstalling and reinstalling previous version. Here is the log: <<<HELP>>>>

2013-10-21 20:27:34,336::INFO::[__init__:1592] Console logging for OSX App disabled
2013-10-21 20:27:34,336::INFO::[__init__:1592] --------------------------------
2013-10-21 20:27:34,337::INFO::[__init__:1592] SABnzbd.py-0.7.12 (rev=ca9f10c12fb3dada0c50b7e6aa3f08e091a003d3)
2013-10-21 20:27:34,337::INFO::[__init__:1592] Platform = posix
2013-10-21 20:27:34,337::INFO::[__init__:1592] Python-version = 2.7.1 (r271:86832, Jun 16 2011, 16:59:06)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
2013-10-21 20:27:34,338::INFO::[__init__:1592] Arguments = /Applications/SABnzbd.app/Contents/Resources/SABnzbd.py -psn_0_262208
2013-10-21 20:27:34,338::INFO::[__init__:1592] [osx] IO priority setting
2013-10-21 20:27:34,364::INFO::[__init__:1592] [osx] IO priority set to throttle for process scope
2013-10-21 20:27:34,364::INFO::[__init__:1592] Read INI file /Users/ServerRaj/Library/Application Support/SABnzbd/sabnzbd.ini
2013-10-21 20:27:34,365::INFO::[__init__:1592] Loading data for bookmarks.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/bookmarks.sab
2013-10-21 20:27:34,366::INFO::[__init__:1592] Loading data for rss_data.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/rss_data.sab
2013-10-21 20:27:34,366::INFO::[__init__:1592] Loading data for totals9.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/totals9.sab
2013-10-21 20:27:34,366::DEBUG::[__init__:1600] Read quota q=0.0 l=0.0 reset=0
2013-10-21 20:27:34,367::INFO::[__init__:1592] Loading postproc queue
2013-10-21 20:27:34,367::INFO::[__init__:1592] Loading data for postproc1.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/postproc1.sab
2013-10-21 20:27:34,367::INFO::[__init__:1592] Loading data for queue9.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/queue9.sab
2013-10-21 20:27:34,368::DEBUG::[__init__:1600] Initializing downloader/decoder
2013-10-21 20:27:34,368::INFO::[__init__:1592] Loading data for watched_data.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/watched_data.sab
2013-10-21 20:27:34,369::DEBUG::[__init__:1600] Scheduling RSS interval task every 60 min (delay=27)
2013-10-21 20:27:34,369::DEBUG::[__init__:1600] Scheduling VersionCheck on day 3 at 9:31
2013-10-21 20:27:34,369::INFO::[__init__:1592] Setting schedule for midnight BPS reset
2013-10-21 20:27:34,370::INFO::[__init__:1592] Resuming
2013-10-21 20:27:34,370::DEBUG::[__init__:1600] PAUSED_ALL inactive
2013-10-21 20:27:34,370::INFO::[__init__:1592] All processes started
2013-10-21 20:27:34,370::INFO::[__init__:1592] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Plush
2013-10-21 20:27:34,371::INFO::[__init__:1592] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Config
2013-10-21 20:27:34,381::ERROR::[__init__:1567] _yenc module... NOT found!
2013-10-21 20:27:34,381::INFO::[__init__:1592] par2 binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/par2/par2-sl)
2013-10-21 20:27:34,381::INFO::[__init__:1592] unrar binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/unrar/unrar)
2013-10-21 20:27:34,381::INFO::[__init__:1592] unzip binary... found (/usr/bin/unzip)
2013-10-21 20:27:34,382::INFO::[__init__:1592] nice binary... found (/usr/bin/nice)
2013-10-21 20:27:34,382::INFO::[__init__:1592] ionice binary... NOT found!
2013-10-21 20:27:34,382::INFO::[__init__:1592] pyOpenSSL... found (True)
2013-10-21 20:27:34,383::INFO::[__init__:1592] Starting web-interface on 0.0.0.0:8080
2013-10-21 20:27:34,384::ERROR::[__init__:1567] Failed to start web-interface:
Traceback (most recent call last):
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1489, in main
File "cherrypy/process/servers.pyc", line 228, in check_port
gaierror: [Errno 8] nodename nor servname provided, or not known
2013-10-21 20:27:34,384::ERROR::[__init__:1567] Failed to start web-interface : [Errno 8] nodename nor servname provided, or not known
2013-10-21 20:27:34,384::INFO::[__init__:1592] SABnzbd shutting down...
2013-10-21 20:27:34,385::INFO::[__init__:1592] Saving data for bookmarks.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/bookmarks.sab
2013-10-21 20:27:34,385::DEBUG::[__init__:1600] Stopping URLGrabber
2013-10-21 20:27:34,386::INFO::[__init__:1592] URLGrabber shutting down
2013-10-21 20:27:34,386::DEBUG::[__init__:1600] Stopping Newzbin-Grabber
2013-10-21 20:27:34,386::DEBUG::[__init__:1600] Stopping dirscanner
2013-10-21 20:27:34,386::INFO::[__init__:1592] Saving data for watched_data.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/watched_data.sab
2013-10-21 20:27:34,387::INFO::[__init__:1592] Dirscanner shutting down
2013-10-21 20:27:34,387::DEBUG::[__init__:1600] Stopping downloader
2013-10-21 20:27:34,388::DEBUG::[notifier:112] Sending registration to localhost:23053
2013-10-21 20:27:34,388::DEBUG::[notifier:102] Checking icon
2013-10-21 20:27:34,393::DEBUG::[notifier:219] To : localhost:23053 <<class 'gntp.GNTPRegister'>>
2013-10-21 20:27:34,393::DEBUG::[__init__:1600] Cannot register with Growl [Errno 8] nodename nor servname provided, or not known
2013-10-21 20:27:34,889::DEBUG::[__init__:1600] Stopping assembler
2013-10-21 20:27:34,890::DEBUG::[__init__:1600] Stopping postprocessor
2013-10-21 20:27:34,893::INFO::[__init__:1592] Saving postproc queue
2013-10-21 20:27:34,893::INFO::[__init__:1592] Saving data for postproc1.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/postproc1.sab
2013-10-21 20:27:34,894::INFO::[__init__:1592] Saving queue
2013-10-21 20:27:34,894::INFO::[__init__:1592] Saving data for queue9.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/queue9.sab
2013-10-21 20:27:34,895::INFO::[__init__:1592] Saving data for totals9.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/totals9.sab
2013-10-21 20:27:34,896::INFO::[__init__:1592] Saving data for rss_data.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/rss_data.sab
2013-10-21 20:27:34,896::INFO::[__init__:1592] Saving data for bookmarks.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/bookmarks.sab
2013-10-21 20:27:34,896::INFO::[__init__:1592] Saving data for watched_data.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/watched_data.sab
2013-10-21 20:27:34,897::INFO::[__init__:1592] Saving postproc queue
2013-10-21 20:27:34,898::INFO::[__init__:1592] Saving data for postproc1.sab in /Users/ServerRaj/Library/Application Support/SABnzbd/admin/postproc1.sab
2013-10-21 20:27:34,951::DEBUG::[__init__:1600] Terminating scheduler
2013-10-21 20:27:34,951::INFO::[__init__:1592] All processes stopped
2013-10-21 20:27:35,408::INFO::[__init__:1592] [osx] application terminating
2013-10-21 20:27:35,465::INFO::[__init__:1592] [osx] application stopping daemon
2013-10-21 20:27:35,466::INFO::[_cplogging:55] [21/Oct/2013:20:27:35] ENGINE Bus STOPPING
2013-10-21 20:27:35,466::INFO::[_cplogging:55] [21/Oct/2013:20:27:35] ENGINE HTTP Server None already shut down
2013-10-21 20:27:35,466::INFO::[_cplogging:55] [21/Oct/2013:20:27:35] ENGINE No thread running for _TimeoutMonitor.
2013-10-21 20:27:35,467::INFO::[_cplogging:55] [21/Oct/2013:20:27:35] ENGINE Bus STOPPED
2013-10-21 20:27:35,467::INFO::[_cplogging:55] [21/Oct/2013:20:27:35] ENGINE Bus EXITING
2013-10-21 20:27:35,467::INFO::[_cplogging:55] [21/Oct/2013:20:27:35] ENGINE Bus EXITED
2013-10-21 20:27:35,468::INFO::[__init__:1592] Leaving SABnzbd

Re: SABnzb stops immediately on Startup [OSX]

Posted: October 21st, 2013, 11:51 pm
by sander
The message is "gaierror: [Errno 8] nodename nor servname provided, or not known". And: on OSX, right?

My guesses:
- you filled a non-resolving name in SAB's Config at "SABnzbd Host", or
- your DNS / resolving is not working correctly

Open a Terminal and type

Code: Select all

grep -i host /Users/ServerRaj/Library/Application\ Support/SABnzbd/sabnzbd.ini
Post the output here.

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 22nd, 2013, 12:06 am
by rajbalwani
Rajs-Mac-mini:~ ServerRaj$ grep -i host /Users/ServerRaj/Library/Application\ Support/SABnzbd/sabnzbd.ini
host = 0.0.0.0
host = secure.us.thundernews.com
host = news.newsgroupdirect.com
host = news-ssl.newsgroupdirect.com
Rajs-Mac-mini:~ ServerRaj$

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 22nd, 2013, 5:18 am
by sander
Ah, that looks normal.

Long shot:
With SAB *not* running, edit the sabnzbd.ini and change the first line from "host = 0.0.0.0" to "host = 127.0.0.1". Save & exit. Can you then start SABnzbd ... ?

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 22nd, 2013, 10:08 am
by rajbalwani
after changing host to 127.0.0.1....my output is this:
SABnzb is running! Now to access SABnzb i have to go to 127.0.0.1:8080
If i leave it this way i have to change the settings in my sickbeard and couch and outside access. Is this a known bug that would be fixed or do i leave it 127.0.0.1

2013-10-22 08:01:28,679::INFO::[__init__:1592] Console logging for OSX App disabled
2013-10-22 08:01:28,680::INFO::[__init__:1592] --------------------------------
2013-10-22 08:01:28,680::INFO::[__init__:1592] SABnzbd.py-0.7.12 (rev=ca9f10c12fb3dada0c50b7e6aa3f08e091a003d3)
2013-10-22 08:01:28,680::INFO::[__init__:1592] Platform = posix
2013-10-22 08:01:28,680::INFO::[__init__:1592] Python-version = 2.7.1 (r271:86832, Jun 16 2011, 16:59:06)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
2013-10-22 08:01:28,681::INFO::[__init__:1592] Arguments = /Applications/SABnzbd.app/Contents/Resources/SABnzbd.py -psn_0_434282
2013-10-22 08:01:28,681::INFO::[__init__:1592] [osx] IO priority setting
2013-10-22 08:01:28,710::INFO::[__init__:1592] [osx] IO priority set to throttle for process scope
2013-10-22 08:01:28,711::INFO::[__init__:1592] Read INI file /Users/ServerRaj/Library/Application Support/SABnzbd/sabnzbd.ini
2013-10-22 08:01:28,712::INFO::[__init__:1592] Loading data for bookmarks.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/bookmarks.sab
2013-10-22 08:01:28,713::INFO::[__init__:1592] Loading data for rss_data.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/rss_data.sab
2013-10-22 08:01:28,713::INFO::[__init__:1592] Loading data for totals9.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/totals9.sab
2013-10-22 08:01:28,713::DEBUG::[__init__:1600] Read quota q=0.0 l=0.0 reset=0
2013-10-22 08:01:28,714::INFO::[__init__:1592] Loading postproc queue
2013-10-22 08:01:28,715::INFO::[__init__:1592] Loading data for postproc1.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/postproc1.sab
2013-10-22 08:01:28,715::INFO::[__init__:1592] Loading data for queue9.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/queue9.sab
2013-10-22 08:01:28,716::DEBUG::[__init__:1600] Initializing downloader/decoder
2013-10-22 08:01:28,717::INFO::[__init__:1592] Loading data for watched_data.sab from /Users/ServerRaj/Library/Application Support/SABnzbd/admin/watched_data.sab
2013-10-22 08:01:28,718::DEBUG::[__init__:1600] Scheduling RSS interval task every 60 min (delay=23)
2013-10-22 08:01:28,719::DEBUG::[__init__:1600] Scheduling VersionCheck on day 3 at 4:6
2013-10-22 08:01:28,719::INFO::[__init__:1592] Setting schedule for midnight BPS reset
2013-10-22 08:01:28,720::INFO::[__init__:1592] Resuming
2013-10-22 08:01:28,720::DEBUG::[__init__:1600] PAUSED_ALL inactive
2013-10-22 08:01:28,720::INFO::[__init__:1592] All processes started
2013-10-22 08:01:28,721::INFO::[__init__:1592] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Plush
2013-10-22 08:01:28,721::INFO::[__init__:1592] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Config
2013-10-22 08:01:28,732::ERROR::[__init__:1567] _yenc module... NOT found!
2013-10-22 08:01:28,732::INFO::[__init__:1592] par2 binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/par2/par2-sl)
2013-10-22 08:01:28,732::INFO::[__init__:1592] unrar binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/unrar/unrar)
2013-10-22 08:01:28,733::INFO::[__init__:1592] unzip binary... found (/usr/bin/unzip)
2013-10-22 08:01:28,733::INFO::[__init__:1592] nice binary... found (/usr/bin/nice)
2013-10-22 08:01:28,733::INFO::[__init__:1592] ionice binary... NOT found!
2013-10-22 08:01:28,733::INFO::[__init__:1592] pyOpenSSL... found (True)
2013-10-22 08:01:28,739::INFO::[__init__:1592] Starting web-interface on 127.0.0.1:8080
2013-10-22 08:01:28,740::INFO::[_cplogging:55] [22/Oct/2013:08:01:28] ENGINE Bus STARTING
2013-10-22 08:01:28,745::INFO::[_cplogging:55] [22/Oct/2013:08:01:28] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-10-22 08:01:28,848::INFO::[_cplogging:55] [22/Oct/2013:08:01:28] ENGINE Serving on 127.0.0.1:8080
2013-10-22 08:01:28,849::INFO::[_cplogging:55] [22/Oct/2013:08:01:28] ENGINE Bus STARTED
2013-10-22 08:01:28,852::DEBUG::[notifier:112] Sending registration to localhost:23053
2013-10-22 08:01:28,853::DEBUG::[notifier:102] Checking icon
2013-10-22 08:01:28,859::DEBUG::[notifier:219] To : localhost:23053 <<class 'gntp.GNTPRegister'>>
2013-10-22 08:01:28,860::DEBUG::[__init__:1600] Cannot register with Growl [Errno 8] nodename nor servname provided, or not known
2013-10-22 08:01:30,049::DEBUG::[__init__:1600] Checked for a new release, cur= 71299, latest= 71699 (on http://sourceforge.net/projects/sabnzbd ... us/0.7.16/)
2013-10-22 08:01:30,049::INFO::[__init__:1592] Starting SABnzbd.py-0.7.12
2013-10-22 08:01:30,049::DEBUG::[__init__:1600] Starting postprocessor
2013-10-22 08:01:30,050::DEBUG::[__init__:1600] Starting assembler
2013-10-22 08:01:30,051::DEBUG::[__init__:1600] Starting downloader
2013-10-22 08:01:30,051::DEBUG::[__init__:1600] Starting scheduler
2013-10-22 08:01:30,052::DEBUG::[__init__:1600] Starting dirscanner
2013-10-22 08:01:30,052::INFO::[__init__:1592] Dirscanner starting up
2013-10-22 08:01:30,052::DEBUG::[__init__:1600] Starting urlgrabber
2013-10-22 08:01:30,053::INFO::[__init__:1592] URLGrabber starting up
2013-10-22 08:01:31,796::DEBUG::[notifier:112] Sending registration to localhost:23053
2013-10-22 08:01:31,796::DEBUG::[notifier:102] Checking icon
2013-10-22 08:01:31,797::DEBUG::[notifier:219] To : localhost:23053 <<class 'gntp.GNTPRegister'>>
2013-10-22 08:01:31,797::DEBUG::[__init__:1600] Cannot register with Growl [Errno 8] nodename nor servname provided, or not known

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 22nd, 2013, 12:32 pm
by sander
Not a SABnzbd bug per se; There is something wrong (or: not-as-expected) with your OSX name resolving. Or you have a firewall installed & active.

See http://wiki.sabnzbd.org/configure-general-0-7 at "Host" for possible values you could try: empty, 0.0.0.0, 127.0.01, ::, etc etc

You can choose what works for you.

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 23rd, 2013, 12:43 am
by rajbalwani
It seemed files were downloading when i left this morning but they would download and this evening i noticed all had this error:

Loading config from /Users/ServerRaj/Library/Application Support/SABnzbd/scripts/autoProcessTV.cfg
Opening URL: http://localhost:8081/home/postprocess/ ... 1+H+264-BS
Unable to open URL: [Errno socket error] [Errno 8] nodename nor servname provided, or not known

what does this mean and how do i fix this? I dont understand how a perfect setup that has been working for years all of a sudden everything gets messed up...man when it rains it pours :(
help.

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 23rd, 2013, 1:25 am
by rajbalwani
I think what may have caused it is me adding entries to /etc/hosts and then running: $ dscacheutil -flushcache
I removed the entries out of /etc/hosts that i added however I still cannot change back the host to 0.0.0.0 and if i leave it 127.0.0.1 I am still getting the Errno socket error

how can i fix this?

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 23rd, 2013, 9:30 am
by sander
As I said "There is something wrong (or: not-as-expected) with your OSX name resolving.". Your two new posts confirm that.

Not a SABnzbd thing. And as I haven't got OSX myself, I can't help. Better to get help in an OSX forum.

Re: SABnzb crashes immediately on Startup [OSX]

Posted: October 23rd, 2013, 10:20 am
by rajbalwani
Just wanted to post my fix:

After some reading I came across a page saying to edit the following: pico /private/etc/hosts

In this file there was nothing. So I added the following:

127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost

After I am able to ping localhost and all is well in the world! Thanks for brainstorming with me and helping to guide me to the answer. Hopefully if this happens to anybody else this post will help. Its not just the /etc/hosts apparently you need this in the /private/etc/hosts

Re: SABnzb crashes immediately on Startup [OSX]

Posted: January 9th, 2014, 4:21 pm
by deekadelik
Hi, i have the same problem....i think ;)

sabnzbd shut down immediatly
here are the pics

<a href="http://de.tinypic.com?ref=2e4m5wi" target="_blank"><img src="http://i40.tinypic.com/2e4m5wi.png" border="0" alt="Image and video hosting by TinyPic"></a>
<a href="http://de.tinypic.com?ref=25gf7dv" target="_blank"><img src="http://i44.tinypic.com/25gf7dv.png" border="0" alt="Image and video hosting by TinyPic"></a>

i searched the user/library/application support folder for setting up the .ini file but there was no sabnzbd folder....???

here is the terminal post

/Applications/SABnzbd.app/Contents/MacOS/SABnzbd ; exit;
imac:~ deekadelik$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd ; exit;
INFO:root:Console logging for OSX App disabled
2014-01-09 22:29:17,537::INFO::[SABnzbd:1249] Console logging for OSX App disabled
logout

anybody can help me out?

D.

Re: SABnzb crashes immediately on Startup [OSX]

Posted: January 9th, 2014, 4:32 pm
by shypike
Open Terminal and type:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console
Then check the output of this.

Re: SABnzb crashes immediately on Startup [OSX]

Posted: January 9th, 2014, 5:10 pm
by deekadelik
wow thanks for answering so fast, i found out that the library folder was not visible, so i changed that now i can access the .ini file, the problem in the .ini file was that the ip adresse was wrong, i don't know why this was wrong, but everything works now

thx