LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Missing aquota. group and aquota.user files (https://www.linuxquestions.org/questions/linux-general-1/missing-aquota-group-and-aquota-user-files-34661/)

nam 11-05-2002 02:34 PM

Missing aquota. group and aquota.user files
 
Hello,
I have a problem that I need some help with. I have an ensim box (a web host software) running on Red-Hat (kernel 2.4.9-NN). This machine locked-up this morning and I was forced to reset it. On reboot, when fsck ran it errored out saying that I needed to run it manually. I did this (with a fsck -A), rebooted, and the box came back up.

The problem is, now I am missing the aquota. group and aquota.user files from the root directory. I get a message about it on boot up, and when I edit user accounts with the ensim control panel, everyone now has "unlimited" quotas.

How do I rebuild these files and fix this problem??

Any help is greatly appreciated.

Neil

unSpawn 11-05-2002 04:13 PM

Run quotacheck, "man quotacheck" for more.

nam 11-05-2002 04:28 PM

Quote:

Originally posted by unSpawn
Run quotacheck, "man quotacheck" for more.
Unfortunately, I've already tried that. Sorry I should have mentioned it. This is what I get:

#quotacheck -ugi /
Cannot remount filesystem mounted on / read-only. Counted valu
ght.
Should I continue [n]: y

# quotaon -a
quotaon: using //aquota.group on /dev/hda5 : no such file or di
quotaon: using //aquota.user on /dev/hda5 : no such file or di
#
#

It seems that quotacheck and quotaon are simply tring to read the values in the aquota.group and aquota.user files. They don't appear to replace them if they are missing.

Anyone know how to re-create the files?

Neil


All times are GMT -5. The time now is 08:02 PM.