[BlueOnyx:27300] Error while trying to create new user
Felipe Ramírez
framirez at xnet.mx
Sat Oct 26 14:48:45 -05 2024
Hello, we have a server with Blueonyx 5211R, and we were trying to create a new user for a Vsite but it was throwing some errors: “Unable to set the quota for USER” and “A user account could not be created because of a system error”.
We tried to check the disk usage because my first thought was that the Vsite was full, but it gave us an “Internal system error” page.
Enabling the debugging mode we can see that it has some issues with the Quotas:
DivisionByZeroError
Division by zero
/usr/sausalito/ui/chorizo/ci4/Modules/Base/Disk/Controllers/GroupDiskUsage.php at line 385
378 $quota_orig = $quota;
379
380 $used = sprintf("%.2f", $used / 1024); // convert into megs
381 $quota = sprintf("%.2f", $quota / 1024); // convert into megs
382
383 // quota <= 0 means unlimited
384 if ($quota > 0) {
385 $percent = round(100 * $used_orig / $quota_orig); <<<<<<<<<<<<<<<<
386 }
387 else {
388 $percent = 0;
389 }
390
391 if ($percent > 100) {
392 $percent = 100;
We already tried to yum update the server, but it keeps giving the same error.
Could you help us?
Thanks in advance!
Felipe Ramírez
Soporte Técnico
Epsilon Soft S de RLMI , Xnet-IT LLC
Inteligencia | Rectitud | Prudencia | Creatividad
Intelligence | Rectitude | Prudence | Creativity
审慎 | 正直 | 智力|创造力
Soporte hoteleria: (01) 800 099 1000
Tel +52 614 414 9270
Email: <mailto:framirez at xnet.com.mx> framirez at xnet.com.mx
Privada de Teofilo Borunda 102
Chihuahua, Chihuahua, MX 31203
Col San Felipe Viejo
www.xnet.com.mx
<https://www.facebook.com/> <https://twitter.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20241026/5d564f28/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2143 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20241026/5d564f28/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 699 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20241026/5d564f28/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1189 bytes
Desc: not available
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20241026/5d564f28/attachment-0001.png>
More information about the Blueonyx
mailing list