sabnzd+ doesn't start

Status
Not open for further replies.

qwertyjjj

Dabbler
Joined
Aug 30, 2012
Messages
12
I followed the guide here:
http://www.joshuaruehlig.com/movie-tv-downloading

However, on rebooting I couldn't get to localhost:8080
and it doesn;t seem the sevrice exists.
Any ideas on what I can do to get it started?

[root@freenas] ~# service sabnzbdplus start
sabnzbdplus does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I followed the guide here:
http://www.joshuaruehlig.com/movie-tv-downloading

However, on rebooting I couldn't get to localhost:8080
and it doesn;t seem the sevrice exists.
Any ideas on what I can do to get it started?

[root@freenas] ~# service sabnzbdplus start
sabnzbdplus does not exist in /etc/rc.d or the local startup
directories (/usr/local/etc/rc.d)

If your on FreeNAS 8.2 or above use the Plugins instead.
http://forums.freenas.org/showthrea...ouchpotato-pbi-s&p=23037&viewfull=1#post23037
 

camn

Cadet
Joined
Oct 11, 2012
Messages
8
IM also working on this problem.

I have hacked Sabnzbd together many times.. on Freenas 7, recently on Nas4Free.. but both of those had Fuppes, which doesn't play nice with my TV, so I am trying this.
Of course, now I am going to try and get sab working from the command line. However, I really suck at FreeBSD, but I have had some success before.. I think I can again.


I have banged my head against the pkg_add -r method a little bit... but adly, I think the 8.2 port is flawed. I am going to build it from ports this weekend, and I will see if I have any luck.

to the OP- I dont know how you installed. If you are still working on this, post your method (breifly) and maybe we can square it away.

To Joshua- the x86 pbi doesn't work. I dont know anything about the pbi stuff.. but I tried it out, and no joy.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
IM also working on this problem.

I have hacked Sabnzbd together many times.. on Freenas 7, recently on Nas4Free.. but both of those had Fuppes, which doesn't play nice with my TV, so I am trying this.
Of course, now I am going to try and get sab working from the command line. However, I really suck at FreeBSD, but I have had some success before.. I think I can again.


I have banged my head against the pkg_add -r method a little bit... but adly, I think the 8.2 port is flawed. I am going to build it from ports this weekend, and I will see if I have any luck.

to the OP- I dont know how you installed. If you are still working on this, post your method (breifly) and maybe we can square it away.

To Joshua- the x86 pbi doesn't work. I dont know anything about the pbi stuff.. but I tried it out, and no joy.

yup x86 v1.0 is broken (many have mentioned it in the thread). I may be able to fix it this weekend, I may not.
 

camn

Cadet
Joined
Oct 11, 2012
Messages
8
you did, you did.. but I tried anyway.

does it originate from the FreeBSD port, or source? (i dont know anything about pbis!)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
you did, you did.. but I tried anyway.

does it originate from the FreeBSD port, or source? (i dont know anything about pbis!)

well I made it myself, not from port. I made it using pbi_create which just takes some directories and compresses them into a pbi. I guess I packaged up sabnzbd's source, but since it is python it doesn't need to be compile ahead of time.

Normally for pbis though you build them from a port.
 

camn

Cadet
Joined
Oct 11, 2012
Messages
8
dang. you are awesome.

Well.. I got the latest version installed from ports- took forever.. and then error-ed out with "[Errno 49] Can't assign requested address"
Quick search is unrevealing of a quick solution...

and I aborted to an Ubuntu install.
I want PS3 media server anyway! (thumbnails!)

I did, however, take notes-- so for anyone who needs it: here is how to build anything you want from ports in the jail on FreeNas 8.2:

OK.. this is edited from my raw notes, forgive any typos.
It assumes you have a jail setup up.
My system is a 386 system on an 8GB CF card, running ZFS drives for storage. 2GB of RAM (i know.)

To build the ports tree you need a couple GB.. so your jail should be large. 4GB minimum, I think.

here it is! Ill try and put each command at the top of a codebox, followed by output.
-----------------------
Welcome to the HOP FrogServer
>>ok. Im logged in as root.. but I need to get into the
JAIL.. so>>
Code:
[root@frogserver] ~# jls
   JID  IP Address      Hostname                      Path
     1  -               proto                         

/mnt/uzb/jails/proto


>>great. I see the jail ID number. Lets jet into it!>>
Code:
[root@frogserver] ~# jexec 1 /bin/tcsh
proto#


>>awesome.. You can see I am in my jail, named 'proto'. The

next few steps are from the manual, here:
http:// www.freebsd.org/doc/en_US.ISO8859-

1/books/handbook/ports-using.html

Code:
proto# portsnap fetch
Fetching public key from portsnap.FreeBSD.org... done.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Sat Oct 13 00:23:20 UTC 

2012:
8fc78fcde9c72d1e22d7c80122c1341154431556d6df33100% of   68 

MB  267 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Sat Oct 13 00:23:20 UTC 2012 to Sat Oct 13 

06:41:03 UTC 2012.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 13 patches.....10. done.
Applying patches... done.
Fetching 0 new ports or files... done.

Code:
proto# portsnap extract
[tons of output here.. go get coffee.]
...../usr/ports/x11/xxkb/
/usr/ports/x11/xzoom/
/usr/ports/x11/yad/
/usr/ports/x11/yakuake-kde4/
/usr/ports/x11/yakuake/
/usr/ports/x11/yalias/
/usr/ports/x11/yeahconsole/
/usr/ports/x11/yelp/
/usr/ports/x11/zenity/
Building new INDEX files... done.


>> ok. build my package (you can combine the next three steps with #make install clean):
First.. cd to the right dir. (note i dont SEE the dir change... spooky.)
Code:
proto# cd /usr/ports/new/sabnzbdplus
proto#
then
Code:
proto# make


>>>this takes me to an options screen. I chose all the

things.

Code:
===>  Extracting for sabnzbdplus-0.7.3
=> SHA256 Checksum OK for SABnzbd-0.7.3-src.tar.gz.
===>  Patching for sabnzbdplus-0.7.3
===>  Applying FreeBSD patches for sabnzbdplus-0.7.3
===>   sabnzbdplus-0.7.3 depends on file: 

/usr/local/bin/python2.7 - found
===>   sabnzbdplus-0.7.3 depends on shared library: intl - 

found
===>  Configuring for sabnzbdplus-0.7.3
proto#


>> now install my newly built package:

Code:
proto# make install
[lots of evil caps-text here]
[some config screen for perl.. i leave it default]
[some error about old on newer version.. i let it ride]
>>uh oh. "perl-5.14.2_2 conflicts with installed package

(s):
      perl-5.12.4_3
"
proto# pkg_delete perl-5.12.4_3
pkg_delete: package 'perl-5.12.4_3' is required by these 

other packages
and may not be deinstalled:
iconv-2.0_3  [converters/iconv]
glib-2.28.8_2  [???/glib]
gamin-0.1.10_4  [devel/gamin]
gio-fam-backend-2.28.8 [devel/gio-fam-backend]
dbus-glib-0.94 [devel/dbus-glib]
proto#


>>ok . lets delete the packages. then reinstall by ports if

needed.
>>done. (i used pkg_delete for each.)
>>back to make-install sab
Code:
proto# make install
[lots of text]
[LOTS]
[ph some configs for random shiz.. I'll leave those at default]
[more output]
.......and more]
[aaand]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

news/sabnzbdplus includes an RC script:
/usr/local/etc/rc.d/sabnzbd

TO START SABNZBD ON BOOT:
echo 'sabnzbd_enable="YES"' >> /etc/rc.conf

START MANUALLY:
/usr/local/etc/rc.d/sabnzbd start

Once started, visit the following to configure:
http://localhost:8080/sabnzbd/

Note that your URL may differ slightly if you have an old sabnzbd.ini
that specifies a different address to bind to.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


>>DONE.

Code:
proto# make clean
===>  Cleaning for py27-cheetah-2.4.4
===>  Cleaning for py27-utils-0.4.0
===>  Cleaning for par2cmdline-tbb-20100203_6
===>  Cleaning for py27-markdown-2.2.0
===>  Cleaning for unzip-6.0_1
===>  Cleaning for automake-1.12.4
===>  Cleaning for autoconf-2.69
===>  Cleaning for perl-5.14.2_2
===>  Cleaning for sabnzbdplus-0.7.3


>and just to keep things neat:
Code:
proto# cd /usr/ports/devel/glib20

Code:
proto# make install clean
[oh good.. it is using the new prl]


===>  pkgconf-0.8.9 conflicts with installed package(s):
      pkg-config-0.25_1

      They install files into the same place.
      Please remove them first with pkg_delete(1).


>>shit.
>>lets do it.
>>hmm. too many dependencies. I dont wanna.
>>I'll do the other one.

Code:
proto# cd /usr/ports/converters/iconv

Code:
proto# make install clean
[blah blah]
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for iconv-2.0_3
===>  Cleaning for iconv-2.0_3

>>good.
How about this:


>>hmm. Good enough?

OK.. everything is ready.. lets try it

Add the following lines to your /etc/rc.conf file to make

sure it starts during system startup:

# SABnzbd settings
sabnzbd_enable="YES"

manually run?
Code:
proto# /usr/local/etc/rc.d/sabnzbd start
Starting sabnzbd.
proto#



>>looks good.
Make sure /usr/local/sabnzbd exists and is writable...
it is also where /ini file is... so I upload my old one..

>>bbuuuutt.. it errors out.
Cherry/py cannot assign the requested address.

So.. its installed.. but I have a hosts configuration problem.
These instructions can be used to install almost anything.
You can do it too!

Hope this helps someone.
 

camn

Cadet
Joined
Oct 11, 2012
Messages
8
How to build from ports, freenas 8.2

OK.. this is edited from my raw notes, forgive any typos.
It assumes you have a jail setup up.
My system is a 386 system on an 8GB CF card, running ZFS drives for storage. 2GB of RAM (i know.)

To build the ports tree you need a couple GB.. so your jail should be large. 4GB minimum, I think.

here it is! Ill try and put each command at the top of a codebox, followed by output.
-----------------------
Welcome to the HOP FrogServer
>>ok. Im logged in as root.. but I need to get into the
JAIL.. so>>
Code:
[root@frogserver] ~# jls
   JID  IP Address      Hostname                      Path
     1  -               proto                         

/mnt/uzb/jails/proto


>>great. I see the jail ID number. Lets jet into it!>>
Code:
[root@frogserver] ~# jexec 1 /bin/tcsh
proto#


>>awesome.. You can see I am in my jail, named 'proto'. The

next few steps are from the manual, here:
http:// www.freebsd.org/doc/en_US.ISO8859-

1/books/handbook/ports-using.html

Code:
proto# portsnap fetch
Fetching public key from portsnap.FreeBSD.org... done.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Sat Oct 13 00:23:20 UTC 

2012:
8fc78fcde9c72d1e22d7c80122c1341154431556d6df33100% of   68 

MB  267 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from portsnap.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Sat Oct 13 00:23:20 UTC 2012 to Sat Oct 13 

06:41:03 UTC 2012.
Fetching 4 metadata patches... done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 13 patches.....10. done.
Applying patches... done.
Fetching 0 new ports or files... done.

Code:
proto# portsnap extract
[tons of output here.. go get coffee.]
...../usr/ports/x11/xxkb/
/usr/ports/x11/xzoom/
/usr/ports/x11/yad/
/usr/ports/x11/yakuake-kde4/
/usr/ports/x11/yakuake/
/usr/ports/x11/yalias/
/usr/ports/x11/yeahconsole/
/usr/ports/x11/yelp/
/usr/ports/x11/zenity/
Building new INDEX files... done.


>> ok. build my package (you can combine the next three steps with #make install clean):
First.. cd to the right dir. (note i dont SEE the dir change... spooky.)
Code:
proto# cd /usr/ports/new/sabnzbdplus
proto#
then
Code:
proto# make


>>>this takes me to an options screen. I chose all the

things.

Code:
===>  Extracting for sabnzbdplus-0.7.3
=> SHA256 Checksum OK for SABnzbd-0.7.3-src.tar.gz.
===>  Patching for sabnzbdplus-0.7.3
===>  Applying FreeBSD patches for sabnzbdplus-0.7.3
===>   sabnzbdplus-0.7.3 depends on file: 

/usr/local/bin/python2.7 - found
===>   sabnzbdplus-0.7.3 depends on shared library: intl - 

found
===>  Configuring for sabnzbdplus-0.7.3
proto#


>> now install my newly built package:

Code:
proto# make install
[lots of evil caps-text here]
[some config screen for perl.. i leave it default]
[some error about old on newer version.. i let it ride]
>>uh oh. "perl-5.14.2_2 conflicts with installed package

(s):
      perl-5.12.4_3
"
proto# pkg_delete perl-5.12.4_3
pkg_delete: package 'perl-5.12.4_3' is required by these 

other packages
and may not be deinstalled:
iconv-2.0_3  [converters/iconv]
glib-2.28.8_2  [???/glib]
gamin-0.1.10_4  [devel/gamin]
gio-fam-backend-2.28.8 [devel/gio-fam-backend]
dbus-glib-0.94 [devel/dbus-glib]
proto#


>>ok . lets delete the packages. then reinstall by ports if

needed.
>>done. (i used pkg_delete for each.)
>>back to make-install sab
Code:
proto# make install
[lots of text]
[LOTS]
[ph some configs for random shiz.. I'll leave those at default]
[more output]
.......and more]
[aaand]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

news/sabnzbdplus includes an RC script:
/usr/local/etc/rc.d/sabnzbd

TO START SABNZBD ON BOOT:
echo 'sabnzbd_enable="YES"' >> /etc/rc.conf

START MANUALLY:
/usr/local/etc/rc.d/sabnzbd start

Once started, visit the following to configure:
http://localhost:8080/sabnzbd/

Note that your URL may differ slightly if you have an old sabnzbd.ini
that specifies a different address to bind to.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


>>DONE.

Code:
proto# make clean
===>  Cleaning for py27-cheetah-2.4.4
===>  Cleaning for py27-utils-0.4.0
===>  Cleaning for par2cmdline-tbb-20100203_6
===>  Cleaning for py27-markdown-2.2.0
===>  Cleaning for unzip-6.0_1
===>  Cleaning for automake-1.12.4
===>  Cleaning for autoconf-2.69
===>  Cleaning for perl-5.14.2_2
===>  Cleaning for sabnzbdplus-0.7.3


>and just to keep things neat:
Code:
proto# cd /usr/ports/devel/glib20

Code:
proto# make install clean
[oh good.. it is using the new prl]


===>  pkgconf-0.8.9 conflicts with installed package(s):
      pkg-config-0.25_1

      They install files into the same place.
      Please remove them first with pkg_delete(1).


>>shit.
>>lets do it.
>>hmm. too many dependencies. I dont wanna.
>>I'll do the other one.

Code:
proto# cd /usr/ports/converters/iconv

Code:
proto# make install clean
[blah blah]
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for iconv-2.0_3
===>  Cleaning for iconv-2.0_3

>>good.
How about this:


>>hmm. Good enough?

OK.. everything is ready.. lets try it

Add the following lines to your /etc/rc.conf file to make

sure it starts during system startup:

# SABnzbd settings
sabnzbd_enable="YES"

manually run?
Code:
proto# /usr/local/etc/rc.d/sabnzbd start
Starting sabnzbd.
proto#



>>looks good.
Make sure /usr/local/sabnzbd exists and is writable...
it is also where /ini file is... so I upload my old one..

>>bbuuuutt.. it errors out.
Cherry/py cannot assign the requested address.

So.. its installed.. but I have a hosts configuration problem.
These instructions can be used to install almost anything.
You can do it too!

Hope this helps someone.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
dang. you are awesome.

Well.. I got the latest version installed from ports- took forever.. and then error-ed out with "[Errno 49] Can't assign requested address"
Quick search is unrevealing of a quick solution...

and I aborted to an Ubuntu install.
I want PS3 media server anyway! (thumbnails!)

I did, however, take notes-- so for anyone who needs it: here is how to build anything you want from ports in the jail on FreeNas 8.2:

wait you built from port? Why not just install python dependencies with pkg_add download the python source for sabnzbd in your plugins jail?
 

camn

Cadet
Joined
Oct 11, 2012
Messages
8
The pkg_add port in 8.2 is has some known flaws.. plus it is version 5.something.
When I tried it, it failed on every level. Failed install, missed dependencies, and after I squared all that away.. it failed to start.
But building from ports worked totally great!
except for my hosts problem :)
*It took forever, but really expanded my command line-judo

Unfortunately- I actually finally gave up. I tried re-doing the jail again, to try your v0.9 plugin.. and I kept getting the "not a pbi-as good as corrupt" error. Even on the MiniDLNA pbi! I couldnt even get a regular jail working.
Maybe it is my cobbled together hardware.. but it seemed like there was always some little thing.
It is kind of sad, because I loved FreeBSD. But I was beating my head against every random thing way too hard. I needed to stop.
I have everything running perfectly on debian now. The zfs support seems solid.

I edited in my long walkthrough.. just for posterity.
It was actually pretty fun/liberating installing from ports. I feel like I could do almost anything now.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
The pkg_add port in 8.2 is has some known flaws.. plus it is version 5.something.
When I tried it, it failed on every level. Failed install, missed dependencies, and after I squared all that away.. it failed to start.
But building from ports worked totally great!
except for my hosts problem :)
*It took forever, but really expanded my command line-judo

Unfortunately- I actually finally gave up. I tried re-doing the jail again, to try your v0.9 plugin.. and I kept getting the "not a pbi-as good as corrupt" error. Even on the MiniDLNA pbi! I couldnt even get a regular jail working.
Maybe it is my cobbled together hardware.. but it seemed like there was always some little thing.
It is kind of sad, because I loved FreeBSD. But I was beating my head against every random thing way too hard. I needed to stop.
I have everything running perfectly on debian now. The zfs support seems solid.

I edited in my long walkthrough.. just for posterity.
It was actually pretty fun/liberating installing from ports. I feel like I could do almost anything now.

Nice try. yeah I couldn't get freenas working perfectly on my cousins laptop (cobled together server). threw on ubuntu and was able to get everything working fairly easy. Now if you have nice hardware (64bit, lots of drives), zfs is the way to go, and I actually test the sabnzbd pbi's.

EDIT
ohh, I couldn't install even official plugins before, I had to resort to a server reboot to get it fixed.
 

camn

Cadet
Joined
Oct 11, 2012
Messages
8
You are so right!

I ran debian for the last few days, but the video quality was crap, so I finally abandoned zfs.
My hardware sucks balls. It was good for FreeNas 7.. but is not doing it with these new distros! I guess I need more than 1GB ram
Although I really think it was because I was running from CF, not from RAMDrive, which is a 1000x slower, as you know, I am sure.

I will say, I am as of tonight running an unRAID setup (slackware) which does it all. It runs in RAM. It spins down. It has stable, easy plugins for Sab and Plex Media Server... and so far it is as solid as can be. Not to steal userbase.. but it rocks. So far. I will update if it turns out to be junk!
 
Status
Not open for further replies.
Top