Cannot modify account quota and strange fixquotas error

Bazer

Member
Feb 18, 2005
10
0
151
Hello

Today after I ran a cpanel update through '/scripts/upcp --force' quotas have went haywire. All accounts had their quotas reset to package defaults but now I can't modify them through WHM.

Running '/scripts/fixquotas' has no effect but an error message for each account on the server:
Code:
Can't locate version.pm in @INC (@INC contains: /usr/lib/perl5/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/5.8.5 /usr/lib/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_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.
I use the stable branch 10.8.0 (WHM) and 10.8.1 (CPanel) (S114).
Has anyone experienced something similar?
 

dalem

Well-Known Member
PartnerNOC
Oct 24, 2003
2,983
159
368
SLC
cPanel Access Level
DataCenter Provider
your missing the the perl module version.pm

/scripts/perlinstaller Version


if your running Centos 4.x you will need to install it from source I had to on all of our Centos 4 boxes as the one from cpan will not install
 

Bazer

Member
Feb 18, 2005
10
0
151
No use

I tried to install the perl module, but this is what I got:
Code:
# /scripts/perlinstaller Version
Method: Perl Expect
Unable to locate working rdate! Please check your installation.
Testing connection speed...(this could take a while)....Done
Three usable mirrors located
Mirror Check passed for cpan.interprovide.de (/index.html)
commit: wrote /usr/lib/perl5/5.8.5/CPAN/Config.pm
CPAN: Storable loaded ok
Going to read /home/.cpan/Metadata
Warning: Cannot install Version, don't know what it is.
Try the command

    i /Version/

to find objects with matching identifiers.
Upgrading to release hasn't helped too.

What's going on?
 

xidica

Well-Known Member
Apr 21, 2005
63
0
156
Texas
Also ensure that you actually have quota supported compiled into the kernel, and that usrquota (or userquota for FreeBSD) options are being passed to mount as defined in your /etc/fstab.
 

Bazer

Member
Feb 18, 2005
10
0
151
Nope, quotacheck didn't help, sorry.

xidica said:
Also ensure that you actually have quota supported compiled into the kernel, and that usrquota (or userquota for FreeBSD) options are being passed to mount as defined in your /etc/fstab.
The quota support is in the kernel and options are set, as they always were. The quotas are set and are working. The problem is that I can't modify them.

When I go to 'list accounts' and want to modify space available for a given account, WHM confirms it was successful but no real change is made.

Edit:
I opened a support ticket and the issue has been resolved.
The problem was an outdated version of perl (5.8.5, 5.8.7 was required by the updated cPanel) and broken modules.
Shortly after opening a ticket a tech updated perl and reinstalled the broken modules. Thumbs up for the support team.

But I have a question: is there any way one could check the system requirements (such as perl, mysql etc) of new cpanel updates?
 
Last edited: