Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mod_perl not working

Status
Not open for further replies.

adrianc85

IS-IT--Management
Feb 21, 2005
31
US
I cannot install Mod_perl on apache. I have both RPM's installed and i get this error.

What happend was i installed a newer version of Mod_perl and was going to use it with the Apache 2.0 rpm but that did not work and i heard its good to do all rpm's or all from source. Now source is not an option at this point. I was wondering if anyone knows how i can take care of this error. "Apache::Const object version 1.999021 does not match bootstrap parameter 1.9913 " i think this is causing everything. How do change the object version of what should i do. Im not very good at this.

Starting httpd2 (prefork) [Thu Apr 14 11:43:49 2005] [error] Apache::Const object version 1.999021 does not match bootstrap parameter 1.9913 at /usr/lib/perl5/5.8.3/i586-linux-thread-multi/XSLoader.pm line 91.\nCompilation failed in require at /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/ModPerl/RegistryCooker.pm line 30.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/ModPerl/RegistryCooker.pm line 30.\nCompilation failed in require at (eval 3) line 3.\n\t...propagated at /usr/lib/perl5/5.8.3/base.pm line 70.\nBEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi/ModPerl/Registry.pm line 11.\nCompilation failed in require at /etc/apache2/mod_perl-startup.pl line 24.\nBEGIN failed--compilation aborted at /etc/apache2/mod_perl-startup.pl line 24.\nCompilation failed in require at (eval 2) line 1.\n
[Thu Apr 14 11:43:49 2005] [error] Can't load Perl file: /etc/apache2/mod_perl-startup.pl for server aeon:0, exiting...
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1


Thank you for your help in advance

Adrian
 
adrianc85,

Googling this error did not reveal any simple answers.

Please reply with your OS version#, and the version #s for Apache and mod_perl.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Suse 9.1
Apache 2.0.49
Mod_perl 1.9913

Its the version number that it checks for which is left in some file that i have to delete I cant find it though.

THank you for your reply.
 
I got this error left. Mod_perl Works now but i get this error when i try to use it.

Starting httpd2 (prefork) /usr/sbin/httpd2-prefork: error while loading shared libraries: /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi/auto/Apache/ServerUtil/ServerUtil.so: undefined symbol: modperl_restart_count
 
Since your using RPM your kind of in the worst spot.

I suggest telling redhat to completely remove apache and modperl, going into the perl directory and removing the 'Apache' directory (where modperl puts its apache module) and then reinstalling both.

You have a version conflict in your core libraries now that will only be resolved by a clean compile or a clean reinstall.
 
mod_perl is working now what i had to do is rename some apache directories and it removed the Apache::Const that i had trouble with. It was a dumb mistake on my side. Thankks everyone for your help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top