[libvirt-users] hypervisor driver not found

Hi, I installed Virtual box software in linux open suse. Unable to connect to the vbox hypervisor driver. Version-Release number of selected component (if applicable): libvirt-0.9.0 How reproducible: when i am giving the following command for virsh: virsh -connect vbox:///session then the following error is coming. error: no hypervisor driver available for vbox:///session error: failed to connect to the hypervisor Even I installed virtualbox the above error is coming. I am not able to find vbox hypervisor driver. Can anyone suggest where can i find vbox dirver. Awaiting Response Thanks and Regards, Srinivas. =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

On 10/23/2012 12:36 AM, p.venkatasrinivas@tcs.com wrote:
when i am giving the following command for virsh:
virsh -connect vbox:///session then the following error is coming.
error: no hypervisor driver available for vbox:///session error: failed to connect to the hypervisor
What does 'virsh --version=long' say? Are you sure you properly installed the version of libvirt with vbox support built in? -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

Hi, Thanks for quick reply. Now i am able to connect to the vbox using virsh command. We have installed libvirt-0.9 But when I am importing the libvirt API in the python, the following error is coming. Traceback (most recent call last): File "/root/sample1/sample1/sample1/libvirt3.py", line 6, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in <module> raise lib_e ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib64/python2.6/libvirtmod.so) Can you Please help in this. Awaiting reply, Thanks, Srinivas. From: Eric Blake <eblake@redhat.com> To: p.venkatasrinivas@tcs.com Cc: libvirt-users@redhat.com Date: 10/23/2012 08:05 PM Subject: Re: [libvirt-users] hypervisor driver not found On 10/23/2012 12:36 AM, p.venkatasrinivas@tcs.com wrote:
when i am giving the following command for virsh:
virsh -connect vbox:///session then the following error is coming.
error: no hypervisor driver available for vbox:///session error: failed to connect to the hypervisor
What does 'virsh --version=long' say? Are you sure you properly installed the version of libvirt with vbox support built in? -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org [attachment "signature.asc" deleted by P Venkatasrinivas/HYD/TCS] =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

On 10/25/2012 09:03 AM, p.venkatasrinivas@tcs.com wrote:
Hi,
Hello, [please don't top-post on technical lists]
Thanks for quick reply. Now i am able to connect to the vbox using virsh command. We have installed libvirt-0.9
But when I am importing the libvirt API in the python, the following error is coming.
Traceback (most recent call last): File "/root/sample1/sample1/sample1/libvirt3.py", line 6, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in <module> raise lib_e ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib64/python2.6/libvirtmod.so)
Can you Please help in this.
Ouch - that says you are running the wrong binary - one that was compiled on a different platform (with newer glibc) than the one where you are running. Are you sure you built and installed libvirt correctly? And if you are building it yourself, why not use the latest release of 0.10.2? If you are not building it yourself, then why aren't you using your distro's pre-built version (unless your distro didn't compile vbox support in, which then explains why you have to build it yourself). What distro are you using? What options are you passing to ./configure? -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

Hi, Thanks for quick reply. We can use any version. In that we are not having problem. We are using the following distribution. SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 we are configuring with --vbox option. Plz suggest if any other options also we need to give? Thanks and Regards, Pasumarthi Venkata Srinivas Tata Consultancy Services Synergy Park Unit 2 - Phase II, Premises No.2056/1/36, Survey No.26, Gachibowli, Serilingampally Mandal, R R District Hyderabad - 500019,Andhra Pradesh India Cell:- 919885307155 Mailto: p.venkatasrinivas@tcs.com Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Outsourcing ____________________________________________ From: Eric Blake <eblake@redhat.com> To: p.venkatasrinivas@tcs.com Cc: libvirt-users@redhat.com Date: 10/25/2012 10:23 PM Subject: Re: [libvirt-users] hypervisor driver not found On 10/25/2012 09:03 AM, p.venkatasrinivas@tcs.com wrote:
Hi,
Hello, [please don't top-post on technical lists]
Thanks for quick reply. Now i am able to connect to the vbox using virsh command. We have installed libvirt-0.9
But when I am importing the libvirt API in the python, the following
error
is coming.
Traceback (most recent call last): File "/root/sample1/sample1/sample1/libvirt3.py", line 6, in <module> import libvirt File "/usr/lib64/python2.6/site-packages/libvirt.py", line 25, in <module> raise lib_e ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib64/python2.6/libvirtmod.so)
Can you Please help in this.
Ouch - that says you are running the wrong binary - one that was compiled on a different platform (with newer glibc) than the one where you are running. Are you sure you built and installed libvirt correctly? And if you are building it yourself, why not use the latest release of 0.10.2? If you are not building it yourself, then why aren't you using your distro's pre-built version (unless your distro didn't compile vbox support in, which then explains why you have to build it yourself). What distro are you using? What options are you passing to ./configure? -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org [attachment "signature.asc" deleted by P Venkatasrinivas/HYD/TCS] =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

On 10/26/2012 07:54 AM, p.venkatasrinivas@tcs.com wrote:
Hi,
Thanks for quick reply. We can use any version. In that we are not having problem. We are using the following distribution.
SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11
we are configuring with --vbox option.
Are you sure that wasn't --with-vbox?
Plz suggest if any other options also we need to give?
Are you trying to have your self-compiled version replace what is currently installed by your SUSE distro? If so, you'll want to pass things like --prefix=/usr and so forth; for the exact list of options your distro used, you'll need to inspect the rpm file they used (I don't use SUSE myself, so I can't really help you out here). Or, if you are okay with the default of installing into /usr/local/, make sure you are targeting your just-built binary and not the one installed by the distro.
[please don't top-post on technical lists]
This advice still stands. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
p.venkatasrinivas@tcs.com