|
|||
|
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 |
|
|||
|
Try
/scripts/initquotas /scripts/fixquotas Hope this should fix it. |
|
|||
|
Quote:
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 |
|
||||
|
Have a look at this :
Perl error- Parentheses missing around...
__________________
Moosa A UK Based cPanel WebHosting company ASP.NET, MSSQL & Windows Dedicated Hosting Blog Articles. |
|
|||
|
Quote:
That really works |
|
|||
|
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 |
|
|||
|
I get the exact same error:
Quote:
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. |
|
||||
|
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 |
|
|||
|
Quote:
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. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|