The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

fixquotas problem

Discussion in 'General Discussion' started by Secret Agent, Jul 18, 2006.

  1. Secret Agent

    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
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Well the error is there:
    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
     
  3. liwiplus

    liwiplus Member

    Joined:
    Jul 22, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...

Share This Page