FreeNAS - THE MOST COOLEST *UNIX THING EVER

Code:
freenas:~# python /usr/local/bin/SABnzbd.py
2009-04-05 15:16:27,472::INFO::--------------------------------
2009-04-05 15:16:27,472::INFO::SABnzbd.py-0.4.8 (rev=2378)
2009-04-05 15:16:27,472::INFO::Platform = posix
2009-04-05 15:16:27,473::INFO::Python-version = 2.5.2 (r252:60911, Sep  6 2008, 19:33:22) 
[GCC 3.4.6 [FreeBSD] 20060305]
2009-04-05 15:16:27,474::INFO::[sabnzbd] Loading data for rss_data.sab from /root/.sabnzbd/cache/rss_data.sab
2009-04-05 15:16:27,476::INFO::[sabnzbd] Loading data for bytes7.sab from /root/.sabnzbd/cache/bytes7.sab
2009-04-05 15:16:27,476::INFO::[sabnzbd] Loading data for queue7.sab from /root/.sabnzbd/cache/queue7.sab
2009-04-05 15:16:27,477::WARNING::[downloader] No active primary servers defined, will not download!
2009-04-05 15:16:27,477::INFO::All processes started
2009-04-05 15:16:27,479::INFO::_yenc module... NOT found!
2009-04-05 15:16:27,479::INFO::celementtree module... found!
2009-04-05 15:16:27,479::INFO::par2 binary... found (/usr/local/bin/par2)
2009-04-05 15:16:27,479::INFO::unrar binary... found (/usr/local/bin/unrar)
2009-04-05 15:16:27,480::INFO::unzip binary... found (/usr/local/bin/unzip)
2009-04-05 15:16:27,480::INFO::nice binary... found (/usr/bin/nice)
2009-04-05 15:16:27,480::INFO::ionice binary... NOT found!
2009-04-05 15:16:27,480::INFO::pyOpenSSL... found (True)
2009-04-05 15:16:27,567::INFO::Web dir is /usr/local/bin/interfaces/Default
2009-04-05 15:16:27,568::WARNING::Cannot find web template: /usr/local/bin/interfaces/Default/templates/main.tmpl, trying standard template
2009-04-05 15:16:27,568::ERROR::Cannot find standard template: /usr/local/bin/interfaces/Default
Traceback (most recent call last):
  File "/usr/local/bin/SABnzbd.py", line 647, in main
    info = socket.getaddrinfo(socket.gethostname(), None)
gaierror: (8, 'hostname nor servname provided, or not known')
2009-04-05 15:16:27,569::INFO::Lauching browser with /tmp/tmpMYHkRm.html
freenas:~#

Whats wrong? /usr/local/bin/interfaces/Default/templates/main.tmpl is there though! I can see it in ftp...
 
Last edited:
yay fixed it, just moved the interfaces folder to where it was complaining about, now it launches in 0.4.8.

:)

Now to work out how to get the autostart script to work.

EDIT: Now getting this -

Code:
freenas:/bin# /root/sab.sh start
Starting SABnzbd.
/root/sab.sh: /usr/bin/sudo: not found

This obviously is because sudo isn't installed, what does your start upscript contain craig?

are you running sabnzbd under root? or did you create a user specifically for sabnzbd, if you did what permission did you give it?

im so close :S
 
Last edited:
Awesome,

I have now got it up and running. A couple of things to note. I had to SSH in using putty to untar.

then make sure to reboot the server.

I then had to start the SABnzbd.py script from the server itself, not using the SSH from another PC.

I have no idea why this was

trial and error on a massive scale.

My NEW QUESTION

how do I 'reference' the download directory. Currently it is saving articles in root???

I assume by reference u mean change?

is all on the web interface.

http://192.168.0.7:8080/sabnzbd

then its something liek >config > something or other.

I'll check my server tommorrow, proper tired now :)
 
I found FreeNAS to restrictive in the end and have run arch for over a year on my server. It has broke though and I don't have the time to fix it, will probably nuke it and go back to debian.
 
Back
Top Bottom