Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Anyone seen this? edquota: error

Discussion in 'General Discussion' started by homeport, Jun 15, 2003.

  1. homeport

    homeport Member

    Joined:
    Jun 15, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Everything was working correctly, then I just added a new domain and noticed the quota was "unlimited".

    So I ran ./initquotas, ./fixquotas and ./resetquotas all received the following error for each user:



    quote:
    --------------------------------------------------------------------------------
    edquota: Can't duplicate descriptor of file to write to: Bad file descriptor
    --------------------------------------------------------------------------------



    Now all domains have "unlimited" listed as the quota.

    Has anyone seen this before? What should be done to fix this, I even tried deleting aquota.user and quota.user in / after I backed them up first, then running ./initquotas still the same problem. Any help would be greatly appreciated. Thank you.

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  2. homeport

    homeport Member

    Joined:
    Jun 15, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    No one has seen this before

    What? No one has seen this problem before.

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  3. homeport

    homeport Member

    Joined:
    Jun 15, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Thanks for the tip about --useplanquotes, but that doesn't work either. Still receive:

    edquota: Can't duplicate descriptor of file to write to: Bad file descriptor

    everytime I use any of the quota scripts in /scripts.

    cPanel.net Support Ticket Number:
     
  4. homeport

    homeport Member

    Joined:
    Jun 15, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Found cause and Fix

    The error I was having is due to edquota tries to read all mounted hard drives quotas. :rolleyes:

    Since I still had a slave mounted, this is what caused the error.

    Simple fix is to run /scripts/fixquotas on the mounted drive too, for example if your mount was under /oldroot, you would use /oldroot/scripts/fixquotas

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice