LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-17-2015, 06:04 AM   #1
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Rep: Reputation: Disabled
Smile 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
 
Old 02-18-2015, 09:23 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by boby.kumar View Post
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???
 
1 members found this post helpful.
Old 02-18-2015, 10:45 PM   #3
boby.kumar
Member
 
Registered: Mar 2013
Posts: 94

Original Poster
Rep: Reputation: Disabled
thanks TBOne.
Is the driver should be installed manually or it would be automatically ?
 
Old 02-19-2015, 12:51 AM   #4
person_of_interest
LQ Newbie
 
Registered: Feb 2015
Posts: 19

Rep: Reputation: Disabled
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.
 
Old 02-20-2015, 02:09 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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/

Last edited by John VV; 02-20-2015 at 02:11 AM.
 
Old 02-20-2015, 08:28 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by boby.kumar View Post
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KVM (Centos6.4) - Can't see VMX flag on /proc/cpuinfo -Soufiane- Linux - Virtualization and Cloud 2 07-15-2013 07:16 AM
Adding additional drives to existing KVM Guest w/ CentOS6 rmccall2012 Linux - Virtualization and Cloud 0 03-18-2012 12:39 PM
unable to install rhel6/centos6 in GUI mode in KVM Gil@LQ Linux - Virtualization and Cloud 5 12-01-2011 05:22 AM
kvm virtulization in red hat 6 magicalshashank31 Linux - Enterprise 6 07-25-2011 07:15 AM
about virtulization yadava Linux - Newbie 1 12-14-2008 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration