Hi Matthias, Its a very annoying mod_perl(2) and apache(2) related problem. As you may see the error Bareword 'Apache::OK', it comes from mod_perl modules ModPerl::* (e.g ModPerl::RegistryCooker and ModPerl::Registry).
The precise solution is to rename the bareword 'Apache::OK' to 'Apache2::Const::OK'. It definitely looks nasty as why somebody needs to hook mod_perl code. Well, thats not my solution, just a finding. The apache/mod_perl group suggests this. Please read through this page and you will find the exact set of steps you need to follow in order to get this to work. http://perl.apache.org/docs/2.0/rename.html The clean way out is to clean/remove perl and mod_perl, reinstall everything from scratch. I guess the symptoms are usually seen when you upgrade from mod_perl version < 2. Good Luck!, and feel free to write in case you need further assistance. cheers syed On Tue, 2007-10-02 at 14:27 +0200, Matthias Hoys wrote: > Hello, > > > > I’m trying to install BioMart v0.6 on CentOS release 4.3. I installed > my own Apache. The installation and configuration went fine, including > the installation of mod_perl, but whenever I try to access the > website, an “Internal Server Error” is generated and the following is > seen in the Apache error log file. Any ideas ??? I really can’t find a > solution for this :( > > > > [Tue Oct 02 10:45:32 2007] [notice] Apache/2.2.6 (Unix) mod_perl/2.0.2 > Perl/v5.8.5 configured -- resuming normal operations > > [Tue Oct 02 10:45:55 2007] [error] [client 172.18.2.121] failed to > resolve handler `ModPerl::Registry': Bareword "Apache::OK" not allowed > while "strict subs" in use > at > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/ModPerl/RegistryCooker.pm > line 160.\nBareword "Apache::OK" not allowed while "strict subs" in use at > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/ModPerl/RegistryCooker.pm > line 162.\nBareword "Apache::OK" not allowed while "strict subs" in use at > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/ModPerl/RegistryCooker.pm > line 170.\nBEGIN not safe after errors--compilation aborted at > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/ModPerl/RegistryCooker.pm > line 200.\nCompilation failed in require at (eval 118) line > 3.\n\t...propagated at /usr/lib/perl5/5.8.5/base.pm line 85.\nBEGIN > failed--compilation aborted at > /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/ModPerl/Registry.pm > line 25.\nCompilation failed in require at (eval 117) line 3.\n, referer: > http://vicaris.be.devgen.com:81 > > > > > > Thanks, > > Matthias > > > > -- ====================================== Syed Haider. EMBL-European Bioinformatics Institute Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK. ======================================
