[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wwwoffle sometimes doesn't start - Address family for hostname not supported



Hello,

On 07.04.09 09:42, Matus UHLAR - fantomas wrote:
> after upgrading to lenny, I found out that wwwoffle sometimes does not start
> at boot. It reports the error:
> 
> Apr  7 08:36:55 localhost wwwoffled[3271]: Unknown host '0.0.0.0' for server
> [Address family for hostname not supported].
> Apr  7 08:36:55 localhost wwwoffled[3271]: Cannot create HTTP IPv4 server
> socket.
> 
> Is this an error of wwwoffle or of boot process?

I have looked at the bboot process, and I see:

Apr 20 08:39:05 localhost wwwoffled[3275]: WWWOFFLE Demon Version 2.9d (with ipv6,with zlib,with gnutls) started.
Apr 20 08:39:05 localhost wwwoffled[3275]: Unknown host '0.0.0.0' for server [Address family for hostname not supported].
Apr 20 08:39:05 localhost wwwoffled[3275]: Cannot create HTTP IPv4 server socket.

Apr 20 08:39:06 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Apr 20 08:39:06 localhost dhclient: DHCPOFFER from 10.128.1.3
Apr 20 08:39:06 localhost dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67

So the wwwoffle was started before network got set up. This is my
laptop, and because I connect it on two (or more) different places I decided
not to ask for environment, but find out itself. I've been using ifplugd
until sarge, hotplug since etch.

My /etc/network/interfaces contains following:

allow-hotplug eth0
iface eth0 inet dhcp

The eth0 is builtin on my motherboard, Should I better skip the hotplug
part? Should I switch back to ifplugd for cases I unplug the online system
and re-plug in different network?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Chernobyl was an Windows 95 beta test site.


Reply to: