These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Illegal division by zero at on the new forum.
Hi all,
Virtualmin -> System Information -> Quota division shows this error:
All top-level virtual servers shown
mydomain.tv 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
Howdy,
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:
http://www.linode.com/forums/viewtopic.php?t=6753
No, I am using a dedicated server at softlayer and did install squeeze by dist-upgrade lenny
What output do you receive if you run the command "mount" on your server?
-Eric
/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)
Strangely, I decided to disable quota altogether so I tried both:
Webmin -> System -> Disk Quotas -> Disable Quotas
and
Virtualmin -> System Settings -> Set quotas for domain and mail users? no
but still /etc/fstab contains the entries of quota!
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.