Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Apache won't load when mod_perl enabled

by bart (Canon)
on May 07, 2008 at 09:05 UTC ( [id://685171]=note: print w/replies, xml ) Need Help??


in reply to Re: Apache won't load when mod_perl enabled
in thread Apache won't load when mod_perl enabled

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.

Replies are listed 'Best First'.
Re^3: Apache won't load when mod_perl enabled
by arkturuz (Curate) on May 07, 2008 at 09:48 UTC
    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.
Re^3: Apache won't load when mod_perl enabled
by satanicpuppy (Novice) on May 07, 2008 at 16:30 UTC
    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.
Re^3: Apache won't load when mod_perl enabled
by Anonymous Monk on May 08, 2008 at 13:30 UTC
    cpan libapreq2 thats probably the missing module?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://685171]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-04-25 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found