You are here: Foswiki>Tasks Web>Item2561 (05 Jul 2015, GeorgeClark)Edit Attach

Item2561: Apache doesn't start if foswiki is not configured yet

pencil
Priority: Enhancement
Current State: Closed
Released In: 2.0.0
Target Release: major
Applies To: Extension
Component: ConfigureBootstrap, ModPerlEngineContrib
Branches:
Reported By: GilmarSantosJr
Waiting For:
Last Change By: GeorgeClark
If Foswiki is not configured yet, i.e. LocalSite.cfg doesn't exist, ModPerlEngineContrib prevents apache from running and error messages like these are written to apache logs:

[error] Content-type: text/plain\n\nPerl error when reading LocalSite.cfg: 
Please inform the site admin.
at /tmp/foswiki/lib/Foswiki/Configure/Load.pm line 56
    Foswiki::Configure::Load::readConfig() called at /tmp/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 /tmp/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 /tmp/foswiki/tools/mod_perl_startup.pl line 41

-- GilmarSantosJr - 03 Jan 2010

We need to verify this with the new Bootstrap.

-- Main.GeorgeClark - 06 Jan 2015 - 04:34

ItemTemplate edit

Summary Apache doesn't start if foswiki is not configured yet
ReportedBy GilmarSantosJr
Codebase trunk
SVN Range
AppliesTo Extension
Component ConfigureBootstrap, ModPerlEngineContrib
Priority Enhancement
CurrentState Closed
WaitingFor
Checkins
TargetRelease major
ReleasedIn 2.0.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r4 - 05 Jul 2015, 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