#1 (permalink)  
Old 01-30-2006, 08:24 AM
Registered User
 
Join Date: Aug 2005
Posts: 1
econ is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-30-2006, 11:39 PM
Registered User
 
Join Date: Jan 2005
Location: Earth
Posts: 872
madaboutlinux is on a distinguished road
Try
/scripts/initquotas
/scripts/fixquotas

Hope this should fix it.
__________________
Linux WebHosting Blog.
http://linuxhostingsupport.net/blog/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-31-2006, 05:16 AM
Registered User
 
Join Date: Feb 2005
Posts: 18
arturoz is on a distinguished road
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 Not just another fixquota error

"/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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-31-2006, 07:55 AM
Murtaza_t's Avatar
Registered User
 
Join Date: Jan 2005
Location: Earth
Posts: 471
Murtaza_t is on a distinguished road
Have a look at this :
Perl error- Parentheses missing around...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-31-2006, 08:32 AM
Registered User
 
Join Date: Feb 2005
Posts: 18
arturoz is on a distinguished road
Quote:
Originally Posted by Murtaza_t
Thanks

That really works
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-31-2006, 10:59 AM
cpanelben's Avatar
Staff Member
 
Join Date: Feb 2004
Posts: 596
cpanelben is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-12-2006, 08:53 PM
Registered User
 
Join Date: Feb 2004
Posts: 1
cokegen
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
__________________
Carlos Castillo
e-mail: cokegen@gmail.com
MSN: cokegen@gmail.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-13-2006, 01:20 AM
Registered User
 
Join Date: Aug 2006
Posts: 26
ruzster is on a distinguished road
I get the exact same error:

Quote:
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 02:03 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-13-2006, 11:28 AM
chirpy's Avatar
Moderator
 
Join Date: Jun 2002
Location: Go on, have a guess
Posts: 13,495
chirpy will become famous soon enough
You need to get the perl module version installed, usually:

/scripts/perlinstaller --force version
__________________
Jonathan Michaelson
cPanel Forum Moderator

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-13-2006, 12:45 PM
Registered User
 
Join Date: Aug 2006
Posts: 26
ruzster is on a distinguished road
Quote:
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 12:51 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:20 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc