[CentOS] Apache Not Serving, But Is Serving?

Alan Sparks asparks at doublesparks.net
Fri Nov 6 16:46:18 UTC 2009


"it looks good" followed by "please advise"?  Advise about what?  Is it
not working now?
If it works with mod_python not installed, means you have mod_python
either misconfigured, or whatever app you're trying to run under
mod_python misconfigured.  With info provided, a little hard for us to
crystal-ball the problem.
-Alan


Victor Subervi wrote:
> Hmmm. Well, there were a *ton* of seg faults occurring every minute.
> That was probably before I entered the centos-friendly restart apache
> command, because after that it looks good:
>
>
> [Fri Nov 06 08:19:22 2009] [error] [client 213.197.142.102] File does
> not exist: /var/www/html/favicon.ico
>
> Please advise.
> V
>
> On Fri, Nov 6, 2009 at 11:32 AM, Alan Sparks <asparks at doublesparks.net
> <mailto:asparks at doublesparks.net>> wrote:
>
>     Already told you.  /var/log/httpd/.
>     -Alan
>
>     Victor Subervi wrote:
>     > Where would I find them? Been a while...
>     > V
>     >
>     > On Fri, Nov 6, 2009 at 11:10 AM, Jacob Perkins
>     <jperkins at hostgator.com <mailto:jperkins at hostgator.com>
>     > <mailto:jperkins at hostgator.com <mailto:jperkins at hostgator.com>>>
>     wrote:
>     >
>     >     Victor,
>     >
>     >     What are the error logs showing?
>     >
>     >     Victor Subervi wrote:
>     >>     The above command worked, thank you. I installed mod_python
>     with
>     >>     the hope that my python pages would resolve. They don't. Any
>     >>     suggestions?
>     >>     TIA,
>     >>     Victor
>     >>
>     >>     On Fri, Nov 6, 2009 at 11:01 AM, Alan Sparks
>     >>     <asparks at doublesparks.net <mailto:asparks at doublesparks.net>
>     <mailto:asparks at doublesparks.net
>     <mailto:asparks at doublesparks.net>>> wrote:
>     >>
>     >>         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?
>     >>         -Alan
>     >>
>     >>         _______________________________________________
>     >>         CentOS mailing list
>     >>         CentOS at centos.org <mailto:CentOS at centos.org>
>     <mailto:CentOS at centos.org <mailto:CentOS at centos.org>>
>     >>         http://lists.centos.org/mailman/listinfo/centos
>     >>
>     >>
>     >>    
>     ------------------------------------------------------------------------
>     >>     _______________________________________________ CentOS mailing
>     >>     list CentOS at centos.org <mailto:CentOS at centos.org>
>     <mailto:CentOS at centos.org <mailto:CentOS at centos.org>>
>     >>     http://lists.centos.org/mailman/listinfo/centos
>     >
>     >     --
>     >     Thanks!
>     >
>     >
>     >     _______________________________________________
>     >     CentOS mailing list
>     >     CentOS at centos.org <mailto:CentOS at centos.org>
>     <mailto:CentOS at centos.org <mailto:CentOS at centos.org>>
>     >     http://lists.centos.org/mailman/listinfo/centos
>     >
>     >
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > CentOS mailing list
>     > CentOS at centos.org <mailto:CentOS at centos.org>
>     > http://lists.centos.org/mailman/listinfo/centos
>     >
>
>     _______________________________________________
>     CentOS mailing list
>     CentOS at centos.org <mailto:CentOS at centos.org>
>     http://lists.centos.org/mailman/listinfo/centos
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   



More information about the CentOS mailing list