suyi wang
2012-Mar-05 12:50 UTC
[libvirt-users] Unable to connect qemu:///system on CentOS 6.2 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 in the attachment. 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! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120305/a895f3c8/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/20120305/a895f3c8/attachment.jpg>
Michał Kulling | IQ.pl
2012-Mar-05 13:00 UTC
[libvirt-users] Unable to connect qemu:///system on CentOS 6.2 X86_64
On Mon, 5 Mar 2012 20:50:29 +0800, suyi wang <wangsuyi640 at gmail.com> 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 in the attachment. > > 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!Try: # service qemu-kvm restart # service libvirtd restart :-) -- Micha? Kulling http://iq.pl/
Michał Kulling | IQ.pl
2012-Mar-05 14:20 UTC
[libvirt-users] Unable to connect qemu:///system on CentOS 6.2 X86_64
Try one more time and paste /var/log/message (tail -100 /var/log/message) and /var/log/secure (tail -40 /var/log/secure) to pastebin.com and send link. On Mon, 5 Mar 2012 22:16:15 +0800, suyi wang <wangsuyi640 at gmail.com> wrote:> I just tried it , but... :( > > 2012/3/5 Micha? Kulling | IQ.pl > On Mon, 5 Mar 2012 20:50:29 +0800, 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 in the attachment. > > > > 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! > > Try: > > # service qemu-kvm restart > # service libvirtd restart > > :-) > > -- > > Micha? Kulling > http://iq.pl/ [3] > > > > Links: > ------ > [1] mailto:mkulling at iq.pl > [2] mailto:wangsuyi640 at gmail.com > [3] http://iq.pl/-- Micha? Kulling http://iq.pl/