Page 1 of 1

sabnzdb not working on synology / blank web page

Posted: April 26th, 2017, 10:17 am
by trisomie
Hi,

I recently upgraded my hardware from a DS213 to ad 214+, but for some reason this did not go smooth and my volume where all the apps were installed had to be removed/added again.
After this I reinstalled Sabnzbd and although it installed succefully and seems to be running, when I browse to it I on 8080 I get an emtpy web page : 192.168.1.20:8080/sabnzbd
when I ssh into the box sabnzbd seems to running :

xxxxx@DiskStation:/$ ps -ef | grep sab
sabnzbd 30794 1 0 14:58 ? 00:00:15 /usr/local/sabnzbd/env/bin/python /usr/local/sabnzbd/share/SABnzbd/SABnzbd.py -f /usr/local/sabnzbd/var/config.ini --pidfile /usr/local/sabnzbd/var/sabnzbd.pid -d

and also listening on 8080 :

xxxxx@DiskStation:/$ netstat -an | grep 8080
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN

however when I tried to telnet to port 8080 I could not get a connection ....

I also could not find any errors in any of the sabnzbd logs so I'm a bit a loss here ... can anybody help ?

Re: sabnzdb not working on synology / blank web page

Posted: April 26th, 2017, 10:42 am
by sander

Code: Select all

xxxxx@DiskStation:/$ netstat -an | grep 8080
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN
Doesn't that mean it's only listening on 127.0.0.1, thus only requests from the same machine?

What does

Code: Select all

netstat -apon | grep LISTEN | grep -v LISTENING
show? It will show the process listening on the port, among which 8080. Because: maybe it's NOT sab itself that is listening on 8080 ...

And if you stop SABnzbd ... what do get when you connect to the URL you use for SABnzbd?

Re: sabnzdb not working on synology / blank web page

Posted: April 26th, 2017, 1:42 pm
by trisomie
Hi - thanks for your reply.

here is the output of the requested command :

xxxxx@DiskStation:/$ netstat -apon | grep LISTEN | grep -v LISTENING

tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN 12803/perl off (0.00/0/0)
tcp 0 0 0.0.0.0:9091 0.0.0.0:* LISTEN 8546/transmission-d off (0.00/0/0)
tcp 0 0 0.0.0.0:35203 0.0.0.0:* LISTEN 6543/statd off (0.00/0/0)
tcp 0 0 0.0.0.0:50021 0.0.0.0:* LISTEN 6317/ftpd off (0.00/0/0)
tcp 0 0 192.168.1.20:49160 0.0.0.0:* LISTEN 12073/synovpcd off (0.00/0/0)
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN 6776/nginx: master off (0.00/0/0)
tcp 0 0 0.0.0.0:5001 0.0.0.0:* LISTEN 6776/nginx: master off (0.00/0/0)
tcp 0 0 0.0.0.0:9002 0.0.0.0:* LISTEN 12803/perl off (0.00/0/0)
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 10231/mysqld off (0.00/0/0)
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 6596/smbd off (0.00/0/0)
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 6453/rpcbind off (0.00/0/0)
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 30794/python off (0.00/0/0)
tcp 0 0 0.0.0.0:50000 0.0.0.0:* LISTEN 6776/nginx: master off (0.00/0/0)
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 6776/nginx: master off (0.00/0/0)
tcp 0 0 192.168.1.20:50001 0.0.0.0:* LISTEN 11132/dms off (0.00/0/0)
tcp 0 0 127.0.0.1:914 0.0.0.0:* LISTEN 11575/httpd22 off (0.00/0/0)
tcp 0 0 192.168.1.20:49170 0.0.0.0:* LISTEN 11480/synoaudiod off (0.00/0/0)
tcp 0 0 0.0.0.0:50002 0.0.0.0:* LISTEN 11297/lighttpd off (0.00/0/0)
tcp 0 0 0.0.0.0:51413 0.0.0.0:* LISTEN 8546/transmission-d off (0.00/0/0)
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 6599/postgres off (0.00/0/0)
tcp 0 0 127.0.0.1:18617 0.0.0.0:* LISTEN 12073/synovpcd off (0.00/0/0)
tcp 0 0 0.0.0.0:3483 0.0.0.0:* LISTEN 12803/perl off (0.00/0/0)
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 6776/nginx: master off (0.00/0/0)
tcp 0 0 0.0.0.0:38300 0.0.0.0:* LISTEN 12803/perl off (0.00/0/0)
tcp 0 0 0.0.0.0:892 0.0.0.0:* LISTEN 6458/mountd off (0.00/0/0)
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 6596/smbd off (0.00/0/0)
tcp 0 0 0.0.0.0:57917 0.0.0.0:* LISTEN - off (0.00/0/0)
tcp 0 0 0.0.0.0:5022 0.0.0.0:* LISTEN 4280/sshd off (0.00/0/0)
tcp6 0 0 :::2049 :::* LISTEN - off (0.00/0/0)
tcp6 0 0 :::50021 :::* LISTEN 6317/ftpd off (0.00/0/0)
tcp6 0 0 :::41670 :::* LISTEN 6543/statd off (0.00/0/0)
tcp6 0 0 :::5000 :::* LISTEN 6776/nginx: master off (0.00/0/0)
tcp6 0 0 :::6281 :::* LISTEN 11179/img_backupd off (0.00/0/0)
tcp6 0 0 :::5001 :::* LISTEN 6776/nginx: master off (0.00/0/0)
tcp6 0 0 :::40937 :::* LISTEN - off (0.00/0/0)
tcp6 0 0 :::139 :::* LISTEN 6596/smbd off (0.00/0/0)
tcp6 0 0 :::5005 :::* LISTEN 10361/httpd off (0.00/0/0)
tcp6 0 0 :::5006 :::* LISTEN 10361/httpd off (0.00/0/0)
tcp6 0 0 :::111 :::* LISTEN 6453/rpcbind off (0.00/0/0)
tcp6 0 0 :::50000 :::* LISTEN 6776/nginx: master off (0.00/0/0)
tcp6 0 0 :::80 :::* LISTEN 6776/nginx: master off (0.00/0/0)
tcp6 0 0 :::51413 :::* LISTEN 8546/transmission-d off (0.00/0/0)
tcp6 0 0 :::443 :::* LISTEN 6776/nginx: master off (0.00/0/0)
tcp6 0 0 :::892 :::* LISTEN 6458/mountd off (0.00/0/0)
tcp6 0 0 :::445 :::* LISTEN 6596/smbd off (0.00/0/0)
tcp6 0 0 :::5022 :::* LISTEN 4280/sshd off (0.00/0/0)

when I stop sabnzbd - I get connection refused on port 8080 as opposed to a blank page when it was running ..

thanks!

Re: sabnzdb not working on synology / blank web page

Posted: April 26th, 2017, 1:55 pm
by trisomie
UPDATE : I just changed 1 line in the config.ini file in the /volume2/@appstore/sabnzbd/var dir :

host = 127.0.0.1
changed to ->
host = 0.0.0.0

and it seems to be working now. Not sure how that config ended up to be wrong though ...

thanks

Bart

Re: sabnzdb not working on synology / blank web page

Posted: April 27th, 2017, 8:21 am
by sander
Cool!