DD-WRT Router - SABnzbd Plus won't Start

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
dbreaka
Newbie
Newbie
Posts: 5
Joined: February 26th, 2011, 9:26 am

DD-WRT Router - SABnzbd Plus won't Start

Post by dbreaka »

I have installed SABnzbd via Optware on my DD-WRT Router (Asus RT-N16). When I do the following command

Code: Select all

root@DD-WRT:~# /opt/share/SABnzbd.py -s localhost:7777
I get the following after:

Code: Select all

2011-02-25 16:49:07,777::INFO::[SABnzbd:973] --------------------------------
2011-02-25 16:49:07,817::INFO::[SABnzbd:974] SABnzbd.py-0.5.6 (rev=2503)
2011-02-25 16:49:07,823::INFO::[SABnzbd:984] Platform = posix
2011-02-25 16:49:07,830::INFO::[SABnzbd:985] Python-version = 2.5.5 (r255:77872, May 20 2010, 23:37:05) 
[GCC 4.1.1]
2011-02-25 16:49:08,534::INFO::[__init__:702] /opt/share/SABnzbd/cache/bookmarks.sab removed
2011-02-25 16:49:08,554::INFO::[postproc:139] Loading postproc queue
2011-02-25 16:49:08,804::INFO::[__init__:702] /opt/share/SABnzbd/cache/postproc1.sab removed
2011-02-25 16:49:08,830::INFO::[downloader:334] Resuming
2011-02-25 16:49:08,996::INFO::[__init__:251] All processes started
2011-02-25 16:49:09,004::INFO::[SABnzbd:269] Web dir is /opt/share/SABnzbd/interfaces/smpl
2011-02-25 16:49:09,239::INFO::[SABnzbd:1038] Starting SABnzbd.py-0.5.6
2011-02-25 16:49:09,288::INFO::[dirscanner:375] Dirscanner starting up
2011-02-25 16:49:09,308::INFO::[urlgrabber:103] URLGrabber starting up
2011-02-25 16:49:09,317::INFO::[SABnzbd:390] _yenc module... found!
2011-02-25 16:49:09,323::INFO::[SABnzbd:398] par2 binary... found (/opt/bin/par2)
2011-02-25 16:49:09,329::INFO::[SABnzbd:406] unrar binary... found (/opt/bin/unrar)
2011-02-25 16:49:09,335::INFO::[SABnzbd:411] unzip binary... found (/opt/bin/unzip)
2011-02-25 16:49:09,341::INFO::[SABnzbd:417] nice binary... found (/opt/bin/nice)
2011-02-25 16:49:09,348::INFO::[SABnzbd:423] ionice binary... NOT found!
2011-02-25 16:49:09,354::INFO::[SABnzbd:426] pyOpenSSL... found (True)
2011-02-25 16:49:09,376::INFO::[SABnzbd:1136] Starting web-interface on localhost:7777
2011-02-25 16:49:09,386::INFO::[_cplogging:55] [25/Feb/2011:16:49:09] ENGINE Bus STARTING
2011-02-25 16:49:09,448::INFO::[_cplogging:55] [25/Feb/2011:16:49:09] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-02-25 16:49:09,581::INFO::[_cplogging:55] [25/Feb/2011:16:49:09] ENGINE Serving on localhost:7777
2011-02-25 16:49:09,593::INFO::[_cplogging:55] [25/Feb/2011:16:49:09] ENGINE Bus STARTED
2011-02-25 16:49:23,548::INFO::[rss:376] Running scheduled RSS scan
It hangs on this last line:

2011-02-25 16:49:23,548::INFO::[rss:376] Running scheduled RSS scan

I try to navigate to http://192.168.1.1:7777/sabnzbd via my web browser, but I get a timeout.

I'm stuck at this point.
Last edited by dbreaka on February 26th, 2011, 10:18 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by shypike »

Do you have any RSS definitions and are they active?
dbreaka
Newbie
Newbie
Posts: 5
Joined: February 26th, 2011, 9:26 am

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by dbreaka »

This is a new installation, no RSS feeds have been defined.
dbreaka
Newbie
Newbie
Posts: 5
Joined: February 26th, 2011, 9:26 am

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by dbreaka »

SOLVED!

I executed the following instead and it worked:

/opt/share/SABnzbd/SABnzbd.py -s 192.168.1.1:9090
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by shypike »

Good. Apparently your router reserves some ports for its own use.
dbreaka
Newbie
Newbie
Posts: 5
Joined: February 26th, 2011, 9:26 am

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by dbreaka »

Spoke too soon.

Won't work on the router. I get a segmentation error and it shuts down. Not enough RAM on this thing. Sucks.

Unit RAM = 128 MB (2x 64MB - Samsung K4N511163QZ-HC25 or 2x 64MB - Samsung K4T51163QG-HCE6)
Unit Flash = 32 MB (MACRONIX MX29GL256EHTI2I-90Q)
Unit CPU = Broadcom4718A, 533 MHz (Factory clocked to 480MHz)

Word to anyone wanting to use this for SABnzbd, it won't work! You're best to run this on an actual desktop system.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by john3voltas »

How about using one of it's USB ports (if it even has one) and plug a pendisk?
That way maybe you could use the pendisk as swap file.
Just a thought ;)
Cheers
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by shypike »

128M is just not enough, sorry.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by john3voltas »

Are you sure?
Not even using swap?
Cheers
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by shypike »

It would have to be a very efficient swap.
Of the 128M a significant part will be used by the OS and router software.
You'd be lucky if 64M was left for SABnzbd, which is just too little.
dbreaka
Newbie
Newbie
Posts: 5
Joined: February 26th, 2011, 9:26 am

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by dbreaka »

john3voltas wrote: How about using one of it's USB ports (if it even has one) and plug a pendisk?
That way maybe you could use the pendisk as swap file.
Just a thought ;)
Cheers
My attempt at SABnzbd on this router was actually done with a 4GB USB Stick. I even made the swapfile 1GB.

Definitely requires more RAM if you want to use this.
z3r0z
Newbie
Newbie
Posts: 2
Joined: February 28th, 2011, 9:55 pm

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by z3r0z »

it would be skull bashingly slow even if it worked. Even the highest end consumer routers seldom have processors faster than a blazing 300mhz... how long would it take to do repairs and unrars on that??
Effenberg0x0
Newbie
Newbie
Posts: 42
Joined: January 24th, 2011, 1:26 pm

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by Effenberg0x0 »

Just a comment on my experience: I had many, many routers from all brands, always running alternative firmwares like DD-WRT, Tomato, etc. Bricked a few, etc. Man, its just not worth the pain. You always need more than they can do. You end up overclocking, burning the whole thing. Running stuff like Transmission-daemon and sabnzbd on the router will slow your network completely.

If you can, get yourself a mini-itx PC, like a Revo, which is very cheap, consumes very little power, and install your favorite Linux distro on it. The use your current router just as the AP. I have a Mini-PC that operates as Local DNS, DHCP server, Lamp, FTP, Windows File Server / Domain Controler, Firewall, Router (wired 1Gbit / wireless N), runs a small RAID 1 with two HDD (mdadm), plus Sabnzbd, Sick Beard, Couchpotato and Transmission-daemon, and is capable of XBMC via HDMI at very smooth 1080P.

I paid like 50 USD more on it than I would on a reasonably decent standard router. eBay / etc is got this things very cheap. Sure, it takes some effort to set it all up right, ok, you'll spend some days fixing it, but there's a lot of info on how to do it online. Something like BrazilFW (ex. Coyote NAS) for example may help you get up and running quickly. You can leave it headless or use the TV HDMI input as monitor when needed.

You'll be happier and there's no way to compare cost-benefit to any domestic / SOHO router I have ever seen.

Just my 2 cents.

Regards,
Effenberg
Last edited by Effenberg0x0 on March 2nd, 2011, 12:38 am, edited 1 time in total.
User avatar
john3voltas
Release Testers
Release Testers
Posts: 115
Joined: January 17th, 2008, 5:35 pm
Location: Lisbon/Portugal

Re: DD-WRT Router - SABnzbd Plus won't Start

Post by john3voltas »

Local DNS, DHCP server, Lamp, FTP, Windows File Server / Domain Controler, Firewall, plus Sabnzbd, Sick Beard, Couchpotato and Transmission-daemon
I'm doing all this (except Firewall atm) on Seagate Dockstar (30€ on eBay).
Of course I had to buy an external USB disk (500GB for 50€).
Power consumption is between 5-8Watts.
Cheers
Last edited by john3voltas on March 2nd, 2011, 3:53 am, edited 1 time in total.
SABnzbd 0.6.0Alpha11 on Fedora 14-64bit laptop.
Usenet-News, TeraNews, newszilla6.xs4all.nl and reader.ipv6.xsnews.nl.
IPv6 connections powered by Hurricane Electric.
Can pull 30Mbit nntp on a 30Mbit FTTH link.
Post Reply