[CentOS] Apache Not Serving, But Is Serving?

Alan Sparks asparks at doublesparks.net
Fri Nov 6 16:01:48 UTC 2009

Victor Subervi wrote:
> Hi;
> I installed
> yum install mod_python
> and all went well. So I thought it would be appropriate to reboot apache
> apachectl -k restart
> and it appeared well but the pages don't load (they hang). Nevertheless,
> # ps wax|grep httpd
> 12179 ?        Ss     0:00 /usr/sbin/httpd
> 17698 ?        Z      0:00 [httpd] <defunct>
> 17703 pts/0    S+     0:00 grep httpd
> So what gives? Please advise.
> Victor

A more conventional way on CentOS systems to restart the httpd service
is either:
/sbin/service httpd restart
or even:
/etc/init.d/httpd restart

You haen't said if installing mod_python is the only thing you've done. 
Have you checked the error logs at /var/log/httpd?

More information about the CentOS mailing list