1819791 Members
3300 Online
109607 Solutions
New Discussion юеВ

apache + perl_mod

 
Jonay
Occasional Advisor

apache + perl_mod

Hello,

I tried to enable the perl_mod on httpd.conf and restart the apache server, buu he can't start. when I comment out the perl_mod. ican again start my apache server !! what goes wrong ? what do I need to do to let it work with perl_mod?

thanks in advance,

Jonay
4 REPLIES 4
Ivan Krastev
Honored Contributor

Re: apache + perl_mod

Can you post the error, apache and perl mod version.

Also try to increase log level of the apache to see more details.

regards,
ivan
Jonay
Occasional Advisor

Re: apache + perl_mod

thanks for the quick answer:
here is the error:
[u51cf28:/sbin/init.d]# ./hpws_apache start
WARNING: HPWS_APACHE_START and HPWS_APACHE_START_SSL set to 1
Setting HPWS_APACHE_START to 0
ERROR: Could not start Apache with SSL
error.log:
[Fri Oct 05 11:54:04 2007] [notice] caught SIGTERM, shutting down
[Fri Oct 05 11:55:35 2007] [warn] RSA server certificate CommonName (CN) `www.myserver.dom' does NOT match server name!?
[Fri Oct 05 11:55:36 2007] [warn] RSA server certificate CommonName (CN) `www.myserver.dom' does NOT match server name!?
[Fri Oct 05 11:55:36 2007] [notice] Apache/2.0.52 HP-UX_Apache-based_Web_Server (Unix) DAV/2 mod_ssl/2.0.52 OpenSSL/0.9.7d co
nfigured -- resuming normal operations
[Fri Oct 05 11:56:45 2007] [notice] SIGUSR1 received. Doing graceful restart
[Fri Oct 05 11:56:45 2007] [emerg] (22)Invalid argument: apr_proc_mutex_unlock failed. Attempting to shutdown process graceful
ly.
[Fri Oct 05 11:56:45 2007] [error] Can't locate strict.pm in @INC (@INC contains: /opt/hpws/apache/lib/perl/lib/site_perl/5.8.
0/PA-RISC1.1-thread-multi /opt/hpws/apache/lib/perl/lib/5.8.0/PA-RISC1.1-thread-multi /opt/hpws/apache/lib/perl/lib/5.8.0 /opt
/hpws/apache/lib/perl/lib /opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi /opt/perl/lib/5.8.0 /opt/perl/lib/site_perl/5.8.0/PA-RIS
C1.1-thread-multi /opt/perl/lib/site_perl/5.8.0 /opt/perl/lib/site_perl . /opt/hpws/apache/ /opt/hpws/apache/lib/perl) at /opt
/hpws/apache/lib/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/ModPerl/Registry.pm line 17.\nBEGIN failed--compilation abor
ted at /opt/hpws/apache/lib/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/ModPerl/Registry.pm line 17.\nCompilation failed
in require at (eval 2) line 3.\n
[Fri Oct 05 11:56:45 2007] [error] Can't load Perl module ModPerl::Registry for server u51cf28.cmc.be:80, exiting...
[Fri Oct 05 11:58:10 2007] [error] Can't locate strict.pm in @INC (@INC contains: /opt/hpws/apache/lib/perl/lib/site_perl/5.8.
0/PA-RISC1.1-thread-multi /opt/hpws/apache/lib/perl/lib/5.8.0/PA-RISC1.1-thread-multi /opt/hpws/apache/lib/perl/lib/5.8.0 /opt
/hpws/apache/lib/perl/lib /opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi /opt/perl/lib/5.8.0 /opt/perl/lib/site_perl/5.8.0/PA-RIS
C1.1-thread-multi /opt/perl/lib/site_perl/5.8.0 /opt/perl/lib/site_perl . /opt/hpws/apache/ /opt/hpws/apache/lib/perl) at /opt
/hpws/apache/lib/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/ModPerl/Registry.pm line 17.\nBEGIN failed--compilation abor
ted at /opt/hpws/apache/lib/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/ModPerl/Registry.pm line 17.\nCompilation failed
in require at (eval 2) line 3.\n
[Fri Oct 05 11:58:10 2007] [error] Can't load Perl module ModPerl::Registry for server u51cf28.cmc.be:80, exiting...
[Fri Oct 05 11:58:52 2007] [warn] pid file //opt/hpws/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache
run?
[Fri Oct 05 11:58:52 2007] [notice] Apache/2.0.52 HP-UX_Apache-based_Web_Server (Unix) DAV/2 configured -- resuming normal op
erations

can I install from HP the perl_mod and where can I found it ?

here is my info about the software:
hpuxwsApache A.2.0.52.00 HP-UX Apache-based Web Server

thanks in advance,

Jonay
Ivan Krastev
Honored Contributor

Re: apache + perl_mod

MOD_PERL is included in latest Apache version 2.0.59, available at software.hp.com.


regards,
ivan
Jonay
Occasional Advisor

Re: apache + perl_mod

hello Ivan,

thanks for youre help !!

kind regards,

Jonay