Bug 155321 - httpd start [FAILED]
httpd start [FAILED]
Status: CLOSED DUPLICATE of bug 154195
Product: Fedora
Classification: Fedora
Component: httpd (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Joe Orton
: 155322 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2005-04-19 03:19 EDT by Nicholas Williams
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-19 03:49:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Nicholas Williams 2005-04-19 03:19:35 EDT
Description of problem:
When trying to start httpd from system services panel, I get "Start service httpd [FAILED]" which doesn't 
tell me very much at all. If, however, I restart, I get a very detailed message on services starting which 
tells me why starting httpd is failing. I had to restart several times to get it, as the message flash past 
FAST, but this is the jist of it:

Syntax error on line 6 of php.conf ... error while loading module /etc/httpd/modules/libphp5.so ... 
permission denied

Running "/etc/init.d/httpd start" from the command line returns only

Starting httpd:...............................................[FAILED]

libphp4.so exists, commenting out "LoadModule libphp5.so" on line 6 of php.conf doesn't do any good 
because php won't load, which means Apache won't load. I suspect disabling php5 would allow Apache 
to start, but my entire website revolves around php. Help?

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

How reproducible:
Made no changes to system. This happens directly after install.

Steps to Reproduce:
Install fc4test2 with Apache, php, and mysql enabled
Actual results:
Apache won't start

Expected results:
Apache should start... I can't serve my website elsewise. I can do everything else from FTP to mail to 
use WebMin, but I can't get Apache to start

Additional info:
Since I manage my site remotely, I don't have access to the paper that I wrote the exact error message 
down on. That is all I can remember from memory. It is accurate, but there are parts left out. I will post 
those parts tomorrow when I can call my family and get someone to read the error to me.
Comment 1 Nicholas Williams 2005-04-19 03:24:48 EDT
my original post: "...libphp4.so exists, commenting..." SHOULD read: "...libphp5.so exists, 
Comment 2 Nicholas Williams 2005-04-19 03:27:44 EDT
*** Bug 155322 has been marked as a duplicate of this bug. ***
Comment 3 Joe Orton 2005-04-19 03:32:42 EDT
Disable httpd SELinux transition or upgrade to the Raw Hide php package; 

# setsebool httpd_disable_trans=1
# service httpd start

should work.

*** This bug has been marked as a duplicate of 154195 ***
Comment 4 Nicholas Williams 2005-04-19 03:38:28 EDT
[root@externalServer ~]# setsebool httpd_disable_trans=1
[root@externalServer ~]# service httpd start
Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: cannot 
restore segment prot after reloc: Permission denied
[root@externalServer ~]# 

That is the exact error I got when it tries to start on restart. I just never got the error (only "[FAILED]") 
when running it through the command until I ran "[root@externalServer ~]# setsebool 

So hmmm... didn't work... I'm sure this is simple and I'm just missing it somehow.
Comment 5 Nicholas Williams 2005-04-19 03:42:24 EDT
I also get the

[root@externalServer ~]# /etc/httpd/modules/libphp5.so
Segmentation fault

that he was talking about in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154195
Comment 6 Joe Orton 2005-04-19 03:49:30 EDT
Hrm, that should work.  But upgrading to the Raw Hide php is the proper
solution, anyway.   (And no, you can't exec a shared library, that's not very

*** This bug has been marked as a duplicate of 154195 ***
Comment 7 Nicholas Williams 2005-04-19 03:57:45 EDT
Forgive my naivety... but how would I go about upgrading / downloading the upgrade to Raw Hide php? 
Simply pointing me to the website will be quite adequate... don't worry about trying to explain it. I 
Googled it and Bugzilla'd it real quick, but didn't find anything I understood. I'm still relatively new to 
the Linux circle...I had to move on because I've exhausted my Windows and Macintosh training ;)
Comment 8 Joe Orton 2005-04-19 04:00:35 EDT
Simply running "yum update php" should work from an FC4test2 install, I think.

Otherwise download all the php RPMs from:


and rpm -Uvh php*.rpm them.

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