LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-05-2002, 02:34 PM   #1
nam
LQ Newbie
 
Registered: Nov 2002
Posts: 2

Rep: Reputation: 0
Question 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
 
Old 11-05-2002, 04:13 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Run quotacheck, "man quotacheck" for more.
 
Old 11-05-2002, 04:28 PM   #3
nam
LQ Newbie
 
Registered: Nov 2002
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User and Group Admin: How to tell Who is in What group? Akhran Linux - Newbie 1 11-12-2005 11:16 PM
preserve user/group when copying files km4hr Linux - Software 1 01-11-2005 05:21 PM
List files owned by user/group guideweb Linux - General 1 09-18-2004 08:18 PM
creating file /aquota.user and /aquota.group?? deepika Linux - Newbie 1 10-09-2003 03:15 AM
creating file /aquota.user and /aquota.group?? deepika Linux - Newbie 1 07-29-2003 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration