Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    1

    Default WHM not setting/editing account quote limits!

    My WHM had been working fine until about 3 weeks ago, any accounts created in this time have been set with an 'unlimited' quota while the relative packages have limits.

    Also if I upgrade an account from one package to another the account name takes on the package name as it should but the quota doesn't change.

    If I select 'Quota modification' the quota does not changes from it's previous value.

    When making any of the ablove changes in my WHM the messages coming back are telling me this is all being done OK, changing quota etc......... but in reality no quota is being affected.

    Anyone any ideas?

    WHM 10.6.0 cPanel 10.6.0-R55
    CentOS 4.2 i686 - WHM X v3.1.0
    Linux server

    Thanks

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    Try
    /scripts/initquotas
    /scripts/fixquotas

    Hope this should fix it.

  3. #3
    Member
    Join Date
    Feb 2005
    Posts
    18

    Default

    Quote Originally Posted by Shekhar
    Try
    /scripts/initquotas
    /scripts/fixquotas
    don't work, still the same problem.

    fixquotas gives this error:

    Can't locate version.pm in @INC (@INC contains: /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.0 /usr/lib/perl5/site_perl . /scripts) at /scripts/cPScript/cPQuota.pm line 11.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPQuota.pm line 11.
    Compilation failed in require at /scripts/editquota line 8.
    BEGIN failed--compilation aborted at /scripts/editquota line 8.


    commands from here http://forums.cpanel.net/showthread.php?t=49009

    "/usr/local/cpanel/bin/checkperlmodules" and
    "/scripts/perlinstaller version"

    don't fix the error

    -----------------------
    WHM 10.8.0 cPanel 10.8.1-S114
    RedHat Enterprise 3 i686 - WHM X v3.1.0

  4. #4

  5. #5
    Member
    Join Date
    Feb 2005
    Posts
    18

    Default

    Quote Originally Posted by Murtaza_t
    Thanks

    That really works

  6. #6
    Staff Member cpanelben's Avatar
    Join Date
    Feb 2004
    Location
    Houston, Texas USA
    Posts
    598
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by econ
    Also if I upgrade an account from one package to another the account name takes on the package name as it should but the quota doesn't change.
    This issue will be addressed in the next builds.

    Also, the "script" you were likely looking for is "/scripts/resetquotas". Call it with the "--useplanquotas" option to have all your account quotas reset to their package defaults.

  7. #7
    Registered User
    Join Date
    Feb 2004
    Posts
    1

    Default don't work for me

    I've run the perl reinstall, then made an upcp but the error keeps appearing. Can anyone tell me why is this happening ?

    [/scripts]# ./resetquotas
    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.6 /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 . /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 ./resetquotas line 15.
    BEGIN failed--compilation aborted at ./resetquotas line 15.

    Thanks

  8. #8
    Member
    Join Date
    Aug 2006
    Posts
    26

    Default

    I get the exact same error:

    Can't locate version.pm in @INC (@INC contains: /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 . /scripts) at /scripts/cPScript/cPQuota.pm line 11.
    BEGIN failed--compilation aborted at /scripts/cPScript/cPQuota.pm line 11.
    Compilation failed in require at /scripts/editquota line 11.
    BEGIN failed--compilation aborted at /scripts/editquota line 11.

    Anyone figure this one out?

    Edit: Well.. I think I've got an answer, but it's a little ghetto.

    In /scripts/cPScript/cPQuota.pm I commented out:

    use version; our $VERSION = qv('0.1.0');


    Everything seems to work fine now. Will this cause me problems later on?

    (BTW, I did try reinstalling Perl first. Didn't work.)
    Last edited by ruzster; 08-13-2006 at 03:03 AM.

  9. #9
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You need to get the perl module version installed, usually:

    /scripts/perlinstaller --force version
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  10. #10
    Member
    Join Date
    Aug 2006
    Posts
    26

    Default

    Creating new 'Build' script for 'version' version '0.67'

    CPAN: YAML loaded ok

    Can't locate object method "up_to_date" via package "version::Builder" (perhaps you forgot to load "version::Builder"?) at ./Build line 45.

    ./Build -- NOT OK

    Running Build install

    make had returned bad status, install seems impossible

    perlmod--Install done

    This is what it gives me.


    Edit:



    I found the answer here: http://forums.cpanel.net/showpost.ph...2&postcount=11
    Last edited by ruzster; 08-13-2006 at 01:51 PM.

Similar Threads & Tags
Similar threads

  1. Account Creation Limits refers to WHM account or cPanel account?
    By alphareseller in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-01-2011, 08:02 PM
  2. Setting account email limits per-domain or account.
    By MikeDVB in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-13-2009, 07:39 AM
  3. Mass-editing bandwidth limits
    By kdw in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2009, 01:02 PM
  4. E-mail quote diferent from web quote,
    By budway in forum E-mail Discussions
    Replies: 1
    Last Post: 01-07-2008, 05:37 AM
  5. Replies: 1
    Last Post: 06-28-2005, 05:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube