Can't install kvm gpl

Hello,

I wanted to try cloudmin gpl kvm on my centos 7.2.1511, I downloaded the script, and then I got this:

Redirecting to /bin/systemctl start cgconfig.service
Failed to start cgconfig.service: Unit cgconfig.service failed to load: No such file or directory.
error reading information on service cgconfig: No such file or directory
.. done

Activating KVM kernel module ..
libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
.. kernel module did not load successfully

Status: 
Closed (works as designed)

Comments

Ok, 1 update, I had to yum install libcgroup-tools to not have the cgconfig.service error anymore.

Now I still have this error:

Activating KVM kernel module ..
libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
.. kernel module did not load successfully

Will update if I find the solution.

I'm surprised that /proc/modules doesn't exist on your system. Are you running the install script as root ?

I did install this as root yes. However after dealing with the hosting it seems I cannot install cloudmin because of I cannot enable KVM They have said: "You cannot install the KVM virtualization over this cloud VPS server. This sever is based on OpenVZ virtualization and uses host node Kernel to run the cloud server"

Personally I thought they just didn't enable virtualization on the physical host. I was hoping to get cloudmin working to spawn two instances since I had 4 cores ;)

If anyone has more comments on OpenVZ and why cloudmin does not work I'd love to hear it. I see this as KVM can't be install because OpenVZ is installed and in use

Guy

Joe's picture
Submitted by Joe on Tue, 06/05/2018 - 13:33 Pro Licensee

OpenVZ is a container-based virtualization system. KVM has to run directly on the hardware. OpenVZ is already a virtual machine; you simply don't have the access you need to run KVM. You have a container, sort of a chroot jail, not a dedicated server.

There's not really much to say about it; it can't work. You'll need a dedicated "bare metal" server to run any Cloudmin version.

If you want to host websites on your OpenVZ instance, Virtualmin will do the job. If you want a virtualization management tool (which is what Cloudmin is), you'll need a dedicated server (not virtual) to run it on.