[Libvir] virsh command is getting a connecting error
Saori Fukuta
fukuta.saori at jp.fujitsu.com
Tue Mar 13 05:59:02 UTC 2007
On Tue, 13 Mar 2007 03:01:03 +0000, "Daniel P. Berrange" wrote:
> On Tue, Mar 13, 2007 at 11:37:24AM +0900, Saori Fukuta wrote:
> > Hi,
> >
> > It was working fine on March 8th, but today it failed to do virsh
> > command with an error message.
> >
> > # virsh list
> > libvir: error : no support for hypervisor
> > lt-virsh: error: failed to connect to the hypervisor
> >
> > Is there any problem? Please tell me how I can use current virsh
> > command.
>
> Make sure the libvirt daemon is running - eg with
>
> /etc/init.d/libvirt start
>
> This should give you a libvirt_qemud process listening on the desired
> socket. NB, even though the daemon has _qemud in the name, it *is* also
> used for Xen management - it provides managed virtual networking for
> guests.
>
> Regards,
> Dan.
Thank you Dan!
Maybe I made a mistake in using the configure options.
I did below.
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
and followed your advice.
# /etc/init.d/libvirtd restart
Stopping libvirtd daemon: [ OK ]
Starting libvirtd daemon: [ OK ]
# ps -ef | grep libvirt
root 11082 1 0 14:56 ? 00:00:00 libvirt_qemud --system --daemon
root 11111 3522 0 14:56 pts/2 00:00:00 grep libvirt
So now I can use virsh command.
# /usr/bin/virsh list
Id Name State
----------------------------------
0 Domain-0 running
Thanks,
Saori Fukuta.
More information about the libvir-list
mailing list