The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED fixquotas problem quota.user

Discussion in 'General Discussion' started by Mehrdad Tari, May 10, 2017.

Tags:
  1. Mehrdad Tari

    Mehrdad Tari Member

    Joined:
    Nov 11, 2015
    Messages:
    9
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    ایران
    cPanel Access Level:
    Root Administrator
    Hello Dears

    i have a problem via Quota and Disk space usage

    cpanel - whm shown unlimited Quota and 0MB disk usage for all client

    when i run fixquota scripts via command line, this error shown:

    Cannot open quotafile //quota.user: No such file or directory
    No filesystems with quota detected

    Code:
    [root@s3 home]# /scripts/fixquotas
    Installing Default Quota Databases......Done
    Another instance of initquotas appears to be running at PID '5983'.
    Reading package online200m
    Resetting quota for acgpanel to 200 M
    edquota: Cannot open quotafile //quota.user: No such file or directory
    No filesystems with quota detected.
    
    when runing initquotas:
    Code:
    [root@s3 home]# /scripts/initquotas
    Another instance of initquotas appears to be running at PID '5983'
    Code:
    [root@s3 home]# cat /etc/fstab
    
    #
    # /etc/fstab
    # Created by anaconda on Wed Jul 29 06:44:10 2009
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
    #
    UUID=ac87c935-9fda-45ff-90e4-030eb0706f58       /       ext4    usrjquota=quota.                                                                             user,jqfmt=vfsv0        1       1
    UUID=f0ad0529-474c-4b72-9888-ec684d4e9130 /boot                   ext4    defaul                                                                             ts        1 2
    UUID=626272ec-5163-449a-9e85-a3d6828e49da /tmp                    ext4    defaul                                                                             ts        1 2
    UUID=7d3485b7-3b67-48f6-836b-f5bae0bdb7b8 swap                    swap    defaul                                                                             ts        0 0
    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
    
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This suggests quotas are not enabled on your system. The following document is a good place to start when attempting to determine why quotas are not working:

    How to Fix Quotas - cPanel Knowledge Base - cPanel Documentation

    Let us know if this document helps.

    Thank you.
     
    Mehrdad Tari likes this.
  3. Mehrdad Tari

    Mehrdad Tari Member

    Joined:
    Nov 11, 2015
    Messages:
    9
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    ایران
    cPanel Access Level:
    Root Administrator
    the problem solved by putting usrquota in fstab option column, and remounting /boot. then running initquotas & fixquotas scripts.

    thanks cPanelMichael
     
    cPanelMichael likes this.
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    I'm happy to see the issue is now solved. Thank you for updating us with the outcome.
     
    Mehrdad Tari likes this.
Loading...

Share This Page