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/Reload.pm 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:
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?
did you do step 15?
there you must install perl
Yes, I did - Apache::Reload is no longer packaged with Perl - has to be downloaded from cpan and compiled. Found this while looking for an answer today:
I installed cpan, and got the source for Apache::Reload from there, but doesn't build without another missing piece:
Can't locate ModPerl/MM.pm 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 .) at Makefile.PL line 41.
getting ModPerl::MM from cpan and trying to build it yields:
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: lib Apache-Test/lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at lib/Apache2/Build.pm line 27.
I know almost nothing about Perl and its environment, so I'm not comfortable digging any deeper to figure out what pieces to put together make the pieces to put together to build Apache2::Restart. If someone has a bit of a handle on this, as far as either getting it packaged so it can be installed with rpm, or suggesting the steps to build this so it can be added to the Perfect Server how-to, I would be very grateful. :D
Don't know if it's useful for you but here a perl tutorial
OK.. we got it fixed today. Apache2::Reload needs ModPerl::MM, which needs Embed, which if you build it in place needs other things. Fortunately the Embed module is packaged in an rpm, which makes adding Embed at least fairly painless to add to your system. For Centos6.4 you need to do the following:
1) yum install perl-ExtUtils-Embed
2) download from cpam ModPerl::MM and build it, then
3) download from cpam Apache2::Reload and build it.
Hope this helps someone. The steps to actually do this should be added to the installation howto for ISPConfig3.
I too faced with the same problem -
[Mon Aug 11 03:22:33 2014] [error] Can't locate Apache2/Reload.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 . /etc/httpd) at (eval 8) line 3.\n
Using RPMFORGE's package but with an extra config -
Hope this solves someone else issue too.
|All times are GMT +2. The time now is 18:40.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.