[libvirt] fail to connect via ssh

Hi all, I have built libvirt by http://libvirt.org/sources/libvirt-0.4.4.tar.gz on fedora 9 as follows. $ tar zxf libvirt-cvs-snapshot.tar.gz $ cd libvirt-0.4.4 $ ./configure --without-xen $ make However, virsh failed to connect via SSH to remote server. How can I fix the problem? $ ./src/virsh -c xen+ssh://root@server list root@server's password: libvir: Remote error : socket closed unexpectedly error: failed to connect to the hypervisor Thanks, Minai

Hi, I had solved the problem. The prefix option of ./configure command is needed to be specified so that it should become the same as the command pathname of libvirt in a remote server. $ ./configure --without-xen --prefix=/ Thanks, Minai On Mon, 18 Aug 2008 16:08:11 +0900 MINAI Katsuhito <minai@jp.fujitsu.com> wrote:
Hi all,
I have built libvirt by http://libvirt.org/sources/libvirt-0.4.4.tar.gz on fedora 9 as follows.
$ tar zxf libvirt-cvs-snapshot.tar.gz $ cd libvirt-0.4.4 $ ./configure --without-xen $ make
However, virsh failed to connect via SSH to remote server. How can I fix the problem?
participants (1)
-
MINAI Katsuhito