Applicable to:
- SolusVM
Symptoms
- Fail to start OpenVZ VPS - VPS stay offline.
-
When trying to start VPS manually the following error is displayed:
# vzctl start 101
<...>
Running quotacheck ...
Error exec quotacheck: No such file or directory
Unmount image: /vz/private/101/root.hdd
Container is unmounted
Failed to start the Container
Cause
quota package is not installed inside VPS.
Resolution
- Connect to the slave OpenVZ node via SSH
- Backup the VPS config file:
# cp /etc/vz/conf/CTID.conf{,.orig}
where CTID is Container ID of a VPS
- Disable quota for the affected VPS and restart it:
# vzctl set CTID --quotaugidlimit 0 --save
# vzctl restart CTID - Install the package quota inside VPS. The command depends on OS:
For Debian-based VPSes:
# vzctl exec CTID apt-get install quota
For RHEL-based VPSes:
# vzctl exec CTID yum install quota
- Set the quota back for the VPS and start VPS:
# vzctl set CTID --quotaugidlimit {quota} --save
# vzctl restart CTID
Comments
0 commentsPlease sign in to leave a comment.