in reply to Apache won't load when mod_perl enabled

The first place to look is the error.log file, which usually has some helpful information.

Additionally you can change the log level in the server configuration to get more details.

  • Comment on Re: Apache won't load when mod_perl enabled

Replies are listed 'Best First'.
Re^2: Apache won't load when mod_perl enabled
by bart (Canon) on May 07, 2008 at 09:05 UTC
    Yeah, I've thought of that after I posted my question. I see this:
    [Mon May 05 23:35:45 2008] [error] Can't load Perl module Apache2 for +server laptop.local, exiting...

    So it's module Apache2 (??) that appears to be missing, but I cannot find it on CPAN or PPM... Duh? I don't get it.

    p.s. This kind of behavior looks nasty to me: if a perl module refuses to load, it ought to just disable mod_perl, and not bring down Apache. IMHO.

      if a perl module refuses to load, it ought to just disable mod_perl, and not bring down Apache
      Actually, it should bring it down, IMHO. It's better to run a fully functional system, than crippled one, and you waste your time finding out what's broken while your apache is running and users are doing their nasty jobs to bring you down. I know I would'n like to work in such an environment.
      It's by design. If your configuration is screwed up, it's better to fail than it is to start in a runstate that will allow for unexpected behaviour. I'd rather have it die on mod perl than have it load and throw errors on every perl page. That kind of situation will leave you troubleshooting your perl libraries before you check apache, because apache is running, right? Must be working.
      cpan libapreq2 thats probably the missing module?