Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Catalyst app hangs httpd

by kenowen (Initiate)
on Jul 20, 2018 at 15:14 UTC ( [id://1218924]=perlquestion: print w/replies, xml ) Need Help??

kenowen has asked for the wisdom of the Perl Monks concerning the following question:

This application is a web site (pace-cleanenergy.org) which has been posted on three servers before without problem. Now I'm trying to post on AWS. when I start httpd (apachectl) it looks fine until the end, and it hangs. The gbd backtrace at the hang is:
#0 __strcasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42. +S:203 #1 0x00005572988d7234 in ap_find_command (name=name@entry=0x5572c91ea +f70 "\260}1\232rU", cmds=0x7f678ba3c890) at /usr/src/debug/httpd-2.2. +34/server/config.c:908 #2 0x00005572988d7289 in ap_find_command_in_modules (cmd_name=cmd_nam +e@entry=0x5572c91eaf70 "\260}1\232rU", mod=mod@entry=0x7ffce845ff50) at /usr/src/debug/httpd-2.2.34/server/config.c:924 #3 0x00005572988d73cd in ap_build_config_sub (p=p@entry=0x55729a24413 +8, temp_pool=temp_pool@entry=0x55729a250198, l=l@entry=0x55729fbc0708 + "\260}1\232rU", parms=parms@entry=0x7ffce8460040, current=current@entry=0x7ffce845 +ffb0, curr_parent=curr_parent@entry=0x7ffce845ffb8, conftree=conftree +@entry=0x7ffce8460018) at /usr/src/debug/httpd-2.2.34/server/config.c:1007 #4 0x00005572988d7ae2 in ap_build_config (parms=0x7ffce8460040, p=0x5 +5729a244138, temp_pool=0x55729a250198, conftree=0x7ffce8460018) at /usr/src/debug/httpd-2.2.34/server/config.c:1224 #5 0x00007f678b81af97 in modperl_config_insert () from /etc/httpd/mod +ules/mod_perl.so #6 0x00007f678b81b047 in modperl_config_insert_parms () from /etc/htt +pd/modules/mod_perl.so #7 0x00007f677da1283a in ?? () from /usr/lib64/perl5/vendor_perl/auto +/Apache2/CmdParms/CmdParms.so #8 0x00007f678b536ee7 in Perl_pp_entersub () from /usr/lib64/perl5/CO +RE/libperl.so #9 0x00007f678b52f776 in Perl_runops_standard () from /usr/lib64/perl +5/CORE/libperl.so #10 0x00007f678b4c7ca0 in Perl_call_sv () from /usr/lib64/perl5/CORE/l +ibperl.so #11 0x00007f678b81d429 in modperl_callback () from /etc/httpd/modules/ +mod_perl.so #12 0x00007f678b81c3d0 in modperl_cmd_perldo () from /etc/httpd/module +s/mod_perl.so #13 0x00005572988d5816 in invoke_cmd (cmd=0x7f678ba3c480, parms=parms@ +entry=0x7ffce84609f0, mconfig=0x55729a2c5158, args=0x55729a2a40a0 "#\tuse lib '/home/ec2-user/.cpan/build/Text-S +impleTable-2.05-LibLQW/lib/';\nuse lib '/home/ec2-user/perl5/lib/perl +5';\nuse lib '/var/www/html/new.pace-cleanenergy.org/httpdocs/PACE/li +b';\nuse PACE;\n#print"...) at /usr/src/debug/httpd-2.2.34/server/con +fig.c:757 #14 0x00005572988d79c7 in ap_walk_config_sub (section_vector=0x55729a2 +c1b88, parms=0x7ffce84609f0, current=0x55729a2a4178) at /usr/src/debug/httpd-2.2.34/server/config.c:1163 #15 ap_walk_config (current=0x55729a2a4178, parms=parms@entry=0x7ffce8 +4609f0, section_vector=0x55729a2c1b88) at /usr/src/debug/httpd-2.2.34 +/server/config.c:1196 #16 0x00005572988cf88a in virtualhost_section (cmd=0x7ffce84609f0, dum +my=<optimized out>, arg=<optimized out>) at /usr/src/debug/httpd-2.2. +34/server/core.c:2259 #17 0x00005572988d5816 in invoke_cmd (cmd=0x557298aff6f0 <core_cmds+80 +>, parms=parms@entry=0x7ffce84609f0, mconfig=0x55729a24fb90, args=0x5 +5729a2a39c0 "*:80>") at /usr/src/debug/httpd-2.2.34/server/config.c:757 #18 0x00005572988d79c7 in ap_walk_config_sub (section_vector=0x55729a2 +4f770, parms=0x7ffce84609f0, current=0x55729a2a3980) at /usr/src/debug/httpd-2.2.34/server/config.c:1163 #19 ap_walk_config (current=0x55729a2a3980, parms=parms@entry=0x7ffce8 +4609f0, section_vector=0x55729a24f770) at /usr/src/debug/httpd-2.2.34 +/server/config.c:1196 #20 0x00005572988d8812 in ap_process_config_tree (s=s@entry=0x55729a24 +e440, conftree=<optimized out>, p=0x55729a244138, ptemp=<optimized ou +t>) at /usr/src/debug/httpd-2.2.34/server/config.c:1765 #21 0x00005572988c05e5 in main (argc=3, argv=0x7ffce8460c58) at /usr/s +rc/debug/httpd-2.2.34/server/main.c:665
The virtual host configuration is:
<VirtualHost *:80> ServerAdmin kenowen@eowen.com ServerName pace-cleanenergy.org ServerAlias www.pace-cleanenergy.org DocumentRoot /var/www/html/new.pace-cleanenergy.org/httpdocs/PACE +/root ErrorLog logs/pace-cleanenergy.org-error_log CustomLog logs/pace-cleanenergy.org-access_log common #modperl config <Perl> use lib '/home/ec2-user/perl5/lib/perl5'; use lib '/var/www/html/new.pace-cleanenergy.org/httpdocs/PACE/ +lib'; use PACE; </Perl> <Location /> SetHandler ModPerl PerlResponseHandler PACE </Location> #modperl end </VirtualHost>

Replies are listed 'Best First'.
Re: Catalyst app hangs httpd
by hippo (Bishop) on Jul 20, 2018 at 15:24 UTC
    which has been posted on three servers before without problem.

    Were those other 3 servers also running version 2.2.34 of Apache? It seems an unusual choice now that it is passed End-of-Life so maybe that's a difference? Just a thought. Are the versions of libapreq2 the same?

      2.2.34 of Apache is the version that links to the version of mod_perl (2.0.7-7.27.amzn1) on Amazon Linux. The other servers were running 2.2. None of the servers were using libapreq2. The OS's were Centos 5 and Centos 6. They had libapr-1 in /usr/lib64 just like this one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1218924]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-26 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found