NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item2527: troubles getting ModPerlEngineContrib running from debian repository

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Normal New Extension ModPerlEngineContrib  
I tryed to install mod_perl from the debian repository. The module installs fine. Following the install instructions (run configure, setting up the new apache config with the apache config generator) leads apache to not startup again. The error message in the apache error.log:

Content-type: text/plain

Perl error when reading LocalSite.cfg: 
Please inform the site admin.
 at /var/lib/foswiki/lib/Foswiki/Configure/Load.pm line 56
   Foswiki::Configure::Load::readConfig() called at /var/lib/foswiki/lib/Foswiki.pm line 269
   Foswiki::BEGIN() called at LocalSite.cfg line 498
   eval {...} called at LocalSite.cfg line 498
   require Foswiki.pm called at /var/lib/foswiki/lib/Foswiki/Engine/Apache.pm line 74
   Foswiki::Engine::Apache::BEGIN() called at LocalSite.cfg line 498
   eval {...} called at LocalSite.cfg line 498
   require Foswiki/Engine/Apache.pm called at /var/lib/foswiki/tools/mod_perl_startup.pl line 41
   main::BEGIN() called at LocalSite.cfg line 498
   eval {...} called at LocalSite.cfg line 498
   require /var/lib/foswiki/tools/mod_perl_startup.pl called at (eval 2) line 1
   eval 'require qCompilation failed in require at /var/lib/foswiki/lib/Foswiki/Engine/Apache.pm line 74.
 at /var/lib/foswiki/lib/Foswiki/Engine/Apache.pm line 74
   Foswiki::Engine::Apache::BEGIN() called at /var/lib/foswiki/lib/Foswiki.pm line 74
   eval {...} called at /var/lib/foswiki/lib/Foswiki.pm line 74
   require Foswiki/Engine/Apache.pm called at /var/lib/foswiki/tools/mod_perl_startup.pl line 41
   main::BEGIN() called at /var/lib/foswiki/lib/Foswiki.pm line 74
   eval {...} called at /var/lib/foswiki/lib/Foswiki.pm line 74
   require /var/lib/foswiki/tools/mod_perl_startup.pl called at (eval 2) line 1
   eval 'require qCompilation failed in require at /var/lib/foswiki/tools/mod_perl_startup.pl line 41.
 at /var/lib/foswiki/tools/mod_perl_startup.pl line 41
   main::BEGIN() called at /var/lib/foswiki/lib/Foswiki/Engine/Apache.pm line 41
   eval {...} called at /var/lib/foswiki/lib/Foswiki/Engine/Apache.pm line 41
   require /var/lib/foswiki/tools/mod_perl_startup.pl called at (eval 2) line 1
   eval 'require qCompilation failed in require at (eval 2) line 1.
 at (eval 2) line 1
   eval 'require q

With the help of PaulHarvey in the #foswiki irc channel we found out that /etc/foswiki/ was not in the path for /var/lib/foswiki/tools/mod_perl_startup.pl an therefore LocalSite? .cfg could not be loaded. So I made a fix in mod_perl_startup.pl:

  use lib qw# /etc/foswiki #;

After this fix, Apache starts up and the mod_perl installation is working.

ItemTemplate edit

Summary troubles getting ModPerlEngineContrib running from debian repository
ReportedBy HerbieLiechti
Codebase 1.0.7
SVN Range
AppliesTo Extension
Component ModPerlEngineContrib
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
Topic revision: r1 - 24 Dec 2009 - 09:26:33 - HerbieLiechti
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads