You are here: Foswiki>Tasks Web>Item13582 (25 Sep 2016, GeorgeClark)Edit Attach

Item13582: mod_perl bootstrap guesses bad locations. needs review.

pencil
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: ConfigureBootstrap
Branches:
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
==> /var/log/apache2/error.log <==
AUTOCONFIG: Bootstrap Phase 1: $VAR1 = {
          'SCRIPT_NAME' => '',
          'SERVER_NAME' => 'wiki.xxxx.de',
          'SERVER_ADMIN' => 'webmaster@xxxx.de',
          'HTTP_ACCEPT_ENCODING' => 'gzip, deflate',
          'PATH_INFO' => '/foswiki',
          'HTTP_CONNECTION' => 'keep-alive',
          'REQUEST_METHOD' => 'GET',
          'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
          'SCRIPT_URI' => 'http://wiki.xxxx.de/foswiki',
          'SCRIPT_FILENAME' => '/var/www/foswiki/bin/view',
          'SERVER_SOFTWARE' => 'Apache/2.2.22 (Ubuntu)',
          'QUERY_STRING' => '',
          'REMOTE_PORT' => '59066',
          'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0',
          'SERVER_PORT' => '80',
          'SERVER_SIGNATURE' => '<address>Apache/2.2.22 (Ubuntu) Server at wiki.xxxx.de Port 80</address>
',
          'HTTP_PRAGMA' => 'no-cache',
          'HTTP_CACHE_CONTROL' => 'no-cache',
          'HTTP_ACCEPT_LANGUAGE' => 'en-US,en;q=0.5',
          'REMOTE_ADDR' => 'x.x.x.x',
          'SERVER_PROTOCOL' => 'HTTP/1.1',
          'PATH' => '/usr/local/bin:/usr/bin:/bin',
          'MOD_PERL_API_VERSION' => 2,
          'REQUEST_URI' => '/foswiki',
          'GATEWAY_INTERFACE' => 'CGI/1.1',
          'SERVER_ADDR' => '78.46.172.133',
          'SCRIPT_URL' => '/foswiki',
          'DOCUMENT_ROOT' => '/var/www/foswiki',
          'PATH_TRANSLATED' => '/var/www/foswiki/bin/view/foswiki',
          'HTTP_HOST' => 'wiki.x.x.x.x.de',
          'MOD_PERL' => 'mod_perl/2.0.5'
        };
AUTOCONFIG: Found Bin dir: /usr/sbin, Script name: apache2 using FindBin
AUTOCONFIG: TemplateDir = /usr/templates 
AUTOCONFIG: ToolsDir = /usr/tools 
AUTOCONFIG: WorkingDir = /usr/working 
AUTOCONFIG: PubDir = /usr/pub 
AUTOCONFIG: ScriptDir = /usr/bin 
AUTOCONFIG: DataDir = /usr/data 
AUTOCONFIG: LocalesDir = /usr/locale 
AUTOCONFIG: Set initial {Site}{Locale} to  C
AUTOCONFIG: Store configured for PlainFile
AUTOCONFIG: Detected FastCGI, mod_perl or MS Windows. {Store}{SearchAlgorithm} set to PurePerl
[Wed Jul 29 17:58:09 2015] [error] [client 84.143.251.39] failed to resolve handler `Foswiki::Engine::Apache': Unable to bootstrap configuration. LocalSite.cfg could not be loaded,\nand Foswiki was unable to guess the locations of the following critical\ndirectories: \n{TemplateDir} (guessed /usr/templates)\n{WorkingDir} (guessed /usr/working)\n{ScriptDir} (guessed /usr/bin) /usr/bin/setlib.cfg not found\n at /opt/otrs/Kernel/cpan-lib/CGI/Carp.pm line 378\n\tCGI::Carp::realdie('Unable to bootstrap configuration. LocalSite.cfg could not be...') called at /opt/otrs/Kernel/cpan-lib/CGI/Carp.pm line 467\n\tCGI::Carp::die('Unable to bootstrap configuration. LocalSite.cfg could not be...') called at /var/www/foswiki/lib/Foswiki/Configure/Load.pm line 491\n\tFoswiki::Configure::Load::bootstrapConfig() called at /var/www/foswiki/lib/Foswiki.pm line 359\n\tFoswiki::BEGIN() called at /var/www/foswiki/lib/Foswiki.pm line 636\n\teval {...} called at /var/www/foswiki/lib/Foswiki.pm line 636\n\trequire Foswiki.pm called at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\n\tFoswiki::Engine::Apache::BEGIN() called at /var/www/foswiki/lib/Foswiki.pm line 636\n\teval {...} called at /var/www/foswiki/lib/Foswiki.pm line 636\n\trequire Foswiki/Engine/Apache.pm called at (eval 123) line 2\n\teval 'require Foswiki::Engine::Apache\n;' called at /var/www/foswiki/lib/Foswiki.pm line 636\nBEGIN failed--compilation aborted at /var/www/foswiki/lib/Foswiki.pm line 636, <F> line 12.\n at /var/www/foswiki/lib/Foswiki.pm line 636\n\trequire Foswiki.pm called at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\n\tFoswiki::Engine::Apache::BEGIN() called at /var/www/foswiki/lib/Foswiki.pm line 636\n\teval {...} called at /var/www/foswiki/lib/Foswiki.pm line 636\n\trequire Foswiki/Engine/Apache.pm called at (eval 123) line 2\n\teval 'require Foswiki::Engine::Apache\n;' called at /var/www/foswiki/lib/Foswiki.pm line 636\nCompilation failed in require at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76, <F> line 12.\n at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\n\tFoswiki::Engine::Apache::BEGIN() called at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\n\teval {...} called at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\n\trequire Foswiki/Engine/Apache.pm called at (eval 123) line 2\n\teval 'require Foswiki::Engine::Apache\n;' called at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\nBEGIN failed--compilation aborted at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76, <F> line 12.\n at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\n\trequire Foswiki/Engine/Apache.pm called at (eval 123) line 2\n\teval 'require Foswiki::Engine::Apache\n;' called at /var/www/foswiki/lib/Foswiki/Engine/Apache.pm line 76\nCompilation failed in require at (eval 123) line 2, <F> line 12.\n at (eval 123) line 2\n\teval 'require Foswiki::Engine::Apache\n;' called at (eval 123) line 0\n

-- GeorgeClark - 29 Jul 2015

Setting this to "No Action" I've been unable to recreate the issue.

-- GeorgeClark - 25 Sep 2016
 

ItemTemplate edit

Summary mod_perl bootstrap guesses bad locations. needs review.
ReportedBy GeorgeClark
Codebase 2.0.0
SVN Range
AppliesTo Engine
Component ConfigureBootstrap
Priority Normal
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r2 - 25 Sep 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy