Prototype Mismatch in APR::XSLoader::BOOTSTRAP

Posted by: admin  :  Category: Perl

Well, today I just did not believe my eyes.

I was just bringing up a new webmail host when I noticed Apache throwing an 500 internal server error at me.

Looking at the error log I saw this line:

[Wed Jan 01 00:16:35 2003] [error] [client] Prototype mismatch: sub APR::XSLoader::BOOTSTRAP: none vs () at /usr/local/lib/perl5/site_perl/5.8.8/mach/APR/ line 24. BEGIN failed–compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/mach/APR/ line 26. Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/mach/Apache2/ line 161.

At first I though to be going mad because that server had just worked only few hours ago. Why would it fail like that after relocating it?

At second thought I noticed the time stamp which said “Wed Jan 01 00:16:35 2003”.

Well, the server had likely lost it’s CMOS settings during relocation. So after correcting the time through ntpdate the error had disappeared and Apache/mod_perl worked like a charm again. 🙂

One Response to “Prototype Mismatch in APR::XSLoader::BOOTSTRAP”

  1. James Brunskill Says:

    I just had the same issue, but hadn’t noticed the date till i read this post.
    Thanks for blogging about it…