|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
|
since 1.35 content server fails to start - bonjour failure, wrong IP
Hi everyone,
I am running Calibre on a Macbook, and since release 1.35 calibre server fails to start. The problem is similar to the one described in thread Content Server grabs wrong IP address except that in my case setting the correct IP adress in tweaks still leads to the following failure: [12/May/2014:08:42:52] ENGINE Serving on 192.168.2.103:8080 [12/May/2014:08:42:52] Failed to start BonJour: [12/May/2014:08:42:52] Traceback (most recent call last): File "site-packages/calibre/library/server/base.py", line 99, in start File "site-packages/calibre/utils/mdns.py", line 145, in publish File "site-packages/calibre/utils/mdns.py", line 103, in start_server File "site-packages/calibre/utils/Zeroconf.py", line 1263, in __init__ gaierror: [Errno 8] nodename nor servname provided, or not known What can I do? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,305
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That error means bonjour failed to start, the server is still working. And the error is caused by some misconfiguration on your computer, probably an invalid hostname/missing entry in /etc/hosts or the like. (the error means that bonjour could not determine the IP address for your computer/could not determine the hostname for your computer.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
|
Hi kovidgoyal,
thanks for quick reply. I partly agree. The server seems to be running indeed, but it does not provide the full functionality. Marvin used to locate the server automatically, but now it requires a hard coded address. About the configuration; you may have a point here. The address is not in /etc/hosts, because it is assigned by DHCP. The trouble may come from the fully qualified domain name, because MAC OS X does not allow me to define the domainname. But still, something must have changed in calibre, because up to 1.34 it worked. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,305
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
There have been no changes to calibre's networking code in a very long time, feel free to downgrade if you dont believe me, old releases are linked to on the download page.
|
![]() |
![]() |
![]() |
#5 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Good luck in locating the source of your difficulties. |
||
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,409
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
To be specific, that error happens if either calibre cannot determine the host name for the computer or cannot determine the IP address for the host name provided. That test has been there for years.
Try using DHCP to assign a fixed IP. Run "hostname" in a terminal window and see what comes back. Make sure that hostname is in /etc/hosts with the correct IP. If you have a local DNS, make sure it also returns the correct IP address for that hostname. My guess is that something on your system changed what "hostname" is returning. |
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 59
Karma: 10
Join Date: Jan 2012
Device: iPad
|
Chaley, you are close. "hostname -f" should return the fully qualified hostname, but in my case the domain is missing. Domains on apple systems are a mess.
Anyway, I am now using fixed addresses in two places and I consider that an acceptable workaround. So, thanks everyone. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Server grabs wrong IP address | TGinAZ | Calibre | 6 | 04-28-2014 08:33 AM |
Downloading files from content server fails with sony prs t-2 | sws | Devices | 2 | 05-23-2013 02:36 PM |
Content Server - binding to wrong networkadapter | sr71 | Library Management | 1 | 02-28-2013 03:33 AM |
Calibre Crashing on Start - Content Server | Tkosh | Calibre | 2 | 01-06-2012 08:57 AM |
Calibre Content Server d/l fails on Android | Mogrith | Android Devices | 9 | 11-01-2010 06:04 PM |