cpanel11 and Disk Space Usage issues

siya

Member
Sep 28, 2006
22
0
151
Since cpanel was upgraded to the version 11, we are facing a strange issue. The disk space usage reporting in users' cpanel don't work properly. Following is the error we receive:

Disk Space Usage Serious problem while fetching quota data (quota): No such file or directory (3328) /∞ MB
I couldn't find a new thread discussing this problem and guess we are the first one to hit by this. I found a couple of work arounds for this, but wouldn't like to go for this as I believe it is a bug in cpanel. Moreoever, the work arounds I mentioned may introduce a security hole or performance degradation.

Anyone having any ideas on this!?
 

siya

Member
Sep 28, 2006
22
0
151
Unfortunately no. I have already tried that for no help. :(
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Since cpanel was upgraded to the version 11, we are facing a strange issue. The disk space usage reporting in users' cpanel don't work properly. Following is the error we receive:



I couldn't find a new thread discussing this problem and guess we are the first one to hit by this. I found a couple of work arounds for this, but wouldn't like to go for this as I believe it is a bug in cpanel. Moreoever, the work arounds I mentioned may introduce a security hole or performance degradation.

Anyone having any ideas on this!?

What is your OS, cPanel version and file system?


Does it happen only on one account, all, or seemingly random?

Is the number given the UID of the account?
 

siya

Member
Sep 28, 2006
22
0
151
What is your OS, cPanel version and file system?


Does it happen only on one account, all, or seemingly random?

Is the number given the UID of the account?
We have multiple boxes showing this issue. Configuration of a typical box is,

Cpanel - 11.10.0-STABLE_16448
CentOS release 4.5 (Final)
Filesystem Ext3

The interesting fact is that some times it works fine for a moment and throws error when the browser window is refreshed.

An example error message in cpanel error log is pasted below.

open3: exec of df -P -k /home/username failed at /usr/local/cpanel/Cpanel/SafeRun.pm line 157
Fri Aug 24 08:46:14 2007 info [Cpanel::Filesys]: Unable to retrieve disk usage information. at /usr/local/cpanel/Cpanel/Logger.pm line 35
Cpanel::Logger::cplog('Unable to retrieve disk usage information.', 'info', 'Cpanel::Filesys') called at /usr/local/cpanel/Cpanel/Filesys.pm line 35
Cpanel::Filesys::disk_space_check('/home/username') called at cpanel.pl line 838
It works fine if the permission on df binary is set to 755. :confused:
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
df is a dependency for the new File Manager and must be executable by all users (0555 or something similar). I'm curious, as I've seen several reports where the permissions were set to 0700, why someone would disable df for normal users?
 

shivamxp

Well-Known Member
Jan 30, 2005
47
0
156
Im seeing the same with the latest VPS optimized EDGE

When I run /scripts/fixquotas

Resetting quota for zaiakuc to 500 MB
No filesystems with quota detected.


However I know earlier the filesystem did have quotas...is this a possible cpanel bug or Virtuozzo Bug
 

deddy

Well-Known Member
Oct 13, 2003
147
1
168
We got the same problem here. Only on cPanel/Virtuozzo server.

Something wrong with the promised new cPanel for VPS server ?
 

carluk

Well-Known Member
Sep 2, 2003
161
0
166
What's the output of the following?
Code:
cat /etc/fstab
 

carluk

Well-Known Member
Sep 2, 2003
161
0
166
Try editing it to (using nano -w /etc/fstab):
Code:
none /dev/pts devpts rw,usrquota 0 0
Then restart your vps:
Code:
shutdown -r now
Then run /scripts/initquotas && /scripts/fixquotas
 

deddy

Well-Known Member
Oct 13, 2003
147
1
168
none /dev/pts devpts rw,usrquota 0 0
unfortunately this doesn't help to get rid of the problem.

/scripts/initquotas
Quotas are now on

/scripts/fixquotas
Installing Default Quota Databases......Done
Quotas are now on
Resetting quota for user1 to 500 M
No filesystems with quota detected.
Resetting quota for user2 to 200 M
No filesystems with quota detected.

cPanel message:
Serious problem while fetching
quota data (quota):
Bad file descriptor (0) /∞ MB
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
unfortunately this doesn't help to get rid of the problem.

/scripts/initquotas
Quotas are now on

/scripts/fixquotas
Installing Default Quota Databases......Done
Quotas are now on
Resetting quota for user1 to 500 M
No filesystems with quota detected.
Resetting quota for user2 to 200 M
No filesystems with quota detected.

cPanel message:
Serious problem while fetching
quota data (quota):
Bad file descriptor (0) /∞ MB
What is your full cPanel version number?
 

deddy

Well-Known Member
Oct 13, 2003
147
1
168
I tried different versions. Currently installed is:

WHM 11.15.0 cPanel 11.18.5-S23897
 

deddy

Well-Known Member
Oct 13, 2003
147
1
168
Now I tried WHM 11.20.0 cPanel 11.22.3-C23899 (VPS Optimized)

The problem persists.

I'll open a support ticket.

I forgot I found one thing changed.

cPanel message:

Serious problem while fetching
quota data (quota):
Illegal seek (0) <-----
/∞ MB

Illegal seek instead of Bad file descriptor.
 
Last edited: