View Single Post
Old 06-28-2010, 02:20 AM   #13
Mountaineer
Junior Member
Mountaineer began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2010
Location: Adelaide, Australia
Device: Iphone 3G with Stanza
Ok, I've played with it a little bit.
For a start, I just updated to Calibre 0.7.6.

With /etc/nsswitch.conf set to this:
hosts: files mdns4_minimal dns [NOTFOUND=return] mdns4

I got this:
thill@cheezeburger:~$ calibre
Upgrading database to version 12...
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name a.3.a.e.9.7.e.f.f.f.0.7.1.2.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name a.3.a.e.9.7.e.f.f.f.0.7.1.2.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name 8.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name 1.0.0.0.0.c.e.f.f.f.6.5.0.5.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name a.3.a.e.9.7.e.f.f.f.0.7.1.2.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name c.d.b.e.0.1.e.f.f.f.2.c.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
link hasn't been detected!
link hasn't been detected!
Exception in thread Thread-12 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
File "/usr/lib64/python2.6/threading.py", line 477, in run
File "/home/kovid/build/calibre/src/calibre/library/server/base.py", line 159, in start
<type 'exceptions.ImportError'>: No module named traceback

No access, either by browsing or direct IP.


Then I removed all the words that had mdns in it so nsswitch.conf looked like this:
hosts: files dns [NOTFOUND=return]

And here's the output after starting calibre, starting the content server and attempting to access it, both via browsing and direct IP within stanza:
thill@cheezeburger:~$ calibre
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
link hasn't been detected!
DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
link hasn't been detected!
link hasn't been detected!
DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa.
DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa.
DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa.
DNSQuestion: Not a local name 152.21.30.10.in-addr.arpa.
DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
link hasn't been detected!
link hasn't been detected!
DNSQuestion: Not a local name b.9.8.e.3.7.e.f.f.f.2.5.e.1.2.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.8.e.f.ip6.arpa.
link hasn't been detected!
link hasn't been detected!
Exception in thread Thread-12 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 525, in __bootstrap_inner
File "/usr/lib64/python2.6/threading.py", line 477, in run
File "/home/kovid/build/calibre/src/calibre/library/server/base.py", line 159, in start
<type 'exceptions.ImportError'>: No module named traceback

Now I understand you are saying that you suspect some rogue mdns "thing" is out there interfering with the server, but I get the same results on my work network as I do on my home network (despite wildly different configurations) and with the mdns lookups disabled in nsswitch.conf, I would have thought any rogue elements would have been ignored.

I'd love to help you debug this, just give me some advice on what to do.
Mountaineer is offline   Reply With Quote