Article ID: 2862, created on Oct 29, 2007, last review on May 9, 2014

  • Applies to:
  • Pro Control Panel Linux

AdditionalInformation

View Knowledge
Knowledge ID 2282
Product : Ensim Pro for Linux
Version : 3.7.0
Topic : Hotfix

Title
mod_perl does not work with Apache 2.0 on Ensim Pro/Basic

Summary
mod_perl does not work with Apache 2.0 on Ensim Pro/Basic

Prevention


Details

When using Apache 2.0 with Ensim Pro/Basic, mod_perl no longer functions.  This is due to improper module references.  Ensim will provide an official fix in an upcoming Erratum.  A symptom of this error will be the following error information in /var/log/httpd/error_log

[Wed May 19 13:42:14 2004] [error] failed to resolve handler `Apache::Registry'
[Wed May 19 13:42:14 2004] [error] [client 67.172.191.228] Can't locate loadable object for module Apache::Constants in @INC (@INC contains: /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.1/i386-linux-thread-multi /usr/lib/perl5/5.8.1 . /etc/httpd/ /etc/httpd/lib/perl) at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/mod_perl.pm line 14
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache.pm line 6.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache.pm line 6.
Compilation failed in require at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache/Registry.pm line 2.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi/Apache/Registry.pm line 2.
Compilation failed in require at (eval 1) line 3.

Applies To:

   Products:  Ensim Pro, Ensim Basic
 Versions:  3.7.x, 4.0

 Platforms:

 Red Hat Enterprise, Fedora

If you need a temporary workaround, then download the modified mod_perl.pyc and apply.  Note that this workaround requires removing mod_perl for apache 1.3.  You will not be able to revert to apache 1.3 until you re-install mod_perl for apache 1.3.  Also, note that this may affect the application of the erratum and you may need to re-install mod_perl for apache 1.3 in order to install the next erratum.

Download:

MD5Sum File
d7ced0f8b4f5b7075ee1ab1b0389f7b0 mod_perl.pyc.gz

Instructions:

mkdir /root/working
cd /root/working
wget 
http://download.swsoft.com/ensim/outgoing/kb/mod_perl/mod_perl.pyc.gz
gunzip mod_perl.pyc.gz
cp /usr/lib/python2.2/site-packages/vh3/modules/mod_perl.pyc /root/working/mod_perl.pyc.backup
cp mod_perl.pyc /usr/lib/python2.2/site-packages/vh3/modules/mod_perl.pyc
service webppliance restart
for i in $(sitelookup -a site_handle); do EditVirtDomain $i; done
rpm -e mod_perl-httpd13


Attachments


Related Knowledge

Related Links
 
Last ModifiedUsageSatisfiedLast Used
6/16/2006 5:24:35 AM10 10/11/2007 4:33:01 AM

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF