[OFFICIAL] sabnzbd

Problems with packages? Post here, using [tags] of the package name.

Re: [OFFICIAL] sabnzbd

Postby strato » Sat Sep 01, 2012 7:30 pm

$this->bbcode_second_pass_quote('ygator', 'T')hey have fixed everything now, though I have not tested from a clean install, but nothing really special to do.
First make sure everything is up to date with
$this->bbcode_second_pass_code('', 'pacman -Syyu')and then you simply do a
$this->bbcode_second_pass_code('', 'pacman -S sabnzbd')To start and stop you do
$this->bbcode_second_pass_code('', '/etc/rc.d/sabnzbd start
/etc/rc.d/sabnzbd stop')You can also add it to the daemon list at the end of /etc/rc.conf to have it auto start at boot.

Once you have setup sabnzbd you will need to edit /etc/conf.d/sabnzbd and set your api key.
You will also want to set the IP up as well. This is used when doing an /etc/rc.d/sabnzbd stop.

When you setup sabnzbd to put the files to your mounted drive instead of the default you want to make sure it is mounted before starting sabnzbd or else it will reset back to defaults. Also sabnzbd defaults and runs under the sabnzbd user. If you keep it this way you will want to mount the drive with sabnzbd as the owner of the drive. If you don't do this then you will need to have it run under root by changing the user in /etc/conf.d/sabnzbd.


My sabnzbd setup was going pretty smooth and I was doing some housekeeping to wrap things up when I came to this, I wanted sabnzbd to load at boot and being novice I misunderstood something in this post and added "/etc/rc.d/sabnzbd start" to the bottom of my "/etc/rc.conf" file and now my device GoFlex Home will not boot and is inaccessible.

First , are there alternative ways I can it back into this device to remove the setting?
Second, if not, does anyone know if the device be reset?

Being a linux novice, mistakes sure come with a heavy toll sometimes :(
strato
 
Posts: 10
Joined: Sat Sep 01, 2012 7:09 pm

Re: [OFFICIAL] sabnzbd

Postby strato » Mon Sep 03, 2012 8:03 pm

$this->bbcode_second_pass_quote('ygator', 'T')hey have fixed everything now, though I have not tested from a clean install, but nothing really special to do.
First make sure everything is up to date with
$this->bbcode_second_pass_code('', 'pacman -Syyu')and then you simply do a
$this->bbcode_second_pass_code('', 'pacman -S sabnzbd')To start and stop you do
$this->bbcode_second_pass_code('', '/etc/rc.d/sabnzbd start
/etc/rc.d/sabnzbd stop')You can also add it to the daemon list at the end of /etc/rc.conf to have it auto start at boot.

Once you have setup sabnzbd you will need to edit /etc/conf.d/sabnzbd and set your api key.
You will also want to set the IP up as well. This is used when doing an /etc/rc.d/sabnzbd stop.

When you setup sabnzbd to put the files to your mounted drive instead of the default you want to make sure it is mounted before starting sabnzbd or else it will reset back to defaults. Also sabnzbd defaults and runs under the sabnzbd user. If you keep it this way you will want to mount the drive with sabnzbd as the owner of the drive. If you don't do this then you will need to have it run under root by changing the user in /etc/conf.d/sabnzbd.



Update:

Resolved issue by removing the drive from the network base, accessing the drive using ubuntu live cd, removed dorked entry from /etc/rc.conf file and system now boots normally again. Can someone elaborate on this and tell me what I did wrong? how do I get sabnzbd to start automatically?

thanks
strato
 
Posts: 10
Joined: Sat Sep 01, 2012 7:09 pm

Re: [OFFICIAL] sabnzbd

Postby pepedog » Mon Sep 03, 2012 8:32 pm

Does it start and stop with these?
/etc/rc.d/sabnzbd start
/etc/rc.d/sabnzbd stop
If it does, let us inspect your DAEMONS line from rc.conf
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [OFFICIAL] sabnzbd

Postby strato » Mon Sep 03, 2012 8:36 pm

$this->bbcode_second_pass_quote('pepedog', 'D')oes it start and stop with these?
/etc/rc.d/sabnzbd start
/etc/rc.d/sabnzbd stop
If it does, let us inspect your DAEMONS line from rc.conf


Yes, starts and stops fine manually running the above,

from rc.conf
$this->bbcode_second_pass_code('', 'DAEMONS=(hwclock syslog-ng network netfs crond sshd)')

Thanks again,
strato
 
Posts: 10
Joined: Sat Sep 01, 2012 7:09 pm
Top

Re: [OFFICIAL] sabnzbd

Postby pepedog » Mon Sep 03, 2012 10:26 pm

That is a bog standard DAEMONS line, was hoping you put in sabnzbd entry, that would be the same as a particular file in /etc/rc.d folder

Also a couple of points, remove hwclock and netfs, also as there is no hardware clock things go wrong as the time is wrong, so install ntp. That will require an entry in DAEMONS too, right after network (entries in that line run the scripts in /etc/rc.d/ folder)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [OFFICIAL] sabnzbd

Postby strato » Mon Sep 03, 2012 11:52 pm

$this->bbcode_second_pass_quote('pepedog', 'T')hat is a bog standard DAEMONS line, was hoping you put in sabnzbd entry, that would be the same as a particular file in /etc/rc.d folder

Also a couple of points, remove hwclock and netfs, also as there is no hardware clock things go wrong as the time is wrong, so install ntp. That will require an entry in DAEMONS too, right after network (entries in that line run the scripts in /etc/rc.d/ folder)


Added: ntp, samba, sabnzbd
$this->bbcode_second_pass_code('', 'DAEMONS=(ntpd syslog-ng network crond sshd samba sabnzbd)')

everything is starting now. There seems to be a lot of discussion on how to autostart SickBeard. If you are familiar, do you have suggestion as to simple way to start this as currently I still have to manually cd "/opt/my-sickbeard-install" and run python SickBeard.py

thanks again,
strato
 
Posts: 10
Joined: Sat Sep 01, 2012 7:09 pm
Top

Re: [OFFICIAL] sabnzbd

Postby pepedog » Tue Sep 04, 2012 8:27 am

I can't help you there, perhaps you should start another thread
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [OFFICIAL] sabnzbd

Postby pepedog » Tue Sep 04, 2012 9:25 am

Also ntpd should go after network in DAEMONS
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [OFFICIAL] sabnzbd

Postby joecho5 » Wed Sep 05, 2012 7:39 am

I just installed sabnzbd and when I tried to start it I get:

OSError: [Errno 13] Permission denied: '/dev/urandom'

Anyone know what I need to do to start sabnzbd?
Last edited by joecho5 on Wed Sep 05, 2012 5:33 pm, edited 1 time in total.
joecho5
 
Posts: 7
Joined: Mon Sep 03, 2012 11:26 pm

Re: [OFFICIAL] sabnzbd

Postby pepedog » Wed Sep 05, 2012 8:11 am

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 6 guests