View Single Post
Old 30th March 2013, 00:34
vinnymeyer vinnymeyer is offline
Junior Member
Join Date: Mar 2013
Location: Upstate NY, USA
Posts: 3
Thanks: 4
Thanked 0 Times in 0 Posts
Default Apache2/ issue

I'm running a brand-new installation of ISPConfig under Centos6.4. Everything installed fairly easily, and seemed to be working ok, with three sites hosted. When adding the 4th site, however, ISPConfig froze. Restarting httpd fails, with the following entry in /var/log/httpd/error_log:

[Fri Mar 29 17:55:44 2013] [error] Can't locate Apache2/ in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd) at (eval 8) line 3.\n

I'm pretty new as a sysadmin, and have spent a couple hours ramping up the learning curve.. and found this code in the entry for the site in /etc/httpd/conf/sites-available/ has this code in it:

<IfModule mod_perl.c>
PerlModule ModPerl::Registry
PerlModule Apache2::Reload
<Directory /var/www/>
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
<Files *.pl>
SetHandler perl-script

It kinda makes sense, if you're going to make a change in ModPerl to restart Perl (hence the "Apache2::Reload).. but did I miss a step where this is installed? It does not appear to be included in Centos, and has to be built.. and it depends on something else being installed to be able to build.

I commented this out in the site's config file, after which httpd will now start and server comes up.

I'm new at all this - am I missing something?
Reply With Quote
Sponsored Links