LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   KVM Virtulization in Centos6.4 (https://www.linuxquestions.org/questions/linux-server-73/kvm-virtulization-in-centos6-4-a-4175534261/)

boby.kumar 02-17-2015 06:04 AM

KVM Virtulization in Centos6.4
 
Hi,
I am planning to install kvm virtualization one of its server, most of the packages installed and libvirtd deamon is started at Centos6.4x32 . Server support the VT-X Environment.
while accesssing to this by one of command(listed below) gettting the following error
Quote:

[root@localhost ~]# virsh -c qemu:///system list
error: no connection driver available for No connection for URI qemu:///system
error: failed to connect to the hypervisor
I have complied the kernel with VT driver and all the pre-requisite for KVM .
Can anyone explain what is missing here?
how to remove this error? and Is driver needs to be installed manually

TB0ne 02-18-2015 09:23 AM

Quote:

Originally Posted by boby.kumar (Post 5318628)
Hi,
I am planning to install kvm virtualization one of its server, most of the packages installed and libvirtd deamon is started at Centos6.4x32 . Server support the VT-X Environment. while accesssing to this by one of command(listed below) gettting the following error

I have complied the kernel with VT driver and all the pre-requisite for KVM . Can anyone explain what is missing here? how to remove this error? and Is driver needs to be installed manually

A couple of things...first, you say "most of the packages installed". Before trying this, why don't you FINISH installing the packages first??? Second, putting the error message into Google pulls up LOTS, like these first two hits from the libVirt site itself:
http://wiki.libvirt.org/page/Failed_...the_hypervisor
http://libvirt.org/drvqemu.html

...which tell you how to install, configure, and troubleshoot that exact error. What have you done/tried so far???

boby.kumar 02-18-2015 10:45 PM

thanks TBOne.
Is the driver should be installed manually or it would be automatically ?

person_of_interest 02-19-2015 12:51 AM

I had this happen a while back. I did a complete re-install of Centos 6.4, then completed a "yum update -y". After that, I installed "yum groupinstall "virtualziation" "Virtualization client" "Virtualization platform" libvirt

Not all the packages were there, but I seemed to have a working hypervisor after that.

John VV 02-20-2015 02:09 AM

cent 6.4 will not have new packages
it has been End of life for about a year now


are the repos set to USE 6.4 ? or only 6

the AUTO distro upgrade of using just 6 in the address might not be that great of an idea on a server
-- no before hand testing

for example my Scientific linux 6.6 "sl.repo"
http://ftp.scientificlinux.org/linux/scientific/$releasever/$basearch/os/
or
http://ftp.scientificlinux.org/linux/scientific/6/$basearch/os/

TB0ne 02-20-2015 08:28 AM

Quote:

Originally Posted by boby.kumar (Post 5319805)
thanks TBOne.
Is the driver should be installed manually or it would be automatically ?

...and if you read the links that were looked up for you, you'd see the answer.

And person_of_interest gave you the correct command to run to make sure things are installed. Did you run it? And AGAIN, until you actually COMPLETE the installation of the various pieces, you shouldn't expect them to work.


All times are GMT -5. The time now is 02:23 PM.