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
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
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@doublesparks.netwrote:
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@centos.org http://lists.centos.org/mailman/listinfo/centos
Where would I find them? Been a while... V
On Fri, Nov 6, 2009 at 11:10 AM, Jacob Perkins jperkins@hostgator.comwrote:
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@doublesparks.netwrote:
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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing listCentOS@centos.orghttp://lists.centos.org/mailman/listinfo/centos
-- Thanks!
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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@hostgator.com mailto:jperkins@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@doublesparks.net <mailto:asparks@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@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos ------------------------------------------------------------------------ _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
-- Thanks! _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
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:04:15 2009] [notice] child pid 20371 exit signal Segmentation fault (11) [Fri Nov 06 08:04:17 2009] [notice] child pid 20382 exit signal Segmentation fault (11) [Fri Nov 06 08:04:19 2009] [notice] child pid 20388 exit signal Segmentation fault (11) [Fri Nov 06 08:04:21 2009] [notice] child pid 20395 exit signal Segmentation fault (11) [Fri Nov 06 08:04:23 2009] [notice] child pid 20401 exit signal Segmentation fault (11) [Fri Nov 06 08:04:23 2009] [notice] caught SIGTERM, shutting down [Fri Nov 06 08:04:23 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Fri Nov 06 08:04:23 2009] [notice] Digest: generating secret for digest authentication ... [Fri Nov 06 08:04:23 2009] [notice] Digest: done [Fri Nov 06 08:04:23 2009] [notice] mod_python: Creating 4 session mutexes based on 10 max processes and 0 max threads. [Fri Nov 06 08:04:23 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Fri Nov 06 08:04:29 2009] [error] [client 66.248.168.98] File does not exist: /var/www/html/favicon.ico [Fri Nov 06 08:12:40 2009] [error] [client 66.248.168.98] File does not exist: /var/www/html/favicon.ico [Fri Nov 06 08:16:53 2009] [error] [client 66.248.168.98] File does not exist: /var/www/html/favicon.ico [Fri Nov 06 08:19:19 2009] [error] [client 213.197.142.102] File does not exist: /var/www/html/favicon.ico [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@doublesparks.netwrote:
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@hostgator.com mailto:jperkins@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@doublesparks.net <mailto:asparks@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@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
-- Thanks! _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
"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@doublesparks.net mailto:asparks@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@hostgator.com <mailto:jperkins@hostgator.com> > <mailto:jperkins@hostgator.com <mailto:jperkins@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@doublesparks.net <mailto:asparks@doublesparks.net> <mailto:asparks@doublesparks.net <mailto:asparks@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@centos.org <mailto:CentOS@centos.org> <mailto:CentOS@centos.org <mailto:CentOS@centos.org>> >> http://lists.centos.org/mailman/listinfo/centos >> >> >> ------------------------------------------------------------------------ >> _______________________________________________ CentOS mailing >> list CentOS@centos.org <mailto:CentOS@centos.org> <mailto:CentOS@centos.org <mailto:CentOS@centos.org>> >> http://lists.centos.org/mailman/listinfo/centos > > -- > Thanks! > > > _______________________________________________ > CentOS mailing list > CentOS@centos.org <mailto:CentOS@centos.org> <mailto:CentOS@centos.org <mailto:CentOS@centos.org>> > http://lists.centos.org/mailman/listinfo/centos > > > ------------------------------------------------------------------------ > > _______________________________________________ > CentOS mailing list > CentOS@centos.org <mailto:CentOS@centos.org> > http://lists.centos.org/mailman/listinfo/centos > _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Victor:
# ps wax|grep httpd 12179 ? Ss 0:00 /usr/sbin/httpd 17698 ? Z 0:00 [httpd] <defunct>
Did you check the Apache error log?
Neil
-- Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU 1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime