Failed to connect to Xen 4.1 using virsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I installed xen 4.1 and libvirt 0.9.1 on ubuntu 10.04 x86
when I tried "virsh -c xen:/// list", the terminal give me error:
error: unable to connect to '/var/run/libvirt/libvirt-sock', libvirtd may need to be started: No such file or directory
error: failed to connect to the hypervisor

But when I tried "sudo virsh -c xen:/// list", there's different error:
error: unable to connect to 'localhost:8000': Connection refused
error: failed to connect to the hypervisor

That really confused me.
Do I need to start libvirtd like "sudo libvirtd"? cause "virsh -c test:///default list" is OK without it.
I have started xencommons and xend, so I really don't know what I missed...

Thanks,
Yao

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux