Virtuozzo glibc-dummy-centos-4 Error

If you come across this error when trying to do a “yum update” on your Virtuozzo Virtual Dedicated Server

–> Processing Dependency: glibc-common = 2.3.4-2.25 for package: glibc-dummy-centos-4
–> Finished Dependency Resolution
Error: Missing Dependency: glibc-common = 2.3.4-2.25 is needed by package glibc-dummy-centos-4

You can make use of the following steps to fix the problem. First you need to remove the package that is causing the problem.

yum remove glibc-dummy-centos-4

After you have removed that package you need to reinstall gcc with all the extras. You can do that simply by running the following command.

yum install gcc & yum install gcc*

If everything installed correctly you should now be able to run a yum update and it should not error out at all.

Enable SLM on Virtuozzo 3.0

After doing some research on SLM it looks like it is the way to go if you are running Virtuozzo 3.0. What is SLM, “Virtuozzo Service Level Management (SLM) is a system that maintains and allows administrators to configure and control the levels of service (i.e., the set of ‘promises’) provided to VPS owners.
I came across some different ways of enabling SLM on the VP Node, by far the best was the information about how to enable it with out a Node reboot. If you are running a current version of Virtuozzo you can do this with pretty much a simple modprobe. Just connect to the VP Node of your chose and run the following commands. These are the steps I tood to enabled SLM on my 512mb Virtual Dedicated server.

modprobe slm_core

Edit the following files and make said changes

/etc/sysconfig/vz and change the SLM entry to slm=yes
/etc/sysconfig/vzagent/vzagent.conf Locate the SLM entry, change it to 1.

Now you need to enable SLM on your Virtual Dedicated server. Since mine was a 512mb server I enabled it as shown to give it dedicated 512mb, with a burstable 1024mb.

vzctl set 408 –slmmode all –slmmemorylimit 512M:1024M –save

To check your settings you can login to your vps and use the free command.

free -m

If everthing went as planned you should now have an SLM enabled Virtual Dedicated server.