Page 1 of 1

Moved house and ISP - now not working

Posted: May 9th, 2008, 6:19 pm
by truxntrax
Been running SABnzbdplus on my Dlink nas box now for over a year - all working good upgraded no problem to new beta's.  My nas box runs debian etch.

So I move house - connect to new ISP and when I fired things up...  I see the following in debug:

2008-05-10 05:07:31,385::ERROR::Failed to start web-interface
Traceback (most recent call last):
  File "SABnzbd.py", line 707, in main
    cherrypy.server.start(init_only=True)
  File "/SABnzbd-0.2.5/cherrypy/_cpserver.py", line 72, in start
    Engine.start(self)
  File "/SABnzbd-0.2.5/cherrypy/_cpengine.py", line 106, in start
    self._start()
  File "/SABnzbd-0.2.5/cherrypy/_cpserver.py", line 79, in _start
    self.start_http_server()
  File "/SABnzbd-0.2.5/cherrypy/_cpserver.py", line 99, in start_http_server
    wait_for_free_port(host, port)
  File "/SABnzbd-0.2.5/cherrypy/_cpserver.py", line 244, in wait_for_free_port
    check_port(host, port)
  File "/SABnzbd-0.2.5/cherrypy/_cpserver.py", line 219, in check_port
    socket.SOCK_STREAM):
gaierror: (-3, 'Temporary failure in name resolution')
2008-05-10 05:07:31,537::INFO::SABnzbd shutting down...
2008-05-10 05:07:31,542::DEBUG::Stopping URLGrabber
2008-05-10 05:07:31,547::INFO::[sabnzbd.misc] URLGrabber shutting down
2008-05-10 05:07:31,554::DEBUG::Stopping dirscanner
2008-05-10 05:07:31,559::INFO::[sabnzbd.misc] Dirscanner shutting down
2008-05-10 05:07:31,963::DEBUG::Stopping downloader


Before I got to this error I was getting a different error. - To rectify this I added my nas box ip address to the SABnzbd.py file (line 584)

    localhost = hostip = '192.168.1.155'

the earlier error looked like this:

2008-05-10 05:16:01,049::INFO::_yenc module... found!
2008-05-10 05:16:01,054::INFO::celementtree module... found!
2008-05-10 05:16:01,059::INFO::par2 binary... found (/usr/bin/par2)
2008-05-10 05:16:01,064::INFO::rar binary... found (/usr/bin/unrar)
2008-05-10 05:16:01,068::INFO::unzip binary... found (/usr/bin/unzip)
2008-05-10 05:16:01,073::INFO::pyOpenSSL... found (True)
2008-05-10 05:16:01,078::DEBUG::host -> 192.168.1.155
Traceback (most recent call last):
  File "SABnzbd.py", line 737, in ?
    main()
  File "SABnzbd.py", line 590, in main
    info = socket.getaddrinfo(localhost, None)
socket.gaierror: (-3, 'Temporary failure in name resolution')

This seemed to get me a little further but still failing to initialise the web interface -

can anyone help?!

I am using version beta 4.

Can post .ini and .py files if this helps

Thanks

T

Re: Moved house and ISP - now not working

Posted: May 10th, 2008, 3:42 am
by shypike
Looks there's something wrong with DNS name resolution.
New ISP, could be. Do other programs have similar problems?

What Operating System are you using?

Your fix won't help.
First try to use a "safe" address like 127.0.0.1.

So start up SABnzbd from the command line with --server 127.0.0.1:8080
and see what happens.
After that you can try other addresses, although when you need no access
to SABnzbd from other computers, there's no need.

Email your log file to [email protected]

Re: Moved house and ISP - now not working

Posted: May 13th, 2008, 11:18 am
by truxntrax
OS = debian etch running on nas box dlink 323.

Got web interface working now (using beta 2 version)...

All other programs are working ok (pan on ubuntu machine)

Getting the following error messages now:

2008-05-14 10:12:12,080 ERROR [downloader] Failed to initialize [email protected]:119 Traceback (most recent call last): File "/SABnzbd-0.2.5/sabnzbd/downloader.py", line 244, in run nw.init_connect() File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 146, in init_connect self.server.username, self.server.password) File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 86, in __init__ raise socket.error(errno.EADDRNOTAVAIL, "Address not available") error: (99, 'Address not available')
2008-05-14 10:12:12,109 WARNING [downloader] Thread [email protected]:119: failed to initialize
2008-05-14 10:13:12,030 ERROR [downloader] Failed to initialize [email protected]:119 Traceback (most recent call last): File "/SABnzbd-0.2.5/sabnzbd/downloader.py", line 244, in run nw.init_connect() File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 146, in init_connect self.server.username, self.server.password) File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 86, in __init__ raise socket.error(errno.EADDRNOTAVAIL, "Address not available") error: (99, 'Address not available')
2008-05-14 10:13:12,038 WARNING [downloader] Thread [email protected]:119: failed to initialize
2008-05-14 10:14:11,969 ERROR [downloader] Failed to initialize [email protected]:119 Traceback (most recent call last): File "/SABnzbd-0.2.5/sabnzbd/downloader.py", line 244, in run nw.init_connect() File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 146, in init_connect self.server.username, self.server.password) File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 86, in __init__ raise socket.error(errno.EADDRNOTAVAIL, "Address not available") error: (99, 'Address not available')
2008-05-14 10:14:11,978 WARNING [downloader] Thread [email protected]:119: failed to initialize
2008-05-14 10:15:11,899 ERROR [downloader] Failed to initialize [email protected]:119 Traceback (most recent call last): File "/SABnzbd-0.2.5/sabnzbd/downloader.py", line 244, in run nw.init_connect() File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 146, in init_connect self.server.username, self.server.password) File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 86, in __init__ raise socket.error(errno.EADDRNOTAVAIL, "Address not available") error: (99, 'Address not available')
2008-05-14 10:15:11,907 WARNING [downloader] Thread [email protected]:119: failed to initialize
2008-05-14 10:16:11,848 ERROR [downloader] Failed to initialize [email protected]:119 Traceback (most recent call last): File "/SABnzbd-0.2.5/sabnzbd/downloader.py", line 244, in run nw.init_connect() File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 146, in init_connect self.server.username, self.server.password) File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 86, in __init__ raise socket.error(errno.EADDRNOTAVAIL, "Address not available") error: (99, 'Address not available')
2008-05-14 10:16:11,857 WARNING [downloader] Thread [email protected]:119: failed to initialize
2008-05-14 10:17:11,778 ERROR [downloader] Failed to initialize [email protected]:119 Traceback (most recent call last): File "/SABnzbd-0.2.5/sabnzbd/downloader.py", line 244, in run nw.init_connect() File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 146, in init_connect self.server.username, self.server.password) File "/SABnzbd-0.2.5/sabnzbd/newswrapper.py", line 86, in __init__ raise socket.error(errno.EADDRNOTAVAIL, "Address not available") error: (99, 'Address not available')
2008-05-14 10:17:11,787 WARNING [downloader] Thread [email protected]:119: failed to initialize

Re: Moved house and ISP - now not working

Posted: May 13th, 2008, 1:30 pm
by shypike
There still must be something wrong with DNS.

What does "ping news-europe.giganews.com" give?

have you tried the numerical IP: 216.196.109.144 ?

I have no problems whatsoever on my Ubuntu Server 8.04 system using the same Usenet server.
You did not by any change use port 119 and select SSL?

Re: Moved house and ISP - now not working

Posted: May 13th, 2008, 4:14 pm
by truxntrax
Silly silly me....

I am now on a cable connection was adsl before.

So I am using a different router to before.

IP address of the router is different hence the dns issue.

I cannot remember how to change the gateway address on my debain machine (terminal only).

To work around this I have changed the ip of my new router to match that of my old router.

However I still think there is an issue with the new beta's running on my NAS box - beta 2 ok but 4,5 not.  Will investigate more and post in beta section later.

Thanks for reply's

Trux

Re: Moved house and ISP - now not working

Posted: May 14th, 2008, 1:46 am
by shypike
Maybe you need to downgrade the CherryPy component.
See this post: http://forums.sabnzbd.org/index.php?topic=640.0