hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : cPanel Initial Quota Scan
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

cPanel Initial Quota Scan

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-30-2008, 03:45 PM
YourReference YourReference is offline
WHT Addict
 
Join Date: Aug 2008
Location: Ottawa, Canada
Posts: 149

cPanel Initial Quota Scan


Hi Team,

I got a unmanaged dedicated server a few days ago, and I am working on setting up cPanel.

During the first steps, I receive the following error:

=====

Installing Default Quota Databases...../aquota.user..../quota.user..../boot/aquota.user..../boot/quota.user..../tmp/aquota.user..../tmp/quota.user.....Done
Quotas are now on
Updating Quota Files......
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.


quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.

....Done

=====

After some googling I found a possible solution but it almost looks like my hard disk is not mounted. Can you help?

Google Anser: http://forums.linuxwebadmin.info/index.php?topic=163.0

fstab

LABEL=/1 / ext3 defaults,usrquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
/usr/tmpDSK /tmp ext3 defaults,noauto 0 0


df

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 370341868 3645524 347580604 2% /
/dev/sda1 101086 11134 84733 12% /boot
tmpfs 1033096 0 1033096 0% /dev/shm
/usr/tmpDSK 495844 15004 455240 4% /tmp

Reply With Quote


Sponsored Links
  #2  
Old 08-31-2008, 10:51 AM
subin_hutton subin_hutton is offline
Newbie
 
Join Date: Aug 2008
Location: Singapore
Posts: 16
I think quota is not enabled in the server.Please check if its enabled or not.Please go through the below detailed instruction

Step 1: Gain root access to your server using SSH.

Step 2: Check whether the quota package is install or otherwise please install it before continue.
rpm -qa|grep quota

Step 3: Modify /etc/fstab file
Partitions that you have not yet enabled quota normally look something like:
/dev/hda5 /home ext3 default 1 2
To enable user quota support for that partition, simply add in usrquota next to default such as below:
/dev/hda5 /home ext3 default,usrquota 1 2
To enable group quota, just add grpquota.
To enable both user and group quotas, add in both usrquota,grpquota.

Step 4: Reboot or Not to Reboot.
Normally I won't reboot, you can try this command on the partition that you have modified or added in quota support:
mount -o remount /home

Step 5: Quota Check
/sbin/quotacheck -cguvamf -F vfsv0

Step 6: Rerun Quota Check for old version
/sbin/quotacheck -cguvamf -F vfsold

Step 7: Turn on Quotas
/sbin/quotaon -a

To see the report of quotas, issue this command:
repquota -a

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel Releases cPanel, WHM 11.34 with New User Interface Web Hosting News 2012-10-16 13:09:49
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2012-08-31 14:10:47
cPanel Kicks Off Automation Bootcamp Conference on Monday Web Hosting News 2011-10-07 14:49:20
cPanel to Launch Certification Program at cPanel Conference 2011 Web Hosting News 2011-09-21 18:15:42
Security Provider HostingArmor Releases Server Scanning cPanel Plugin Web Hosting News 2011-07-25 19:33:26


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?