/
/
Error setting disk quotas in ispmanager 6

Error setting disk quotas in ispmanager 6

Symptoms

An attempt to install the "Disk quotas" component in the Software configuration section fails with an error:

An error occurred while configuring software: failed to install the package 'ispmanager-pkg-quota'. View var/pkg.log for more details

Causes

  • LXC or OpenVZ virtualization type is used;
  • linux-image-extra-virtual package is not installed.

Instructions

Virtualization type check

When using a virtual server, if the LXC or OpenVZ virtualization types are used on a host, the disk quotas can only be set on that host.

To check the virtualization type on the server, execute the following command:

hostnamectl | grep Virtualization

In case the virtualization type shown in the output matches “lxc” or “openvz”, contact your hosting provider or hypervisor administrator to set disk quotas.

PLEASE NOTE!

We recommend enabling disk quotas on the host before installing the ispmanager 6 panel.

Linux-image-extra-virtual package installation

It is common for Debian-based operating systems to lack a package required for quotas to work.

To check if the linux-image-extra-virtual package is installed, use the following command:

dpkg -l | grep linux-image-extra-virtual

If the package is not installed, the command output will be empty. To install the package manually, use the following command:

sudo apt install linux-image-extra-virtual

PLEASE NOTE!

If you are not sure that you can install the package or if you encounter problems during installation, please contact your hosting provider's support service or an administrating specialist.

Once the linux-image-extra-virtual package is installed, try again to set the disk quotas setting in the panel.