httpd fails to start
Hi there
Each time I want to start httpd from services ( service management ) , I recieve this error : httpd failed. The error was: Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libexpat.so.0: failed to map segment from shared object: Permission denied I tried to reinstall httpd and expat , but still have this problem Please help me to fix this Regards Arsham |
What happens when you try this in a terminal
Code:
sudo apachectl start |
Once I had a problem with a module in httpd. I was advised to comment the module out of the httpd.conf file. That worked for me, however I'm not sure how vital expat is to httpd. It's worth a try.
Otherwise: What linux distro are you running? What type of httpd and expat install did you do? (RPM or source) If an RPM, was it made for your distro? |
when I try to sudo it , gets password , I enter ( not password entering ) but nothing happens , no error or comments
from shell prompt I dont recieve any errors , I recieve errors from "Services Configuration " when I try to start the service I use redhat enterprise AS 4 and the httpd was made during setup this used to work for me , but I dont know why its giving me errors , I try to install apache 2 |
If you don't receive any errors in the terminal then it likely means httpd is starting correctly. Maybe Services Configuration is not prompting you for your credentials and trying to start httpd as your user, just a guess... I don't know about Services Configuration in FC3 though, maybe this should be moved to the distro forum.
|
When I try in terminal as root :
apachectl start I recieve nothing , and I test with browser , nothing is comming , connection refussed and then I try : apachectl status I recieve : ERROR at dump.c:188: Connection refused |
after all ( I installed apache and expat again ) I recieved the first problem :
httpd failed. The error was: Starting httpd: /usr/sbin/httpd: error while loading shared libraries: libexpat.so.0: failed to map segment from shared object: Permission denied I noticed that maybe something's wrong with file : /usr/lib/libexpat.so.0 I did this : /sbin/restorecon /usr/lib/libexpat.so.0 the only message I get now is apache failed to start and the permission problem is gone |
Solved
for those , who have the same problem : reinstall expat and apache do : /sbin/restorecon /usr/lib/libexpat.so.0 edit httpd.conf add this line ServerName localhost Regards |
Quote:
i come across the problem same as yours any ideas? thx |
I have kubuntu right now , but I believe that was lo lookup problem
As I said try adding : ServerName localhost To : httpd.conf Regards Arsham |
All times are GMT -5. The time now is 06:41 PM. |