suyi wang
2012-Feb-28 17:23 UTC
[libvirt-users] Unable to connect qemu:///system on Fedora16 X86_64
Dear all: I ust installed Fedora16Fedora16 X86_64 on my new machine, and then I ran the commands as follows(ran as root): yum install qemu-kvm yum install qemu yum install libvirt yum install virt-manager then I started the libvirtd as follow: /etc/init.d/lbvirtd start So , it ran well. However, after a few days , when I ran the command "virt-manager" , it showed as bellow: it seemed that ti cannot connect the hipervisor. Then I did a little test: I ran the conmand "virsh list" , but it didnot work,either. Then I used Python as follows: import libvirt cc = libvirt.open(r'qemu:///system') but it didnot work,either. All the test above are under root . I hope that someone can give me some suggestiion. Thanks to all! Suyi Wang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120229/0c276db3/attachment.htm>
Eric Blake
2012-Feb-28 18:28 UTC
[libvirt-users] Unable to connect qemu:///system on Fedora16 X86_64
On 02/28/2012 10:23 AM, suyi wang wrote:> Dear all: > I ust installed Fedora16Fedora16 X86_64 on my new machine, and then I > ran the commands as follows(ran as root): > > yum install qemu-kvm > yum install qemu > yum install libvirt > yum install virt-manager > > then I started the libvirtd as follow: > /etc/init.d/lbvirtd start > > So , it ran well. > > > However, after a few days , when I ran the command "virt-manager" , it > showed as bellow: > > > > it seemed that ti cannot connect the hipervisor.This list is plain-text only. Your embedded graphic (at least, I'm assuming you attempted to embed a graphic) got eaten by the list server, so we don't know what message you got. Can you paste the actual error message you got? Meanwhile, we have a wiki page for diagnosing common problems. Perhaps your issue is covered by one of the items there; and if not, it would help if you could add a new page with the steps you take in resolving the issue. http://wiki.libvirt.org/page/Troubleshooting> > > Then I did a little test: > I ran the conmand "virsh list" , but it didnot work,either.Again, knowing the exact output of 'virsh -c qemu:///system list', rather than just saying it didn't work, will help others in diagnosing your issue. -- Eric Blake eblake at redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: OpenPGP digital signature URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120228/441e2437/attachment.sig>
suyi wang
2012-Feb-29 03:00 UTC
[libvirt-users] Fwd: Unable to connect qemu:///system on Fedora16 X86_64
---------- ????? ---------- ???? suyi wang <wangsuyi640 at gmail.com> ??? 2012?2?29? ??10:57 ??? Re: [libvirt-users] Unable to connect qemu:///system on Fedora16 X86_64 ???? Eric Blake <eblake at redhat.com> So, thanks a lot . Eric. I attached the figure?which showed when I ran the command "virt-manager". I also tested the commad as follows, sa you can see my output. [root at localhost ~]# virt-manager --debug 2012-02-29 10:56:13,555 (cli:71): virt-manager startup 2012-02-29 10:56:13,555 (virt-manager:292): Launched as: /usr/share/virt-manager/virt-manager.py --debug 2012-02-29 10:56:13,555 (virt-manager:293): GTK version: (2, 24, 7) 2012-02-29 10:56:13,555 (virt-manager:294): virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'> 2012-02-29 10:56:13,671 (engine:555): No inspection thread because libguestfs is too old, not available, or libvirt is not thread safe. 2012-02-29 10:56:13,674 (engine:346): About to connect to uris ['qemu:///system'] 2012-02-29 10:56:13,720 (engine:471): window counter incremented to 1 2012-02-29 10:56:13,726 (connection:954): Scheduling background open thread for qemu:///system 2012-02-29 10:56:13,727 (connection:1140): Background 'open connection' thread is running Thanks! Suyi Wang 2012/2/29 Eric Blake <eblake at redhat.com>> On 02/28/2012 10:23 AM, suyi wang wrote: > > Dear all: > > I ust installed Fedora16Fedora16 X86_64 on my new machine, and then I > > ran the commands as follows(ran as root): > > > > yum install qemu-kvm > > yum install qemu > > yum install libvirt > > yum install virt-manager > > > > then I started the libvirtd as follow: > > /etc/init.d/lbvirtd start > > > > So , it ran well. > > > > > > However, after a few days , when I ran the command "virt-manager" , it > > showed as bellow: > > > > > > > > it seemed that ti cannot connect the hipervisor. > > This list is plain-text only. Your embedded graphic (at least, I'm > assuming you attempted to embed a graphic) got eaten by the list server, > so we don't know what message you got. Can you paste the actual error > message you got? > > Meanwhile, we have a wiki page for diagnosing common problems. Perhaps > your issue is covered by one of the items there; and if not, it would > help if you could add a new page with the steps you take in resolving > the issue. http://wiki.libvirt.org/page/Troubleshooting > > > > > > > Then I did a little test: > > I ran the conmand "virsh list" , but it didnot work,either. > > Again, knowing the exact output of 'virsh -c qemu:///system list', > rather than just saying it didn't work, will help others in diagnosing > your issue. > > -- > Eric Blake eblake at redhat.com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120229/2d52c826/attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: 223.jpg Type: image/jpeg Size: 19389 bytes Desc: not available URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120229/2d52c826/attachment.jpg>