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.

FreeBSd 4.8 Quota Problem

Discussion in 'General Discussion' started by Greedo3443, Jun 13, 2003.

  1. Greedo3443

    Greedo3443 Member
    PartnerNOC

    Joined:
    Nov 18, 2002
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I am running freebsd 4.8. Right now any accounts i add have unlimited disk space. I need to prevent this.

    I ran /scripts/fixquotas and it gives me this error.

    root@dasher:/usr/local/bin$ /scripts/fixquotas
    Quotas are now on
    *** Checking user and group quotas for /dev/ad2s1h (/home)
    unknown gid: 12
    unknown gid: 500
    unknown uid: 501
    unknown gid: 504
    unknown uid: 504
    unknown uid: 500
    unknown gid: 1078
    unknown uid: 1078
    unknown gid: 300
    unknown uid: 200
    unknown uid: 10000
    /home: greedo fixed: inodes 646 -> 640 blocks 35636 -> 35608
    /home: wheel fixed: inodes 4873 -> 4867 blocks 568880 -> 568852
    Note: call resetquota with --useplanquotas to reset all quotas to plan defaults
    Can't find distro version at /scripts/fileversion.pl line 15.
    Resetting quota for booboo to 5 Meg....Done
    Can't find distro version at /scripts/fileversion.pl line 15.
    Resetting quota for frozen to 10 Meg....Done


    I check the cpanel and it still says unlimited users. I also tried uploading files and it exceeds 5 megs which can be concluded that quota isnt working

    I then tried running
    /scripts/initquota
    root@dasher:/usr/local/bin$ /scripts/initquotas
    Quotas are now on
    *** Checking user and group quotas for /dev/ad2s1h (/home)
    unknown gid: 12
    unknown gid: 500
    unknown uid: 501
    unknown gid: 504
    unknown uid: 504
    unknown uid: 500
    unknown gid: 1078
    unknown uid: 1078
    unknown gid: 300
    unknown uid: 200
    unknown uid: 10000


    Still no luck in fixing any of these problems. If there are any one running freebsd and would like to assist me in how to solve this problem it will be greatly appreciated.

    cPanel.net Support Ticket Number:
     
  2. hicom

    hicom Well-Known Member

    Joined:
    May 23, 2003
    Messages:
    272
    Likes Received:
    0
    Trophy Points:
    16
  3. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Try

    /scripts/updatenow

    cPanel.net Support Ticket Number:
     
  4. Amaru[Infinite]

    Joined:
    Jun 9, 2003
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canberra, Australia.
    I had the same problem, I had to modify the following things;

    In /etc/fstab I had to change the following line;

    /dev/ad2s1g /usr ufs rw, 2 2

    to the following;

    /dev/ad2s1g /usr ufs rw,userquota,groupquota 2 2


    Works like a charm now...
    (Thats after you recompile the kernel with quota support).

    cPanel.net Support Ticket Number:
     
    #4 Amaru[Infinite], Jun 23, 2003
    Last edited: Jun 23, 2003
  5. keycomm

    keycomm Member

    Joined:
    Apr 2, 2003
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Thank for the link. I need to do this for my server. I have never compiled a kernel before so I'll need to make appropriate backup procedures. What files should I backup? Any addional help you can offer would be great. I'll search the FreeBSD site for support, but it can be above my beginner level of knowledge.

    Don't you think that cPanel should tell you that the default FreeBSD install will not install quota support? There's so many little quirks like this.

    Thanks again.

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page