All containers cannot be started with the following error:
[root@vz ~]# vzctl start 101 Starting Container ... Container mounted Setup slm memory limit Setup slm subgroup (default) This Virtuozzo installation is not licensed. In order to unlock your installation, please run vzlicupdate utility and enter your license key Start of Container failed Container unmounted Container start failed
The license doesn't have any problems:
[root@vz ~]# vzlicupdate -a XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX Start activation for code XXXXX-XXXXX-XXXXX-XXXXX-XXXXXX... License VZSRV [XXXX.XXXX.XXXX.XXXX.XXXX.XXXX.XXXX.XXXX] was loaded successfully. Activation completed successfully [root@vz ~]# vzlicview |grep status status="ACTIVE"
Virtuozzo License Monitor service (
vzlicmon) is down.
[root@vz ~]# service vzlicmon start Starting vzlicmonitor:
The exact reasons for
vzlicmon service crashes are under investigation. It would be very helpful if core dump generation for the service is enabled, so that when the issue appears again, a dump is created and passed for analysis to Parallels Support. Here are the steps that should be taken to configure dump generation:
Make sure there's no abrtd daemon running:
# chkconfig abrtd off # service abrtd stop
Enable core dumps for vzlicmon daemon:
# echo "* soft core unlimited" >> /etc/security/limits.conf # echo "kernel.core_pattern = /vz/tmp/core-%e-%s-%u-%g-%p-%t" >> /etc/sysctl.conf # echo "fs.suid_dumpable = 2" >> /etc/sysctl.conf # echo "DAEMON_COREFILE_LIMIT=’unlimited’" >> /etc/sysconfig/vzlicmon # service vzlicmon reload # sysctl -p
Create a cron script that will monitor the vzlicmon service and restart it in case it's down :
# echo "* * * * * root if ps ax | grep vzlicmon | grep -v grep > /dev/null ; then : ; else service vzlicmon start ; fi" >> /etc/crontab
Steps 0 and 1 will guarantee that a core dump is created, when vzlicmonitor crashes. In future, if you find any core files in /vz/tmp directory, pass them to Parallels Support for further investigation.
Step 2 guarantees that vzlicmon service is restarted, if it's down. The cron task is scheduled to every minute.