installing quota
Hello, I have just installed quota and read howto.. But I have a problem with this tool..
Here is some errors while system boot: Code:
Checking filesystem quotas: /sbin/quotacheck -avugM [CODE} # quota tester Limity dyskowe dla user tester (uid 1011): System plików bloki miękki twardy pobł. pliki miękki twardy pobł. /dev/hda7 1928* 1024 1024 22 120 120 [/CODE] (It's in polish) but when I try to run 'quota' as user 'tester' there is permission denied to /home/aquota.user (root 600) and checking quota fails. |
What filesystem are you using and are you sure you enabled it in your kernel?
And I assume your running or starting it logged in as root? |
# cat /usr/src/linux/.config | grep EXT3
CONFIG_EXT3_FS=y # mount | grep /home /dev/hda7 on /home type ext3 (rw,usrquota) |
And your output of this: cat /usr/src/linux/.config | grep QUOTA
|
# cat /usr/src/linux/.config | grep QUOTA
CONFIG_QUOTA=y |
did you run the quotacheck -c option to make the quota files?
quotacheck -acug /dir just a shot in the dark, but from what you posted it didn't look like you ran that yet. |
I have just ran 'quotacheck -acug' manually and it did check my /home without errors, but after reboot there is the same output with errors while booting
Code:
quotaon: using /home/aquota.user on /dev/hda7 [/home]: No such process |
Quote:
In your home directory since that is where you want quota's, you should have both quota.user and quota.group |
Can you post your quota.user file? Looking over and over, everything seems to be ok but yet the error your getting clearly states your format of the file is not supported.
Heres an example of one of mine I use on one of my Slackware servers: Code:
Disk quotas for user tarts (uid 502): |
I user quota-3.09 installed from tgz pack. I use only usrquota on /home and I edit it in standard way:
#edquota -u tester and I haven't created /home/aquota.user because edquota created this file (I think) taken from man edquota: Code:
FILES |
Quote:
Can you post the output of the file, I have a feeling its the format that its not reading correctly as that is why your getting that error. |
this is some settings in '#edquota -u tester'
Code:
Limity dla user tester (uid 1011): |
I think this might be a problem with your version. If its compiled in try this:
modprobe quota_v2 And then see if you can't manually start quota with the quotaon command. Saw this on a google mailing list but was geared towards Suse, not sure if its going to work with Slackware. |
And what version of the quota utilities do you have installed and or did you complie quota as a module or builtin?
|
bingo! :))
thx man:) that's why you are Moderator not me; ) I did search in google but I should trust more google:> I always say 'if you are looking for somn, ask google":) now you remember me this: ) thx again |
All times are GMT -5. The time now is 07:51 AM. |