Page 1 of 1

Connecting to SABnzbd on a 2TB WD My Book Live

Posted: September 22nd, 2011, 7:51 pm
by tmiski
From what I can tell I have installed sabnzbd properly and have been able to start it up, but I can't seem to make a connection to sabnzbd.

This is what I've done so far:
I have a WD My Book Live 2TB and I enabled ssh
it's running on a debian lenny distro

I then installed optware as stated here....
http://mybookworld.wikidot.com/forum/t- ... ost-984436

I then used optware to install sabnzbdplus

Code: Select all

ipkg install sabnzbdplus
Cool, no errors and everything looks good so far.

I then started up sabnzbd

Code: Select all

MyBookLive:root# /opt/bin/python2.5 /opt/share/SABnzbd/SABnzbd.py -f /opt/share/SABnzbd/sabnzbd.ini -d
No errors again. It started up fine.

Let's check the processes and make sure it's running.

Code: Select all

MyBookLive:root# ps -ef | grep sab
root     20599     1  0 17:38 ?        00:00:00 /opt/bin/python2.5 /opt/share/SABnzbd/SABnzbd.py -f /opt/share/SABnzbd/sabnzbd.ini -d
ok, it's there, good.

Now it's time to see if firefox can connect to this puppy. This is the url I typed in...

Code: Select all

http://192.168.1.110:8080/SABnzbd
hmmm, it can't find the URL.

Ok let's see if I can still find the WD My Book Live Admin UI. Yes, i can, it works fine. So I can definitely see and access the server, that's good.

Code: Select all

http://192.168.1.110/ui
ok let's try a few other things....
I tried restarting apache... didn't work
I tried changing ports in the /opt/share/SABnzbd/sabnzbd.ini ......didn't work
I tried accessing it from another machine .... didn't work

Time to look a little deeper.... Let's see what the sabnzbd.log file is telling us. This is what the last log entry looks like. Yes, I've installed some additional pkgs (unrar & openssl). ( There is nothing in the error log)

Code: Select all

2011-09-22 16:37:31,254::INFO::[__init__:702] /opt/share/SABnzbd/cache/bookmarks.sab removed
2011-09-22 16:37:31,270::INFO::[postproc:139] Loading postproc queue
2011-09-22 16:37:31,273::INFO::[__init__:702] /opt/share/SABnzbd/cache/postproc1.sab removed
2011-09-22 16:37:31,280::INFO::[downloader:334] Resuming
2011-09-22 16:37:31,337::INFO::[__init__:251] All processes started
2011-09-22 16:37:31,338::INFO::[SABnzbd:269] Web dir is /opt/share/SABnzbd/interfaces/smpl
2011-09-22 16:37:31,447::INFO::[SABnzbd:1038] Starting SABnzbd.py-0.5.6
2011-09-22 16:37:31,452::INFO::[SABnzbd:390] _yenc module... found!
2011-09-22 16:37:31,453::INFO::[SABnzbd:398] par2 binary... found (/opt/bin/par2)
2011-09-22 16:37:31,455::INFO::[SABnzbd:406] unrar binary... found (/opt/bin/unrar)
2011-09-22 16:37:31,457::INFO::[SABnzbd:411] unzip binary... found (/usr/bin/unzip)
2011-09-22 16:37:31,459::INFO::[SABnzbd:417] nice binary... found (/usr/bin/nice)
2011-09-22 16:37:31,460::INFO::[SABnzbd:421] ionice binary... found (/usr/bin/ionice)
2011-09-22 16:37:31,462::INFO::[SABnzbd:426] pyOpenSSL... found (True)
2011-09-22 16:37:31,467::INFO::[SABnzbd:1136] Starting web-interface on 127.0.0.1:8080
2011-09-22 16:37:31,470::INFO::[_cplogging:55] [22/Sep/2011:16:37:31] ENGINE Bus STARTING
2011-09-22 16:37:31,479::INFO::[dirscanner:375] Dirscanner starting up
2011-09-22 16:37:31,482::INFO::[urlgrabber:103] URLGrabber starting up
2011-09-22 16:37:31,491::INFO::[_cplogging:55] [22/Sep/2011:16:37:31] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-09-22 16:37:31,697::INFO::[_cplogging:55] [22/Sep/2011:16:37:31] ENGINE Serving on 127.0.0.1:8080
2011-09-22 16:37:31,699::INFO::[_cplogging:55] [22/Sep/2011:16:37:31] ENGINE Bus STARTED
So, this is where I am at. From what I can tell, it appears to running properly. Any ideas?

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: September 23rd, 2011, 2:45 am
by shypike
ENGINE Serving on 127.0.0.1:8080

127.0.0.1 is an internal address, not reachable by other systems.

Open the sabnzbd.ini file and fill in 0.0.0.0 as host address:
host = 0.0.0.0

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: September 23rd, 2011, 12:07 pm
by tmiski
shypike wrote:Open the sabnzbd.ini file and fill in 0.0.0.0 as host address:
host = 0.0.0.0
That did the trick. Thanks.

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: March 10th, 2013, 2:16 pm
by vivavilla86
Sorry to dig up such an old thread, but I'm trying to get SAB set up on this same product and wondered if there were any big developments in this area?

Most notably, is there any way I can install SAB without breaking the web UI?

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: March 10th, 2013, 3:36 pm
by tmiski
It's really easy and you wont break the web UI. There are a number of how to tutorials out there for the WD My Book Live. Just google for it.

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: March 11th, 2013, 8:54 am
by vivavilla86
tmiski wrote:It's really easy and you wont break the web UI. There are a number of how to tutorials out there for the WD My Book Live. Just google for it.
Are you able to link me to a tutorial? The only decent ones I can find are this one and a YouTube video. Both work but both break the UI.

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: March 11th, 2013, 10:12 am
by tmiski
vivavilla86 wrote:Are you able to link me to a tutorial? The only decent ones I can find are this one and a YouTube video. Both work but both break the UI.
Just follow the instructions above. Who told you it breaks the UI. It doesn't .

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: March 11th, 2013, 10:18 am
by vivavilla86
tmiski wrote:
vivavilla86 wrote:Are you able to link me to a tutorial? The only decent ones I can find are this one and a YouTube video. Both work but both break the UI.
Just follow the instructions above. Who told you it breaks the UI. Mine worked fine. Btw, After my 1st Mybooklive crashed and died (drive failed). I installed sabnzbd on my new Mybooklive using the the apt-get method and that works as well.
I found it out myself. As soon as I run SAB I can no longer access the UI. Same with the YouTube video explaining how to run it on Debain. I reboot the device, it runs as a service, and the UI is no longer accessible.

Re: Connecting to SABnzbd on a 2TB WD My Book Live

Posted: March 11th, 2013, 10:27 am
by tmiski
I've installed sabnzbdplus using the method above and also also using apt-get and they both worked fine and didn't mess up my UI.