fixquotas problem

S

Secret Agent

Guest
After a fresh os reload with centos 4.3 I am getting this:

....Done
Can't locate version.pm in @INC (@INC contains: /scripts /usr/lib/perl5/5.8.7/i686-linux /usr/lib/perl5/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl . /usr/local/cpanel) at /scripts/cPScript/cPQuota.pm line 11.
BEGIN failed--compilation aborted at /scripts/cPScript/cPQuota.pm line 11.
Compilation failed in require at /scripts/resetquotas line 15.
BEGIN failed--compilation aborted at /scripts/resetquotas line 15.


I had already ran upcp --force a few times prior and ran initquotas as well
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
33
473
Go on, have a guess
Well the error is there:
Can't locate version.pm
So you need to install it. Try:

/scripts/perlinstaller --force version

Make sure it tried to download v0.651 if it's anything older it may loop and you have a stale cpan mirror and will have to download and install it from cpan.org.

Once you have version installed correctly, then perform a upcp --force
 

liwiplus

Member
Jul 22, 2006
17
0
151
If you got build error with this script,

/scripts/perlinstaller --force version


Try installing version manually by,

cd /home/.cpan/build/version-0.662

perl Makefile.PL
make
make install

This should fix the issue.