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

Meaulnes Legler bluelist at waveweb.ch
Sat Aug 10 17:13:31 -05 2024


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.

I also tried it on another VPS, same result. I'm not sure if I'm running 
the containers under OpenVZ 7, it's an Aventurin{e} 6109R.

Thanks for your help

Meaulnes Legler
Zurich, Switzerland

On 10.08.24 16:09, Michael Stauber via Blueonyx wrote:

> Hi Meaulnes,
>
>> If I want to change the quota of a user in the GUI at 
>> :81/user/userMod?group=site9&name=do > Maximum Allowed Disk Space, 
>> nothing happens, the new quota value isn't considered.
>>
>> Also, the Sites Disk Usage information at 
>> :81/disk/serverDiskUsage?serverDiskUsage=1#tabs-2 lists all sites 
>> with zero values and the AllUsers Disk Usage information at 
>> :81/disk/serverDiskUsage?serverDiskUsage=1#tabs-3 shows no entries.
>>
>> Isn't this an issue of the central database? I cannot remember its 
>> name, nor how to restart it... Restarting the server didn't help.
>
> Yes, it looks like the quota-information of the disk is damaged.
>
> If this is a Container under OpenVZ 7 restart the VPS first. Then 
> inside the VPS run these commands as root:
>
> /usr/sausalito/sbin/disk_restorequotas.pl
> /usr/sbin/swatch
>
> Afterwards both this command ...
>
> /usr/sausalito/sbin/get_quotas.pl
>
> ... as well as the GUI should report proper disk quota and disk usage 
> again.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20240811/83f4a2d2/attachment.html>


More information about the Blueonyx mailing list