I'm porting a large mod_perl1 application to mod_perl2. The server is now starting.
If I mistype some server configuration, it gives me errors, so I know the configuration is being read. I tried adding this: PerlModule Phase::PostConfig PerlPostConfigHandler Phase::PostConfig::handler and putting in the very simple: use Apache2::Const -compile => 'OK'; sub post_config { print STDERR "configuration is complete\n"; return Apache2::Const::OK; } 1; I see a hit in the access logs. I get an Internal Server Error. And still, the error log is completely silent. This is my problem. Without server errors I get a bit lost. When I had a typo in a module, the error log would have stuff in it, so I don't think it is writing to an unexpected location for this. I doubt it will help, but here is what is in the error log from start up. [Wed Apr 04 10:36:13 2012] [info] Init: Seeding PRNG with 0 bytes of entropy [Wed Apr 04 10:36:13 2012] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Apr 04 10:36:13 2012] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Apr 04 10:36:13 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Wed Apr 04 10:36:13 2012] [info] Init: Initializing (virtual) servers for SSL [Wed Apr 04 10:36:13 2012] [info] mod_ssl/2.2.22 compiled against Server: Apache/2.2.22, Library: OpenSSL/1.0.0g [Wed Apr 04 10:36:14 2012] [info] Init: Seeding PRNG with 0 bytes of entropy [Wed Apr 04 10:36:14 2012] [info] Init: Generating temporary RSA private keys (512/1024 bits) [Wed Apr 04 10:36:14 2012] [info] Init: Generating temporary DH parameters (512/1024 bits) [Wed Apr 04 10:36:14 2012] [info] Init: Initializing (virtual) servers for SSL [Wed Apr 04 10:36:14 2012] [info] mod_ssl/2.2.22 compiled against Server: Apache/2.2.22, Library: OpenSSL/1.0.0g [Wed Apr 04 10:36:14 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0g mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations [Wed Apr 04 10:36:14 2012] [info] Server built: Mar 7 2012 17:23:30 [Wed Apr 04 10:36:14 2012] [debug] prefork.c(1023): AcceptMutex: sysvsem (default: sysvsem) Josh Narins Director of Application Development SeniorBridge 845 Third Ave 7th Floor New York, NY 10022 Tel: (212) 994-6194 Fax: (212) 994-4260 Mobile: (917) 488-6248 jnar...@seniorbridge.com seniorbridge.com<http://www.seniorbridge.com/> [http://www.seniorbridge.com/images/seniorbridgedisclaimerTAG.gif] ________________________________ SeniorBridge Statement of Confidentiality: The contents of this email message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. Any dissemination, distribution or copying of this email by an unintended or mistaken recipient is strictly prohibited. In said event, kindly reply to the sender and destroy all entries of this message and any attachments from your system. Thank you.