[libvirt-users] Failed to connect to Xen 4.1 using virsh

26 May
2011
26 May
'11
2:50 p.m.
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
5215
Age (days ago)
5215
Last active (days ago)
0 comments
1 participants
participants (1)
-
YAO