Cpanel/WHM FAQs

Home | Webstats | Frontpage | Disk Quota | FTP Problems | MySql | Exim Notes | Basic Commands | TCP Wrappers | Kernel Compilation| Nagios| Harddisk Restoration| Cpanel Scripts| IPTables
Search Query

RSS site feed|Webmaster Stuff|International Calling Cards|Linux Recovery|Server Recovery|Hard Drive Recovery|Raid Recovery

Cpanel/WHM is known in the industry as one of the most powerful feature filled web hosting control panels. Both cPanel & WHM are extremely feature rich as well as include an easy to use web based interface (GUI). WHM allows you to but is not limited to administering individual accounts, reseller accounts & performing basic system and control panel maintenance via a secure interface. cPanel is designed for the end users of your system and allows them to control everything from adding / removing email accounts to administering MySQL databases.


How to setup user/group quota in a server?


1) Open /etc/fstab Add the usrquota,grpquota option to the partition where you want to set the quota.

For Example, /dev/hda2 /home ext3 defaults,usrquota 1 1

2)touch /partition/aquota.user

3)chmod 600 /partition/aquota.user

4)mount -o remount /partition

5)quotacheck -vguma

It will show the output like:
quotacheck: WARNING - Quotafile //aquota.user was probably truncated. ...
quotacheck: Scanning /dev/hda5 [/] done
quotacheck: Checked 9998 directories and 179487 files
6)quotaon -av

7)edquota -u user_id

8)repquota -a

Commonly found Disk Quota errors


Cpanel is not considering mysql database with Disk Usage? Any fix for that?

The issue is due to the improper ownership of the databases.Run /scripts/updatemysqlquota will fix the issue.
The Disk usage in Cpanel shows incorrect disk usage. How to fix it?

Run the scripts
/scripts/fixquotas or /scripts/fixeverything will fix the issue.

In WHM, list accounts option shows that all the domains are showing disk used as " 0 " MB. In cpanel the disk usage is showing wrongly. I have tried /scripts/fixquotas and /scripts/fixeverything, but no use. Any ideas?

Check the option WHM>>Server Configuration >> Tweak Settings >> System --- Disable Disk Quota display caching(whm will cache disk usage which may result in the display of disk quotas being up to 15 minutes behind the actual disk usage. Disabling this may result in a large performace degradation.)

I keep getting an email from myself that says:
The account with the username 'xxx', is running out of disk space. Please remove some files from this account, or ask the administrator to increase your disk quota. You have currently used 87.69% of your disk space.I have gone into each user and deleted all emails and yet it still shows disk space being used. Any ideas would be appreciated very much.

Check /etc/passwd file to verify whether the issue is with conflicting uid of another user. If there is any repeating entry in the /etc/passwd file correct it.
Another reason is conflicting with another existing user
Run this command
find /home -user username
If you get more than one main folder in the home directory. check the disk quota and permission of the individual folder and correct the ownership of the particular folder. Then check the disk quota of individual folders using this command
du -csh
May be it will help to solve your problem. If the issue still persists, then try /scripts/fixquotas
Please send comments on these web pages to sumith at sumith.net

copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Sumith Sreedhar
Verbatim copying and redistribution of this entire page are permitted provided this notice is preserved.


Valid HTML 4.01!