Bug 142319 - failure starting httpd
Summary: failure starting httpd
Alias: None
Product: Fedora
Classification: Fedora
Component: httpd
Version: 3
Hardware: athlon
OS: Linux
Target Milestone: ---
Assignee: Joe Orton
QA Contact:
Keywords: SELinux
Depends On:
TreeView+ depends on / blocked
Reported: 2004-12-08 22:32 UTC by Ian Johnson
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-04-28 13:11:29 UTC

Attachments (Terms of Use)
results of ls command (305 bytes, text/plain)
2004-12-08 23:18 UTC, Ian Johnson
no flags Details
prelink.log (125.67 KB, text/plain)
2004-12-08 23:20 UTC, Ian Johnson
no flags Details

Description Ian Johnson 2004-12-08 22:32:32 UTC
Description of problem:

Get the following message when starting httpd - 

[root@localhost ~]# /etc/init.d/httpd start
Starting httpd: /usr/sbin/httpd: error while loading shared libraries:
libpcre.so.0: cannot open shared object file: Permission denied
[root@localhost ~]#

Version-Release number of selected component (if applicable):


How reproducible:

every time

Comment 1 Joe Orton 2004-12-08 22:37:44 UTC
This is an SELinux labelling issue which we are trying to track down.

Please can you attach the file "/var/log/prelink.log" file to this bug
report, along with output of the command:

# ls -lZ {,/usr}/lib/libpcre.*

After doing so, running the command "fixfiles restore" should fix the

Comment 2 Ian Johnson 2004-12-08 23:18:28 UTC
Created attachment 108160 [details]
results of ls command

Comment 3 Ian Johnson 2004-12-08 23:20:08 UTC
Created attachment 108161 [details]

Comment 4 Stephen Smalley 2004-12-09 13:29:11 UTC
The ls output shows the correct security context on the libpcre shared
The prelink.log doesn't show any errors for libpcre, but does show
that some other files lack security contexts at all.  That should only
happen if you ran with SELinux disabled and the files were updated
during that time.
1) Did you relabel prior to running the ls?  If so, that would explain
why the label is correct now?
2) Have you run with SELinux disabled at any time?  If so, you need to
do a fixfiles relabel to fix up any missing security contexts.
3) What audit message(s) did you get in /var/log/messages for the
actual denial?
4) Are there are any messages in /var/log/messages that have
"post_create" in them?
5) Any other unusual output in /var/log/messages?

Comment 5 John Thacker 2006-04-28 13:11:29 UTC
No response from reporter, closing.

Note You need to log in before you can comment on or make changes to this bug.