<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:PMingLiU;
panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Microsoft JhengHei";
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@Microsoft JhengHei";}
@font-face
{font-family:"\@MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"\@PMingLiU";
panose-1:2 1 6 1 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ES-MX link="#0563C1" vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span lang=EN-US>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”.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>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.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Enabling the debugging mode we can see that it has some issues with the Quotas:<o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US style='font-size:24.0pt'>DivisionByZeroError<o:p></o:p></span></b></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US>Division by zero <o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-US>/usr/sausalito/ui/chorizo/ci4/Modules/Base/Disk/Controllers/GroupDiskUsage.php</span></b><span lang=EN-US> at line <b>385</b><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>378 $quota_orig = $quota;<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>379 <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>380 $used = sprintf("%.2f", $used / 1024); <i>// convert into megs<o:p></o:p></i></span></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>381 $quota = sprintf("%.2f", $quota / 1024); // convert into megs<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>382 <o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>383 // quota <= 0 means unlimited<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>384 if ($quota > 0) {<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>385 $percent = round(100 * $used_orig / $quota_orig); <<<<<<<<<<<<<<<<<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>386 }<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>387 else {<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>388 $percent = 0;<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>389 }<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>390 <o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>391 if ($percent > 100) {<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>392 $percent = 100;<o:p></o:p></span></i></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>We already tried to yum update the server, but it keeps giving the same error.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Could you help us?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks in advance!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=1819 style='width:1364.55pt;border-collapse:collapse'><tr style='height:51.65pt'><td width=178 valign=top style='width:133.8pt;border:none;border-right:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt;height:51.65pt'><p class=MsoNormal><span lang=ES style='font-size:9.0pt'><img width=133 height=43 style='width:1.3854in;height:.4479in' id="Imagen_x0020_1" src="cid:image001.jpg@01DB27AD.6E5E9780"><o:p></o:p></span></p></td><td width=1641 valign=top style='width:1230.75pt;padding:0cm 5.4pt 0cm 5.4pt;height:51.65pt'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#2F5496'>Felipe Ramírez<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Arial",sans-serif;color:#2F5496'>Soporte Técnico</span></b><b><span style='font-size:10.0pt;font-family:"Arial",sans-serif;color:#2F5496'> <br></span></b><span style='font-size:8.0pt;font-family:"Arial",sans-serif'>Epsilon Soft S de RLMI , Xnet-IT LLC<o:p></o:p></span></p><p class=MsoNormal><span lang=ES style='font-size:8.0pt;font-family:"Arial",sans-serif'>Inteligencia | Rectitud | Prudencia | Creatividad<br>Intelligence | Rectitude | Prudence | Creativity<o:p></o:p></span></p><p class=MsoNormal><span lang=ZH-TW style='font-size:8.0pt;font-family:"Microsoft JhengHei",sans-serif'>审慎</span><span lang=ES style='font-size:8.0pt;font-family:"Arial",sans-serif'> | </span><span lang=ZH-TW style='font-size:8.0pt;font-family:"MS Gothic"'>正直</span><span lang=ES style='font-size:8.0pt;font-family:"Arial",sans-serif'> | </span><span lang=ZH-TW style='font-size:8.0pt;font-family:"MS Gothic"'>智力</span><span lang=ES style='font-size:8.0pt;font-family:"MS Gothic"'>|</span><span lang=ZH-TW style='font-size:8.0pt;font-family:"Microsoft JhengHei",sans-serif'>创</span><span lang=ZH-TW style='font-size:8.0pt;font-family:"MS Gothic"'>造力</span><span lang=ES style='font-size:8.0pt;font-family:"Arial",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><span lang=ES style='font-size:4.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=ES style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#2F5496'>Soporte hoteleria</span></b><span lang=ES style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#2F5496'>: </span><span lang=ES style='font-size:8.0pt;font-family:"Arial",sans-serif'>(01) 800 099 1000<span style='color:#2F5496'><o:p></o:p></span></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#2F5496'>Tel</span></b><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#2F5496'> </span><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif'>+52 614 414 9270<br><b><span style='color:#2F5496'>Email</span></b><span style='color:#2F5496'>: </span></span><span style='font-size:8.0pt'><a href="mailto:framirez@xnet.com.mx"><span lang=EN-US style='color:#0563C1'>framirez</span><span lang=EN-US style='font-family:"Arial",sans-serif;color:#0563C1'>@xnet.com.mx</span></a></span><span lang=EN-US style='font-size:8.0pt;font-family:"Arial",sans-serif'><o:p></o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:4.0pt;font-family:"Arial",sans-serif;color:#5B9BD5'><o:p> </o:p></span></b></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#2F5496'>Privada de Teofilo Borunda 102<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#2F5496'>Chihuahua, Chihuahua, MX 31203<br>Col San Felipe Viejo<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:4.0pt;font-family:"Arial",sans-serif;color:#2F5496'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#2F5496'><a href="www.xnet.com.mx"><span style='color:#0563C1'>www.xnet.com.mx</span></a><o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:4.0pt'><o:p> </o:p></span></p><p class=MsoNormal><a href="https://www.facebook.com/"><span lang=ES style='font-size:12.0pt;color:windowtext;text-decoration:none'><img border=0 width=33 height=33 style='width:.3437in;height:.3437in' id="Imagen_x0020_49" src="cid:image002.png@01DB27AD.6E5E9780" alt="Título: Facebook - Descripción: Icono de Facebook"></span></a><a href="https://twitter.com/"><span lang=ES style='font-size:12.0pt;color:windowtext;text-decoration:none'><img border=0 width=33 height=33 style='width:.3437in;height:.3437in' id="Imagen_x0020_47" src="cid:image003.png@01DB27AD.6E5E9780" alt="Título: Twitter - Descripción: Icono de Twitter"></span></a><span lang=ES style='font-size:4.0pt'><o:p></o:p></span></p><p class=MsoNormal><span lang=ES style='font-size:8.0pt'><o:p> </o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>