Illegal division by zero at

7 posts / 0 new
Last post
#1 Thu, 03/17/2011 - 13:39

Illegal division by zero at

Hi all,

Virtualmin -> System Information -> Quota division shows this error:

All top-level virtual servers shown HTTP/1.0 500 Perl execution failed Server: MiniServ/1.534 Date: Thu, 17 Mar 2011 15:37:08 GMT Content-type: text/html Connection: close
Error - Perl execution failed

Illegal division by zero at /usr/share/webmin/virtual-server-theme/right.cgi line 1076.

# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0 (squeeze)
Release: 6.0
Codename: squeeze

What's wrong, please

Thu, 03/17/2011 - 14:15


Are you by chance using a Linode? The Linode Debian 6 image had an issue with quotas... if you think that might be the issue, there's a simple fix to that here:

Thu, 03/17/2011 - 15:02

No, I am using a dedicated server at softlayer and did install squeeze by dist-upgrade lenny

Thu, 03/17/2011 - 23:19

What output do you receive if you run the command "mount" on your server?


Fri, 03/18/2011 - 06:58 (Reply to #4)

/dev/sda6 on / type ext3 (rw,grpquota,errors=remount-ro,usrquota)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)

Fri, 03/18/2011 - 07:51

Strangely, I decided to disable quota altogether so I tried both:

Webmin -> System -> Disk Quotas -> Disable Quotas
Virtualmin -> System Settings -> Set quotas for domain and mail users? no

but still /etc/fstab contains the entries of quota!

Fri, 03/18/2011 - 08:42

The error now disappeared. May be it's a caching issue after disabling the quota or may be because I ran quotaoff manually from cli. Thanks for your care, anyway.