Sabnzbd Plugin

Status
Not open for further replies.

exactrawr

Dabbler
Joined
Sep 25, 2013
Messages
44
Code:
[root@freenas ~]# tail -n 10 /var/log/messages                               
Oct  1 21:44:23 freenas ntpd[1731]: unable to create socket on epair1a (8) for f
e80::6b:f6ff:fe00:90a#123                                                   
Oct  1 21:44:25 freenas manage.py: [common.pipesubr:57] Popen()ing: /usr/sbin/je
xec  2 cat /usr/pbi/sabnzbd-amd64/freenas                                   
Oct  1 21:44:25 freenas notifier: Performing sanity check on nginx configuration
:                                                                           
Oct  1 21:44:25 freenas notifier: nginx: the configuration file /usr/local/etc/n
ginx/nginx.conf syntax is ok                                                 
Oct  1 21:44:25 freenas notifier: nginx: configuration file /usr/local/etc/nginx
/nginx.conf test is successful                                               
Oct  1 21:44:26 freenas manage.py: [common.pipesubr:57] Popen()ing: /usr/local/b
in/warden list  -v                                                           
Oct  1 21:44:26 freenas manage.py: [plugins.utils:87] Couldn't retrieve http://1
92.168.0.23/plugins/sabnzbd/1/_s/status: HTTP Error 502: Bad Gateway         
Oct  1 21:44:26 freenas manage.py: [common.pipesubr:57] Popen()ing: /usr/local/b
in/warden list  -v                                                           
Oct  1 21:44:26 freenas last message repeated 2 times                       
Oct  1 21:44:26 freenas manage.py: [freeadmin.navtree:473] Couldn't retrieve htt
p://192.168.0.23/plugins/sabnzbd/1/_s/treemenu: HTTP Error 502: Bad Gateway 
[root@freenas ~]#  


Haha sorry, hope thats better
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Do you know the IP of the FreeNAS machine?
If you don't, go to Shell and do this command:
Code:
netstat -rn


There will be an address that looks something like 192.168.0.x with a netif value of lo0.
Post the IP address here.
 

exactrawr

Dabbler
Joined
Sep 25, 2013
Messages
44
I believe its 192.168.0.23 heres the shell just incase

Code:
127.0.0.1          link#6            UH          0  150734    lo0           
192.168.0.0/24    link#2            U          0    26161    em0           
192.168.0.23      link#2            UHS        0        0    lo0           
                                                                               
Internet6:                                                                     
Destination                      Gateway                      Flags      Netif
Expire                                                                       
::/96                            ::1                          UGRS        lo0
::1                              link#6                        UH          lo0
::ffff:0.0.0.0/96                ::1                          UGRS        lo0
fe80::/10                        ::1                          UGRS        lo0
fe80::%em0/64                    link#2                        U          em0
fe80::96de:80ff:fea5:eff6%em0    link#2                        UHS        lo0
fe80::%lo0/64                    link#6                        U          lo0
fe80::1%lo0                      link#6                        UHS        lo0
fe80::%epair0a/64                link#8                        U      epair0a
fe80::55:36ff:fe00:80a%epair0a    link#8                        UHS        lo0
ff01::%em0/32                    fe80::96de:80ff:fea5:eff6%em0 U          em0
ff01::%lo0/32                    ::1                          U          lo0
ff01::%epair0a/32                fe80::55:36ff:fe00:80a%epair0a U      epair0a
ff02::/16                        ::1                          UGRS        lo0
ff02::%em0/32                    fe80::96de:80ff:fea5:eff6%em0 U          em0
ff02::%lo0/32                    ::1                          U          lo0
ff02::%epair0a/32                fe80::55:36ff:fe00:80a%epair0a U      epair0a
[root@freenas ~]#  
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Strange. Try deleting the plugin, then reinstall and try to start it again.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Which version of FreeNAS are you running? Your opening post says 9.1, but there's 9.1.0 and there's 9.1.1 which fixed a lot of jail issues.
 

exactrawr

Dabbler
Joined
Sep 25, 2013
Messages
44
The latest one 9.1.1. I only installed FreeNAS a few days ago. Its being very frustrating not having Sabnzbd and Sickbeard working.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
What's the problem with Sickbeard? Same issue?
 

exactrawr

Dabbler
Joined
Sep 25, 2013
Messages
44
Well I cant process the downloads from Sickbeard. It downloads the file but then leaves it in lots of small file?
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
I just noticed something. The netstat -rn command I told you to run, do you see a default entry? I don't see it in the output you posted.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Here's the output of netstat -rn that you posted.
I believe its 192.168.0.23 heres the shell just incase

Code:
127.0.0.1          link#6            UH          0  150734    lo0         
192.168.0.0/24    link#2            U          0    26161    em0         
192.168.0.23      link#2            UHS        0        0    lo0         
 
Here's mine:
Code:
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.7.1        UGS         0  2237069 epair2
127.0.0.1          link#1             UH          0       82    lo0
192.168.7.0/24     link#2             U           0   361924 epair2
192.168.7.20       link#2             UHS         0        0    lo0

Notice that you're missing default entry.
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Oh, that's probably your issue then. Make sure default gateway is filled in the FreeNAS web GUI.
 

exactrawr

Dabbler
Joined
Sep 25, 2013
Messages
44
It is filled in... Its the first thing I did?

What im saying is. When Sickbeard sends a download to Sabnzbd, it downloads but leaves the files unprocessed. Meaning there isnt a .avi file or whatever in the directory but a whole heap of different files
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
Then something is botched in your installation. You may have to add it in manually.
Go to Shell and type this:
Code:
route add 0.0.0.0 your_default_gw_ip

Obviously, substituting your_default_gw_ip with the real IP of your gateway/router.
Then check netstat -rn again to see if the default entry now shows up.
 

exactrawr

Dabbler
Joined
Sep 25, 2013
Messages
44
Code:
[root@freenas ~]# route add 0.0.0.0 192.168.0.xxx                             
route: writing to routing socket: File exists                                 
add net 0.0.0.0: gateway 192.168.0.xxx: route already in table                 
[root@freenas ~]#  


Says it's already in there?
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
That's strange. I don't know how it says it already exists, but it doesn't reflect it in the routing table output.

Try logging in the jail and starting the service manually with this command:
Code:
service sabnzbd onestart
 

exactrawr

Dabbler
Joined
Sep 25, 2013
Messages
44
Question: With 9.1.1 do my plugins have to be in the same jail? Because when I look at jails on the left its showing sabnzbd_1 and sickbeard_1 as there own jails?
 

Whattteva

Wizard
Joined
Mar 5, 2013
Messages
1,824
It creates a separate one for each plugin.
I think it's been that way since 8.3.0
 
Status
Not open for further replies.
Top