Re: SABnzbd 0.7.0 - FreeBSD8.3
Posted: June 17th, 2012, 7:52 pm
It is strange! I appreciate your help - have a good one!
However, I think your setup returns this for 0.0.0.0socket.getaddrinfo(host, port, family=0, socktype=0, proto=0, flags=0)
...
The function returns a list of 5-tuples with the following structure:
(family, socktype, proto, canonname, sockaddr)
In these tuples, family, socktype, proto are all integers and are meant to be passed to the socket() function. canonname will be a string representing the canonical name of the host if AI_CANONNAME is part of the flags argument; else canonname will be empty. sockaddr is a tuple describing a socket address, whose format depends on the returned family (a (address, port) 2-tuple for AF_INET, a (address, port, flow info, scope id) 4-tuple for AF_INET6), and is meant to be passed to the socket.connect() method.
Code: Select all
28 1 6 (28, '\x04W\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2 1 6 ('0.0.0.0', 1111)
Code: Select all
sander@R540:~$ python
Python 2.7.3 (default, Apr 20 2012, 22:39:59)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import socket
>>>
>>>
>>>
>>> socket.getaddrinfo('0.0.0.0', 80, socket.AF_UNSPEC,socket.SOCK_STREAM)
[(2, 1, 6, '', ('0.0.0.0', 80))]
>>>
Code: Select all
# Start the httpserver in a new thread.
if isinstance(self.bind_addr, tuple):
wait_for_free_port(*self.bind_addr)
Code: Select all
[root@Jarvis ~]# python
Python 2.7.3 (default, Jun 15 2012, 08:29:18)
[GCC 4.2.2 20070831 prerelease [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getaddrinfo('0.0.0.0', 80, socket.AF_UNSPEC,socket.SOCK_STREAM)
[(2, 1, 6, '', ('0.0.0.0', 80))]
>>>
Code: Select all
sabtest# ./SABnzbd.py
2012-06-19 04:13:45,438::INFO::[SABnzbd:1248] --------------------------------
2012-06-19 04:13:45,438::INFO::[SABnzbd:1249] SABnzbd.py-0.7.0 (rev=d88b5a3b3e26beecaa4b7f8cbb5f2901de3d6024)
2012-06-19 04:13:45,438::INFO::[SABnzbd:1261] Platform = posix
2012-06-19 04:13:45,438::INFO::[SABnzbd:1262] Python-version = 2.7.3 (default, Jun 19 2012, 03:57:44)
[GCC 4.2.2 20070831 prerelease [FreeBSD]]
2012-06-19 04:13:45,438::INFO::[SABnzbd:1263] Arguments = ./SABnzbd.py
2012-06-19 04:13:45,438::INFO::[SABnzbd:1276] Read INI file /root/.sabnzbd/sabnzbd.ini
2012-06-19 04:13:45,439::INFO::[misc:354] download_dir directory: /root/Downloads/incomplete does not exist, try to create it
2012-06-19 04:13:45,442::INFO::[__init__:904] Loading data for bookmarks.sab from /root/.sabnzbd/admin/bookmarks.sab
2012-06-19 04:13:45,442::INFO::[__init__:907] /root/.sabnzbd/admin/bookmarks.sab missing, trying old cache
2012-06-19 04:13:45,442::INFO::[__init__:910] /root/.sabnzbd/cache/bookmarks.sab missing
2012-06-19 04:13:45,443::INFO::[__init__:904] Loading data for rss_data.sab from /root/.sabnzbd/admin/rss_data.sab
2012-06-19 04:13:45,443::INFO::[__init__:907] /root/.sabnzbd/admin/rss_data.sab missing, trying old cache
2012-06-19 04:13:45,443::INFO::[__init__:910] /root/.sabnzbd/cache/rss_data.sab missing
2012-06-19 04:13:45,443::INFO::[__init__:904] Loading data for totals9.sab from /root/.sabnzbd/admin/totals9.sab
2012-06-19 04:13:45,443::INFO::[__init__:907] /root/.sabnzbd/admin/totals9.sab missing, trying old cache
2012-06-19 04:13:45,444::INFO::[__init__:910] /root/.sabnzbd/cache/totals9.sab missing
2012-06-19 04:13:45,448::INFO::[postproc:90] Loading postproc queue
2012-06-19 04:13:45,448::INFO::[__init__:904] Loading data for postproc1.sab from /root/.sabnzbd/admin/postproc1.sab
2012-06-19 04:13:45,449::INFO::[__init__:907] /root/.sabnzbd/admin/postproc1.sab missing, trying old cache
2012-06-19 04:13:45,449::INFO::[__init__:910] /root/.sabnzbd/cache/postproc1.sab missing
2012-06-19 04:13:45,449::INFO::[__init__:904] Loading data for queue9.sab from /root/.sabnzbd/admin/queue9.sab
2012-06-19 04:13:45,449::INFO::[__init__:907] /root/.sabnzbd/admin/queue9.sab missing, trying old cache
2012-06-19 04:13:45,450::INFO::[__init__:910] /root/.sabnzbd/cache/queue9.sab missing
2012-06-19 04:13:45,450::INFO::[__init__:904] Loading data for watched_data.sab from /root/.sabnzbd/admin/watched_data.sab
2012-06-19 04:13:45,451::INFO::[__init__:907] /root/.sabnzbd/admin/watched_data.sab missing, trying old cache
2012-06-19 04:13:45,451::INFO::[__init__:910] /root/.sabnzbd/cache/watched_data.sab missing
2012-06-19 04:13:45,451::INFO::[downloader:208] Resuming
2012-06-19 04:13:45,458::INFO::[__init__:314] All processes started
2012-06-19 04:13:45,458::INFO::[SABnzbd:332] Web dir is /root/SABnzbd-0.7.0/interfaces/Plush
2012-06-19 04:13:45,459::INFO::[SABnzbd:332] Web dir is /root/SABnzbd-0.7.0/interfaces/Config
2012-06-19 04:13:45,465::INFO::[SABnzbd:461] _yenc module... found!
2012-06-19 04:13:45,466::INFO::[SABnzbd:469] par2 binary... found (/usr/local/bin/par2)
2012-06-19 04:13:45,466::INFO::[SABnzbd:477] unrar binary... found (/usr/local/bin/unrar)
2012-06-19 04:13:45,466::INFO::[SABnzbd:482] unzip binary... found (/usr/local/bin/unzip)
2012-06-19 04:13:45,466::INFO::[SABnzbd:488] nice binary... found (/usr/bin/nice)
2012-06-19 04:13:45,466::INFO::[SABnzbd:494] ionice binary... NOT found!
2012-06-19 04:13:45,466::INFO::[SABnzbd:497] pyOpenSSL... found (True)
2012-06-19 04:13:45,467::INFO::[SABnzbd:1459] Starting web-interface on 0.0.0.0:8080
2012-06-19 04:13:45,468::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Bus STARTING
2012-06-19 04:13:45,470::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-06-19 04:13:45,471::ERROR::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0x804153250>>
Traceback (most recent call last):
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 55, in start
wait_for_free_port(*self.bind_addr)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 253, in wait_for_free_port
check_port(host, port, timeout=0.1)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 228, in check_port
socket.SOCK_STREAM):
TypeError: getaddrinfo() argument 1 must be string or None
2012-06-19 04:13:45,683::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Serving on 0.0.0.0:8080
2012-06-19 04:13:45,684::ERROR::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 55, in start
wait_for_free_port(*self.bind_addr)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 253, in wait_for_free_port
check_port(host, port, timeout=0.1)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 228, in check_port
socket.SOCK_STREAM):
TypeError: getaddrinfo() argument 1 must be string or None
2012-06-19 04:13:45,685::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Bus STOPPING
2012-06-19 04:13:45,686::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2012-06-19 04:13:45,686::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer((28, 8080)) already shut down
2012-06-19 04:13:45,742::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Stopped thread '_TimeoutMonitor'.
2012-06-19 04:13:45,743::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Bus STOPPED
2012-06-19 04:13:45,743::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Bus EXITING
2012-06-19 04:13:45,743::INFO::[_cplogging:55] [19/Jun/2012:04:13:45] ENGINE Bus EXITED
2012-06-19 04:13:45,743::ERROR::[SABnzbd:1480] Failed to start web-interface:
Traceback (most recent call last):
File "./SABnzbd.py", line 1466, in main
cherrypy.engine.start()
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 55, in start
wait_for_free_port(*self.bind_addr)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 253, in wait_for_free_port
check_port(host, port, timeout=0.1)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 228, in check_port
socket.SOCK_STREAM):
TypeError: getaddrinfo() argument 1 must be string or None
2012-06-19 04:13:45,744::ERROR::[SABnzbd:301] Failed to start web-interface :
2012-06-19 04:13:45,745::INFO::[panic:243] Lauching browser with /tmp/tmpttt7Hq.html
2012-06-19 04:13:45,745::INFO::[__init__:350] SABnzbd shutting down...
2012-06-19 04:13:45,745::INFO::[__init__:880] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2012-06-19 04:13:45,746::INFO::[urlgrabber:73] URLGrabber shutting down
2012-06-19 04:13:45,747::INFO::[__init__:880] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2012-06-19 04:13:45,747::INFO::[dirscanner:256] Dirscanner shutting down
2012-06-19 04:13:45,748::INFO::[notifier:87] Sending registration to localhost:23053
2012-06-19 04:13:46,252::INFO::[postproc:84] Saving postproc queue
2012-06-19 04:13:46,253::INFO::[__init__:880] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2012-06-19 04:13:46,254::INFO::[nzbqueue:174] Saving queue
2012-06-19 04:13:46,254::INFO::[__init__:880] Saving data for queue9.sab in /root/.sabnzbd/admin/queue9.sab
2012-06-19 04:13:46,255::INFO::[__init__:880] Saving data for rss_data.sab in /root/.sabnzbd/admin/rss_data.sab
2012-06-19 04:13:46,256::INFO::[__init__:880] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2012-06-19 04:13:46,257::INFO::[__init__:880] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2012-06-19 04:13:46,258::INFO::[postproc:84] Saving postproc queue
2012-06-19 04:13:46,258::INFO::[__init__:880] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2012-06-19 04:13:46,258::INFO::[__init__:410] All processes stopped
Code: Select all
[root@Jarvis ~]# uname -n
Jarvis
[root@Jarvis ~]# ping Jarvis
PING Jarvis (10.0.0.1): 56 data bytes
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=0.023 ms
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.030 ms
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.029 ms
Code: Select all
sabtest# python pytest
2 1 6 ('127.0.0.1', 1111)
2 1 6 ('127.0.0.1', 1111)
28 1 6 (28, '\x04W\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2 1 6 ('0.0.0.0', 1111)
28 1 6 (28, '\x04W\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
sabtest#
Code: Select all
sabtest# ./SABnzbd-0.7.0/SABnzbd.py
in check_port. host is localhost port is 8080
in check_port, occurence 2. host is localhost port is 8080
2012-06-24 04:27:42,044::INFO::[SABnzbd:1248] --------------------------------
2012-06-24 04:27:42,045::INFO::[SABnzbd:1249] SABnzbd.py-0.7.0 (rev=d88b5a3b3e26beecaa4b7f8cbb5f2901de3d6024)
2012-06-24 04:27:42,045::INFO::[SABnzbd:1261] Platform = posix
2012-06-24 04:27:42,045::INFO::[SABnzbd:1262] Python-version = 2.7.3 (default, Jun 19 2012, 03:57:44)
[GCC 4.2.2 20070831 prerelease [FreeBSD]]
2012-06-24 04:27:42,046::INFO::[SABnzbd:1263] Arguments = ./SABnzbd-0.7.0/SABnzbd.py
2012-06-24 04:27:42,046::INFO::[SABnzbd:1276] Read INI file /root/.sabnzbd/sabnzbd.ini
2012-06-24 04:27:42,047::INFO::[__init__:904] Loading data for bookmarks.sab from /root/.sabnzbd/admin/bookmarks.sab
2012-06-24 04:27:42,048::INFO::[__init__:904] Loading data for rss_data.sab from /root/.sabnzbd/admin/rss_data.sab
2012-06-24 04:27:42,049::INFO::[__init__:904] Loading data for totals9.sab from /root/.sabnzbd/admin/totals9.sab
2012-06-24 04:27:42,049::INFO::[__init__:907] /root/.sabnzbd/admin/totals9.sab missing, trying old cache
2012-06-24 04:27:42,049::INFO::[__init__:910] /root/.sabnzbd/cache/totals9.sab missing
2012-06-24 04:27:42,115::INFO::[postproc:90] Loading postproc queue
2012-06-24 04:27:42,115::INFO::[__init__:904] Loading data for postproc1.sab from /root/.sabnzbd/admin/postproc1.sab
2012-06-24 04:27:42,116::INFO::[__init__:904] Loading data for queue9.sab from /root/.sabnzbd/admin/queue9.sab
2012-06-24 04:27:42,117::INFO::[__init__:904] Loading data for watched_data.sab from /root/.sabnzbd/admin/watched_data.sab
2012-06-24 04:27:42,118::INFO::[downloader:208] Resuming
2012-06-24 04:27:42,118::INFO::[__init__:314] All processes started
2012-06-24 04:27:42,118::INFO::[SABnzbd:332] Web dir is /root/SABnzbd-0.7.0/interfaces/Plush
2012-06-24 04:27:42,166::INFO::[SABnzbd:332] Web dir is /root/SABnzbd-0.7.0/interfaces/Config
2012-06-24 04:27:42,187::INFO::[SABnzbd:461] _yenc module... found!
2012-06-24 04:27:42,187::INFO::[SABnzbd:469] par2 binary... found (/usr/local/bin/par2)
2012-06-24 04:27:42,187::INFO::[SABnzbd:477] unrar binary... found (/usr/local/bin/unrar)
2012-06-24 04:27:42,188::INFO::[SABnzbd:482] unzip binary... found (/usr/local/bin/unzip)
2012-06-24 04:27:42,188::INFO::[SABnzbd:488] nice binary... found (/usr/bin/nice)
2012-06-24 04:27:42,188::INFO::[SABnzbd:494] ionice binary... NOT found!
2012-06-24 04:27:42,188::INFO::[SABnzbd:497] pyOpenSSL... found (True)
2012-06-24 04:27:42,190::INFO::[SABnzbd:1459] Starting web-interface on 0.0.0.0:8080
in check_port. host is localhost port is 8080
in check_port, occurence 2. host is localhost port is 8080
2012-06-24 04:27:42,190::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Bus STARTING
2012-06-24 04:27:42,211::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Started monitor thread '_TimeoutMonitor'.
in check_port. host is 28 port is 8080
in check_port, occurence 2. host is 28 port is 8080
2012-06-24 04:27:42,213::ERROR::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0x804836910>>
Traceback (most recent call last):
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 55, in start
wait_for_free_port(*self.bind_addr)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 255, in wait_for_free_port
check_port(host, port, timeout=0.1)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 230, in check_port
socket.SOCK_STREAM):
TypeError: getaddrinfo() argument 1 must be string or None
in check_port. host is 0.0.0.0 port is 8080
in check_port, occurence 2. host is 127.0.0.1 port is 8080
in check_port. host is 0.0.0.0 port is 8080
in check_port, occurence 2. host is 127.0.0.1 port is 8080
2012-06-24 04:27:42,325::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Serving on 0.0.0.0:8080
2012-06-24 04:27:42,325::ERROR::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 55, in start
wait_for_free_port(*self.bind_addr)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 255, in wait_for_free_port
check_port(host, port, timeout=0.1)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 230, in check_port
socket.SOCK_STREAM):
TypeError: getaddrinfo() argument 1 must be string or None
2012-06-24 04:27:42,325::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Bus STOPPING
in check_port. host is 0.0.0.0 port is 8080
in check_port, occurence 2. host is 127.0.0.1 port is 8080
2012-06-24 04:27:42,344::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2012-06-24 04:27:42,345::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer((28, 8080)) already shut down
2012-06-24 04:27:42,364::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Stopped thread '_TimeoutMonitor'.
2012-06-24 04:27:42,364::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Bus STOPPED
2012-06-24 04:27:42,364::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Bus EXITING
2012-06-24 04:27:42,364::INFO::[_cplogging:55] [24/Jun/2012:04:27:42] ENGINE Bus EXITED
2012-06-24 04:27:42,365::ERROR::[SABnzbd:1480] Failed to start web-interface:
Traceback (most recent call last):
File "./SABnzbd-0.7.0/SABnzbd.py", line 1466, in main
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 184, in start
self.publish('start')
File "/root/SABnzbd-0.7.0/cherrypy/process/wspbus.py", line 147, in publish
output.append(listener(*args, **kwargs))
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 55, in start
wait_for_free_port(*self.bind_addr)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 255, in wait_for_free_port
check_port(host, port, timeout=0.1)
File "/root/SABnzbd-0.7.0/cherrypy/process/servers.py", line 230, in check_port
socket.SOCK_STREAM):
TypeError: getaddrinfo() argument 1 must be string or None
2012-06-24 04:27:42,365::ERROR::[SABnzbd:301] Failed to start web-interface :
2012-06-24 04:27:42,366::INFO::[panic:243] Lauching browser with /tmp/tmpoQP5ue.html
2012-06-24 04:27:42,366::INFO::[__init__:350] SABnzbd shutting down...
2012-06-24 04:27:42,366::INFO::[__init__:880] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2012-06-24 04:27:42,367::INFO::[urlgrabber:73] URLGrabber shutting down
2012-06-24 04:27:42,367::INFO::[__init__:880] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2012-06-24 04:27:42,368::INFO::[dirscanner:256] Dirscanner shutting down
2012-06-24 04:27:42,370::INFO::[notifier:87] Sending registration to localhost:23053
2012-06-24 04:27:42,874::INFO::[postproc:84] Saving postproc queue
2012-06-24 04:27:42,874::INFO::[__init__:880] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2012-06-24 04:27:42,875::INFO::[nzbqueue:174] Saving queue
2012-06-24 04:27:42,875::INFO::[__init__:880] Saving data for queue9.sab in /root/.sabnzbd/admin/queue9.sab
2012-06-24 04:27:42,876::INFO::[__init__:880] Saving data for rss_data.sab in /root/.sabnzbd/admin/rss_data.sab
2012-06-24 04:27:42,876::INFO::[__init__:880] Saving data for bookmarks.sab in /root/.sabnzbd/admin/bookmarks.sab
2012-06-24 04:27:42,877::INFO::[__init__:880] Saving data for watched_data.sab in /root/.sabnzbd/admin/watched_data.sab
2012-06-24 04:27:42,877::INFO::[postproc:84] Saving postproc queue
2012-06-24 04:27:42,878::INFO::[__init__:880] Saving data for postproc1.sab in /root/.sabnzbd/admin/postproc1.sab
2012-06-24 04:27:42,878::INFO::[__init__:410] All processes stopped
sabtest#
Code: Select all
sabtest# python
Python 2.7.3 (default, Jun 19 2012, 03:57:44)
[GCC 4.2.2 20070831 prerelease [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getaddrinfo('0.0.0.0', 8080, socket.AF_UNSPEC,socket.SOCK_STREAM)
[(2, 1, 6, '', ('0.0.0.0', 8080))]
>>> exit()
sabtest#
Code: Select all
sabtest# python
Python 2.7.3 (default, Jun 19 2012, 03:57:44)
[GCC 4.2.2 20070831 prerelease [FreeBSD]] on freebsd8
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket.getaddrinfo('::', 8080, socket.AF_UNSPEC,socket.SOCK_STREAM)
[(28, 1, 6, '', (28, '\x1f\x90\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'))]
>>> exit()
sabtest#
Code: Select all
2012-07-19 19:29:57,108::INFO::[_cplogging:55] [19/Jul/2012:19:29:57] ENGINE Serving on ::1:8080
2012-07-19 19:29:57,328::INFO::[_cplogging:55] [19/Jul/2012:19:29:57] ENGINE Serving on 0.0.0.0:8080