selinux and httpd don't start on boot - message error EAI9

Paul Howarth paul at city-fan.org
Tue Jun 3 08:13:46 UTC 2008


Carlos Chavez wrote:
> Hello everyone.
> 
> the HTTP server don't start on boot, it send the following message sort of,
> it was difficult to copy because it showed only in the start up process and
> no log messages in any log file.
> 
> Message: Address Family for Hostname not supported: (EAI 9) alloc_listener
> failed to setup sockaddr for 127.0.0.1.
> That is the message sort of.
> 
> This happen when i setup the option Listen 127.0.0.1:80, when i start
> manually the httpd server start successfully, but not on boot.
> 
> It say too that there is an syntax error in the line where is the sentence
> Listen, but if i run the syntax check the HTTP said the syntax is OK.
> 
> I'm using fedora 9 with the latest updates.
> selinux 3.3.1-55
> httpd 2.2.8-3
> kernel 2.6.25.3-18

My wild guess at the cause of this would be that NetworkManager hasn't 
started the network at the time the httpd initscript runs.

Are there any indications in the logs (such as avc denials) that this is 
an selinux issue?

Paul.




More information about the fedora-selinux-list mailing list