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.

Quota

Discussion in 'General Discussion' started by Ajeesh, Mar 20, 2002.

  1. Ajeesh

    Ajeesh Member

    Joined:
    Oct 20, 2001
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    I have a problem in fixing user quotas using the fixquota script. The script shows that the quotas has been set but found none while checking with quota command. Also the WHM shows that all user quotas are reset. I tried quotaon command when I found problems with fixquota script, but got &Invalid argument& error and found that the quota.user files empty. Is there any way to reverse the blackout. Please help ,this is an emergency.
     
  2. bdraco

    bdraco Guest

    [quote:99909ef05f][i:99909ef05f]Originally posted by Ajeesh[/i:99909ef05f]

    Hi,

    I have a problem in fixing user quotas using the fixquota script. The script shows that the quotas has been set but found none while checking with quota command. Also the WHM shows that all user quotas are reset. I tried quotaon command when I found problems with fixquota script, but got &Invalid argument& error and found that the quota.user files empty. Is there any way to reverse the blackout. Please help ,this is an emergency.[/quote:99909ef05f]

    Send your servers root pass and ip to nick@cpanel.net and I'll fix it for you.

    -Nick
     
  3. anand

    anand Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    1,435
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    quota probs

    I have the same problem on my server (RH7.1)

    users are using disk quotas more than wats allocated to them. how to get it fixed up ? i tried to run fixquotas also, but still the problem persists.

    regards,
     
  4. zex

    zex Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Same problem here with RH 7.2 and lattest cpanel build...
    All quotas are reset and they don't work at all.
    And same situation after running /scripts/fixquotas

    But as always there is some quick dirty fix.
    First setup quota for one user manualy.
    Something like edquota -u user
    And after that run
    awk -F: '{if ($3 & 100) {print &edquota -p 99 & $1}}' /etc/passwd | sh

    99 is uid of user that you used to setup manualy quota.
    After that all users will have same quota like user with uid 99.

    It's not much but it's just temporary solution..

    P.S. I'm still not suer what will happen after restart.
     
Loading...

Share This Page