Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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,470
    Likes Received:
    21
    Trophy Points:
    463
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. liwiplus

    liwiplus Member

    Joined:
    Jul 22, 2006
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice