[BlueOnyx:27168] Re: cannot change quota of an user

Meaulnes Legler bluelist at waveweb.ch
Sat Aug 10 23:02:52 -05 2024


thank you Michael

[root at bleue ~] 05:28:13 812# ll /etc/passwd*
-rw-r--r-- 1 root root 10,999 2024.03.11-06:18 /etc/passwd
-rw-r--r-- 1 root root 10,920 2023.12.29-10:08 /etc/passwd-
[root at bleue ~] 05:30:26 813# ll /etc/group*
-rw-r--r-- 1 root root 2,364 2024.06.16-02:55 /etc/group
-rw-r--r-- 1 root root 2,364 2024.06.16-02:55 /etc/group-
-rw-r--r-- 1 root root     0 2024.07.11-01:30 /etc/group.lock
[root at bleue ~] 05:30:51 814# mv /etc/group.lock /etc/group.lock2unlock
[root at bleue ~] 05:31:47 815# /usr/sausalito/sbin/disk_restorequotas.pl
[root at bleue ~] 05:33:23 816# /usr/sbin/swatch
jailkit.service is not a native service, redirecting to 
systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install is-enabled jailkit
malformed JSON string, neither tag, array, object, number, string or 
atom, at character offset 0 (before "(end of string)") at 
/usr/sausalito/swatch/bin/am_emailtraffic.pl line 86.
# Warning: iptables-legacy tables present, use iptables-legacy to see them
[root at bleue ~] 05:34:08 817# /usr/sausalito/sbin/get_quotas.pl
admin    15374080    0
aesthetica    432684    512000
...

and yes, now GUI do report Sites and AllUsers disk usage again, and I 
can anew change the quotas.

I'll have to do this on the other VPSs, too. I wonder what happened on 
July 11 when /etc/group.lock was created...

Thanks again and best regards

.. Meaulnes Legler
⌣ Zurich, Switzerland



On 11.08.24 01:24, Michael Stauber via Blueonyx wrote:
> Hi Meaulnes,
> 
>> disk_restorequotas.pl returns:
>>
>> 807# /usr/sausalito/sbin/disk_restorequotas.pl
>>      (in cleanup) Can't unlock file: File exists at 
>> /usr/sausalito/handlers/base/disk/Disk.pm line 42.
> 
> See if you have one or both of these files:
> 
> /etc/passwd.lock
> /etc/group.lock
> 
> If so, delete them. But do NOT delete /etc/passwd or /etc/group
> 
> Just /etc/passwd.lock and/or /etc/group.lock if they exist.
> 


More information about the Blueonyx mailing list