Admin Backup Fails

codes9

Verified User
Joined
Sep 5, 2019
Messages
74
I'm unable to make any Admin backups. They fail with an error message about quota

Code:
Unable to lock the 'admin' account actions:
Error with system Quotas
setquota: Cannot open quotafile //aquota.user: No such file or directory
setquota: Not all specified mountpoints are using quota.

Debug Guide
Error locking the User 'admin' actions lock file due to existing lock created on Dec  5 10:04:19 2022. Some other process may be doing work on this account.

 <10:07:22>

I've considered the helpfile https://docs.directadmin.com/operat....html#disk-usage-is-showing-000-or-is-too-low as suggested in the Forums.

I only have a / mountpoint in fstab no home partition

Contents of /etc/fstab
Code:
/dev/disk/by-uuid/fd515699-109d-421d-866a-0142999e20a4 / ext4 defaults,usrquota,grpquota,discard 0 0
/swapfile none swap sw 0 0

Code:
$ repquota "/"
repquota: Cannot open quotafile //aquota.user: No such file or directory
repquota: Not all specified mountpoints are using quota.

$ cat /proc/mounts | grep " / "
/dev/sda2 / ext4 rw,relatime,discard,quota,usrquota,grpquota 0 0

$ repquota -a
repquota: Cannot open quotafile //aquota.user: No such file or directory

$ mount -o remount /
 
Try this and see if repquota can be called afterwards. This is for Centos/Alma/Rocky systems and for EXT4 so NOT for XFS.
quotaoff -a; quotacheck -avugm; quotaon -a
 
Back
Top