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

Carlos Chavez cachch at gmail.com
Tue Jun 3 11:46:19 UTC 2008


Hi Paul.

No, there is no avc denials error messages or other selinux related error
messages in the logs.
The error messages that i post is showed only in the start up process but no
other messages is send to any log file.

What i did in order to associated the error to selinux was stoped selinux,
when i stop selinux and restart the PC the httpd start with no problems at
boot time.

I'm not sure about the NetworkManager in the logs it seems that load
correctly at boot time and set the network parameter as soon as the process
start, no delay for that.

I have configure the ntpd to synchronize the date/time and this works fine,
this need the network device setup, so i think the NetworkManager works too.

Cheers.
Carlos Chávez.

2008/6/3 Paul Howarth <paul at city-fan.org>:

> 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.
>



-- 
Carlos Chávez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-selinux-list/attachments/20080603/8d7a5989/attachment.htm>


More information about the fedora-selinux-list mailing list