Page 2 of 3

Re: SabNZBd on Opensolaris?

Posted: January 15th, 2009, 2:54 am
by jordz
shypike wrote: I think "deprecated" is just a warning and should not interfere with normal operation.

However, there can be all sorts of subtle incompatibilities in other areas.
That's what I meant, that it works, didn't notice any problems.

Re: SabNZBd on Opensolaris?

Posted: May 30th, 2009, 10:59 am
by wyd1
Hey guys

I've tried to run SABnzbd+ (0.4.11) on a FreeBSD (7.2) Server. Everything works fine, but i can't use the webinterface.

NAS# python /usr/local/bin/SABnzbd.py -b0 -s 192.168.1.88:8080 &

Code: Select all

[1] 75239
NAS# 2009-05-30 17:45:11,917::INFO::--------------------------------
2009-05-30 17:45:11,917::INFO::SABnzbd.py-0.4.11 (rev=2517)
2009-05-30 17:45:11,918::INFO::Platform = posix
2009-05-30 17:45:11,918::INFO::Python-version = 2.5.2 (r252:60911, Dec  9 2008, 14:09:26) 
[GCC 4.2.1 20070719  [FreeBSD]]
2009-05-30 17:45:11,919::INFO::[sabnzbd] Loading data for rss_data.sab from /root/.sabnzbd/cache/rss_data.sab
2009-05-30 17:45:11,921::INFO::[sabnzbd] Loading data for bytes7.sab from /root/.sabnzbd/cache/bytes7.sab
2009-05-30 17:45:11,921::INFO::[sabnzbd] Loading data for queue7.sab from /root/.sabnzbd/cache/queue7.sab
2009-05-30 17:45:11,922::WARNING::[downloader] No active primary servers defined, will not download!
2009-05-30 17:45:11,922::INFO::[sabnzbd] Loading data for watched_data.sab from /root/.sabnzbd/cache/watched_data.sab
2009-05-30 17:45:11,923::INFO::All processes started
2009-05-30 17:45:11,924::INFO::_yenc module... found!
2009-05-30 17:45:11,924::INFO::celementtree module... found!
2009-05-30 17:45:11,924::INFO::par2 binary... found (/usr/local/bin/par2)
2009-05-30 17:45:11,924::INFO::unrar binary... found (/usr/local/bin/unrar)
2009-05-30 17:45:11,924::INFO::unzip binary... found (/usr/local/bin/unzip)
2009-05-30 17:45:11,925::INFO::nice binary... found (/usr/bin/nice)
2009-05-30 17:45:11,925::INFO::ionice binary... NOT found!
2009-05-30 17:45:11,925::INFO::pyOpenSSL... found (True)
2009-05-30 17:45:12,580::INFO::Web dir is /usr/local/share/sabnzbdplus/interfaces/Default
2009-05-30 17:45:12,583::INFO::Starting SABnzbd.py-0.4.11
2009-05-30 17:45:12,584::INFO::[nzbqueue] Saving queue
2009-05-30 17:45:12,584::INFO::[sabnzbd] Saving data for queue7.sab in /root/.sabnzbd/cache/queue7.sab
2009-05-30 17:45:12,585::INFO::[sabnzbd] Saving data for bytes7.sab in /root/.sabnzbd/cache/bytes7.sab
2009-05-30 17:45:12,586::INFO::[sabnzbd] Saving data for rss_data.sab in /root/.sabnzbd/cache/rss_data.sab
2009-05-30 17:45:12,587::INFO::[sabnzbd] Saving data for watched_data.sab in /root/.sabnzbd/cache/watched_data.sab
2009-05-30 17:45:12,591::INFO::[sabnzbd.misc] Dirscanner starting up
2009-05-30 17:45:12,593::INFO::[sabnzbd.misc] URLGrabber starting up
2009-05-30 17:45:12,595::INFO::Starting web-interface on :8080
30/May/2009:17:45:12 CONFIG INFO Server parameters:
30/May/2009:17:45:12 CONFIG INFO   server.environment: production
30/May/2009:17:45:12 CONFIG INFO   server.log_to_screen: True
30/May/2009:17:45:12 CONFIG INFO   server.log_file: /root/.sabnzbd/logs/cherrypy.log
30/May/2009:17:45:12 CONFIG INFO   server.log_tracebacks: True
30/May/2009:17:45:12 CONFIG INFO   server.log_request_headers: False
30/May/2009:17:45:12 CONFIG INFO   server.protocol_version: HTTP/1.0
30/May/2009:17:45:12 CONFIG INFO   server.socket_host: 
30/May/2009:17:45:12 CONFIG INFO   server.socket_port: 8080
30/May/2009:17:45:12 CONFIG INFO   server.socket_file: 
30/May/2009:17:45:12 CONFIG INFO   server.reverse_dns: False
30/May/2009:17:45:12 CONFIG INFO   server.socket_queue_size: 5
30/May/2009:17:45:12 CONFIG INFO   server.thread_pool: 10
30/May/2009:17:45:12 HTTP INFO Serving HTTP on http://0.0.0.0:8080/
NAS# netstat -a | grep 8080
tcp6      0      0 localhost.62728        localhost.8080        TIME_WAIT
tcp6      0      0 localhost.56235        localhost.8080        TIME_WAIT
tcp6      0      0 *.8080                *.*                    LISTEN

Any ideas?

Thanks,

wyd1

Re: SabNZBd on Opensolaris?

Posted: May 31st, 2009, 6:41 am
by shypike
Somehow I think you are not starting it with -s 192.168.1.88:8080,
because the log says it listens on http://0.0.0.0:8080/, which isn't the same.

0.0.0.0 isn't always handled properly, because some Unix systems don't give a reliable IP address
back to SABnzbd.

Re: SabNZBd on Opensolaris?

Posted: May 31st, 2009, 7:27 am
by wyd1
shypike wrote: Somehow I think you are not starting it with -s 192.168.1.88:8080,
because the log says it listens on http://0.0.0.0:8080/, which isn't the same.

0.0.0.0 isn't always handled properly, because some Unix systems don't give a reliable IP address
back to SABnzbd.
But i do start with 192.168.1.88:8080. I have no idea why SABnzbd don't start with the correct settings. I even modified the ini with the correct IP Adress. But it ignored everything sucessfully....

Re: SabNZBd on Opensolaris?

Posted: June 1st, 2009, 6:00 am
by shypike
Try editing the INI file and just fill in the right parameters.

Re: SabNZBd on Opensolaris?

Posted: June 1st, 2009, 8:28 am
by wyd1
shypike wrote: Try editing the INI file and just fill in the right parameters.
I've already done that. It doesn't change a thing

Re: SabNZBd on Opensolaris?

Posted: June 2nd, 2009, 5:21 am
by shypike
wyd1 wrote: NAS# python /usr/local/bin/SABnzbd.py -b0 -s 192.168.1.88:8080 &
Only now I see what you did wrong!
You should do it like this:

Code: Select all

python /usr/local/bin/SABnzbd.py -b0 -s 192.168.1.88:8080 -f FULL-INI-PATH -d
The -d option is essential, it invokes the daemon mode.
Starting it "regular" and appending '&', just isn't the same!

Re: SabNZBd on Opensolaris?

Posted: June 2nd, 2009, 10:37 am
by wyd1
shypike wrote:
wyd1 wrote: NAS# python /usr/local/bin/SABnzbd.py -b0 -s 192.168.1.88:8080 &
Only now I see what you did wrong!
You should do it like this:

Code: Select all

python /usr/local/bin/SABnzbd.py -b0 -s 192.168.1.88:8080 -f FULL-INI-PATH -d
The -d option is essential, it invokes the daemon mode.
Starting it "regular" and appending '&', just isn't the same!
Ok, i tried it exactly that way.

python /usr/local/bin/SABnzbd.py -b0 -s 192.168.1.88:8085 -f ~/.sabnzbd/SABnzbd.ini -d

But i still can't connect to the webinterface.  ???

Re: SabNZBd on Opensolaris?

Posted: June 3rd, 2009, 1:29 am
by shypike
In that case, I give up.
I have it working properly on DesktopBSD 1.6 (on VMWare), which is based on freeBSD.

Re: SabNZBd on Opensolaris?

Posted: June 3rd, 2009, 1:27 pm
by wyd1
shypike wrote: In that case, I give up.
I have it working properly on DesktopBSD 1.6 (on VMWare), which is based on freeBSD.
Thanks for all your help, i appreciate that!

In that case i have to switch to OpenSolaris, but that isn't that easy, because OpenSolaris don't support my networkcard (and i have no idea how to include my RAIDZ-1 built in FreeBSD to Opensolaris. zfs mount NAS or whatever...

Re: SabNZBd on Opensolaris?

Posted: August 18th, 2009, 12:52 pm
by wyd1
So, i upgraded to OpenSolaris, and now SABnzbd runs (with that instructions here : http://sabnzbd.wikidot.com/install-cc42)

But:

After adding a nzb file SABnzbd always says :

2009-08-18 18:14:06,246 WARNING [nzbstuff] Incorrect NZB file _Ubuntu......nzb (trying anyway)

2009-08-18 18:14:06,246 ERROR [nzbstuff] Invalid NZB file _UBUNTU.nzb, skipping


After downloading :

[PAR-INFO] Ubuntu....: => Repairing : 100%

[RAR-INFO] Ubunu.....: => ERROR: Ubuntu.....iso"

(yeah, Ubuntu is just an example ;) )

I've tested it with nearly 30 nzbs (some can i extract, but the most don't work. And all of it got that strange invalid nzb error messages. I've tried all free search machines...)

Any ideas what's wrong?

Re: SabNZBd on Opensolaris?

Posted: August 25th, 2009, 4:51 pm
by shypike
Zip and email some problematic NZB-files to [email protected], so that
we can have a look at them.
The parsing of the NZB files is done with standard Python functionality.
You can sign-up as a Release Tester in the Beta board, this will give you access to 0.5.0 test releases.

Re: SabNZBd on Opensolaris?

Posted: August 26th, 2009, 1:54 pm
by wyd1
Thanks a lot! I've mailed the requested nzb files.

The weird thing is : I don't get the error messages when i download some stuff with a RSS feed or add the files manualy to SAB (but most of the time i do get the following error :

[PAR-INFO] Ubuntu....: => Repairing : 100%

[RAR-INFO] Ubunu.....: => ERROR: Ubuntu.....iso"
)

Maybe you find something

Re: SabNZBd on Opensolaris?

Posted: March 1st, 2011, 6:12 am
by WickedWesley
Hey guys, a little while ago I wrote an install guide for SAB on OpenSolaris.

http://blog.bitechular.com/2010/11/19/h ... s-sabnzbd/

I hope this isn't considered spam! Feel free to copy it to the SAB documentation/wiki/whatever! :)

Re: SabNZBd on Opensolaris?

Posted: March 1st, 2011, 6:20 am
by shypike
WickedWesley wrote: I hope this isn't considered spam!
We can distinguish relevant links from spam :)
Thanks.