PDA

View Full Version : URGENT NEED HELP BY MISTAKE DELETED aquota.user


madmax2
2004-10-15, 18:35 PM
I have deleted by a human mistake the file aquota.user from my / directory, i got a Redhat 9 server with plesk 6 on it. I was trying to delete all the folders on inside an httpdocs folder using the ssh as root and by mistake put this:

root@server httpdocs]# rm -r /*.*
rm: remove regular file `/aquota.user'? y
rm: remove regular file `/razor-agent.log'? [root@server httpdocs]# [root@server httpdocs]# ls -a
. .autofsck etc lost+found proc sbin var
.. bin home misc razor-agent.log tftpboot
boot initrd mnt .rnd tmp
aquota.user dev lib opt root usr

I need to know what do i need to made to recover that file. or if this file its going to be repaired on the next reboot. And if this was the only file that was deleted. I havent restarted the server because its working fine. And i dont want to restart and have problems.

Please help me.

canislupusyo
2004-10-15, 23:28 PM
Thats not good i'm trying to think of an easy way of fixing that but all i can think of right now is maybe try an update should try to reinstall the quotas but im not sure if it will fail because of the missing file so you might want to touch the file also is this the main quota file or just under a domain name ??
if its under a domain name you can login to plesk and change the quota +/- 1 and then set it back ( might also want to re touch the file)

madmax2
2004-10-19, 14:49 PM
With help from QT :thanks:

All i did was use the command

quotacheck -acmugf

This command regenerated the file aquota.user