Re: How should I make two hosts to share an IP?

Theo Schlossnagle <[email protected]> Fri, 11 May 2007 09:14:15 -0400
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
On May 9, 2007, at 8:10 PM, Spangler, Tim wrote:

> Hello,
>
> I'm trying to get wackamole running on SLES 8.4 and I've run into  
> an interesting problem. Wacakmole does not start.  If I run  
> wackamole -d I get the following:
>
> socket: Address family not supported by protocol
>
> I'm guessing that this isn't necessarily a wackamole issue, but the  
> only thing I can seem to find about this error is issues with IPv6  
> -- which I do not have configured on this server.
>
> Any help out there?

I'm thinking that if you do a gethostbyname(hostname()) type  
invocation (which wackamole does) you are getting an IPv6 address  
back.  We have what sounds like a similar problem with Fedora  
Directory Server frequently.  It is solved by making sure that the  
machine's hostname and localhost resolve to IPv4 addresses in /etc/ 
hosts.

// Theo Schlossnagle
// Principal@OmniTI: http://omniti.com
// Esoteric Curio: http://www.lethargy.org/~jesus/