ai_flags in BSD/OS
Julien ÉLIE
julien at trigofacile.com
Fri Jan 30 19:43:08 UTC 2009
Hi,
The problem The Doctor has with innfeed (which cannnot send any articles) is written
in his logs:
Jan 30 11:44:48 gallifrey julien[732]: innfeed[16329]: ME starting at Fri Jan 30 11:44:48 2009\n (INN 2.5.0 (20090130 snapshot))
Jan 30 11:44:48 gallifrey julien[732]: innfeed[16329]: loading /usr/home/julien/inn/install2.5/etc/innfeed.conf
Jan 30 11:44:51 gallifrey julien[732]: innfeed[16329]: test can't resolve hostname news.trigofacile.com: Invalid value for ai_flags
Jan 30 11:44:51 gallifrey julien[732]: innfeed[16329]: test spooling no active connections
In innfeed/host.c, we have:
hints.ai_flags = AI_NUMERICSERV | AI_ADDRCONFIG;
What should be used?
AI_NUMERICSERV seems not to be defined in netdb.h (thus set to 0 by a #ifndef).
AI_ADDRCONFIG is defined.
Neither does AI_NUMERICHOST | AI_ADDRCONFIG work.
It is also strange that "host" hangs after putting the results.
I have to kill it. Maybe it is related (?)
gallifrey% host news.trigofacile.com
news.trigofacile.com has address 91.121.26.68
news.trigofacile.com has IPv6 address 2001:41d0:1:6d44::1
zsh: killed host news.trigofacile.com
gallifrey% host www.google.fr
www.google.fr is an alias for www.google.com.
www.google.com is an alias for google.navigation.opendns.com.
google.navigation.opendns.com has address 208.69.34.230
google.navigation.opendns.com has address 208.69.34.231
zsh: killed host www.google.fr
gallifrey% host 91.121.26.68
68.26.121.91.in-addr.arpa domain name pointer news.trigofacile.com.
zsh: killed host 91.121.26.68
--
Julien ÉLIE
« Bonjour ! Je m'appelle Bill Portes et mon boulot,
c'est de vendre des fenêtres. »
More information about the inn-workers
mailing list