Page 1 of 1

sabnzbd not listening on any ports now...

Posted: October 26th, 2011, 9:21 am
by CliffD5
OK guys this one has me completely stumped. I was running sabnzbdplus 0.6.10 mainly on the https port 9095. For about the past week I would notice that it would just randomly stop working on the ssl port, but still be working on the regular port (I think it was 8090). Restarting it (/etc/init.d/sabnzbdplus restart) seemed to fix the problem. But now I cannot get it to work at all. The service is definitely running (I think):

Code: Select all

ps -ef | grep sabnzbdplus
me     4294     1  0 10:09 ?        00:00:00 /usr/bin/python -OO /usr/bin/sabnzbdplus --daemon
me     4398  2378  0 10:12 pts/0    00:00:00 grep --color=auto sabnzbdplus
Here is the output of the log from the most recent start. Notice the first line. I suspect this has something to do with my problem, but not sure what it means:

Code: Select all

2011-10-26 10:09:38,137::WARNING::[__init__:159] Signal 15 caught, saving and exiting...
2011-10-26 10:09:38,138::INFO::[nzbqueue:167] Saving queue
2011-10-26 10:09:38,138::INFO::[__init__:838] Saving data for queue9.sab in /home/me/.sabnzbd/admin/queue9.sab
2011-10-26 10:09:38,139::INFO::[__init__:838] Saving data for totals9.sab in /home/me/.sabnzbd/admin/totals9.sab
2011-10-26 10:09:38,175::INFO::[__init__:838] Saving data for rss_data.sab in /home/me/.sabnzbd/admin/rss_data.sab
2011-10-26 10:09:38,183::INFO::[__init__:838] Saving data for bookmarks.sab in /home/me/.sabnzbd/admin/bookmarks.sab
2011-10-26 10:09:38,217::INFO::[__init__:838] Saving data for watched_data.sab in /home/me/.sabnzbd/admin/watched_data.sab
2011-10-26 10:09:38,225::INFO::[postproc:83] Saving postproc queue
2011-10-26 10:09:38,225::INFO::[__init__:838] Saving data for postproc1.sab in /home/me/.sabnzbd/admin/postproc1.sab
2011-10-26 10:09:38,831::INFO::[sabnzbdplus:1165] --------------------------------
2011-10-26 10:09:38,831::INFO::[sabnzbdplus:1166] sabnzbdplus-0.6.10 (rev=19daeab0f359d27a92d6d0f5f09f3f4c644511be)
2011-10-26 10:09:38,831::INFO::[sabnzbdplus:1178] Platform = posix
2011-10-26 10:09:38,831::INFO::[sabnzbdplus:1179] Python-version = 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
[GCC 4.5.2]
2011-10-26 10:09:38,831::INFO::[sabnzbdplus:1180] Arguments = "/usr/bin/sabnzbdplus", "--daemon"
2011-10-26 10:09:38,831::INFO::[sabnzbdplus:1193] Read INI file /home/me/.sabnzbd/sabnzbd.ini
2011-10-26 10:09:38,832::INFO::[__init__:862] Loading data for bookmarks.sab from /home/me/.sabnzbd/admin/bookmarks.sab
2011-10-26 10:09:38,833::INFO::[__init__:862] Loading data for rss_data.sab from /home/me/.sabnzbd/admin/rss_data.sab
2011-10-26 10:09:38,833::INFO::[__init__:862] Loading data for totals9.sab from /home/me/.sabnzbd/admin/totals9.sab
2011-10-26 10:09:38,833::INFO::[postproc:89] Loading postproc queue
2011-10-26 10:09:38,833::INFO::[__init__:862] Loading data for postproc1.sab from /home/me/.sabnzbd/admin/postproc1.sab
2011-10-26 10:09:38,833::INFO::[__init__:862] Loading data for queue9.sab from /home/me/.sabnzbd/admin/queue9.sab
2011-10-26 10:09:38,834::INFO::[__init__:862] Loading data for watched_data.sab from /home/me/.sabnzbd/admin/watched_data.sab
2011-10-26 10:09:38,834::INFO::[downloader:194] Resuming
2011-10-26 10:09:38,834::INFO::[__init__:289] All processes started
2011-10-26 10:09:38,834::INFO::[sabnzbdplus:331] Web dir is /usr/share/sabnzbdplus/interfaces/Plush
2011-10-26 10:09:38,844::INFO::[sabnzbdplus:441] _yenc module... found!
2011-10-26 10:09:38,844::INFO::[sabnzbdplus:449] par2 binary... found (/usr/bin/par2)
2011-10-26 10:09:38,844::INFO::[sabnzbdplus:457] unrar binary... found (/usr/bin/unrar)
2011-10-26 10:09:38,844::INFO::[sabnzbdplus:462] unzip binary... found (/usr/bin/unzip)
2011-10-26 10:09:38,844::INFO::[sabnzbdplus:468] nice binary... found (/usr/bin/nice)
2011-10-26 10:09:38,844::INFO::[sabnzbdplus:472] ionice binary... found (/usr/bin/ionice)
2011-10-26 10:09:38,844::INFO::[sabnzbdplus:477] pyOpenSSL... found (True)
2011-10-26 10:09:38,846::INFO::[sabnzbdplus:1340] Starting web-interface on htpc-lr:9095
2011-10-26 10:09:38,846::INFO::[_cplogging:55] [26/Oct/2011:10:09:38] ENGINE Bus STARTING
2011-10-26 10:09:38,868::INFO::[_cplogging:55] [26/Oct/2011:10:09:38] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-10-26 10:09:39,070::INFO::[_cplogging:55] [26/Oct/2011:10:09:39] ENGINE Serving on htpc-lr:9095
2011-10-26 10:09:39,071::INFO::[_cplogging:55] [26/Oct/2011:10:09:39] ENGINE Bus STARTED
2011-10-26 10:09:39,072::INFO::[sabnzbdplus:1409] Starting sabnzbdplus-0.6.10
2011-10-26 10:09:39,074::INFO::[dirscanner:263] Dirscanner starting up
2011-10-26 10:09:39,083::INFO::[urlgrabber:75] URLGrabber starting up
Running nmap against the localhost does not show any ports open that correspond to sab:

Code: Select all

nmap localhost

Starting Nmap 5.21 ( http://nmap.org ) at 2011-10-26 10:14 EDT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00015s latency).
Not shown: 993 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
80/tcp   open  http
3306/tcp open  mysql
5000/tcp open  upnp
6543/tcp open  mythtv
6547/tcp open  powerchuteplus
8081/tcp open  blackice-icecap
And finally what I think is relevant from sanznbd.ini. The 443 ports are for the usenet servers:

Code: Select all

grep host sabnzbd.ini
host = ""
host = secure.usenetserver.com
host = news.eu.usenetserver.com

grep port sabnzbd.ini
https_port = 9095
port = 9095
port = 443
port = 443
Also note that I have done an apt-get purge sabnzbdplus and reinstalled it. What am I missing here? Is there any other information that I can provide that will help in troubleshooting this issue? Any help would sincerely be appreciated.

Re: sabnzbd not listening on any ports now...

Posted: October 26th, 2011, 12:08 pm
by CliffD5
Got it figured out. Looks like http and https were trying to use the same ports. Not entirely sure how that happened. Corrected that and now everything is functioning as intended.