WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] libvir: Remote error: Connection refused

To: chenhao <vovfooo@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] libvir: Remote error: Connection refused
From: Jeff Williams <jeffw@xxxxxxxxxxxxxx>
Date: Tue, 26 May 2009 12:33:13 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 25 May 2009 21:33:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <fc1fca8f16de.4a1bdb28@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <fc1fca8f16de.4a1bdb28@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.21 (X11/20090409)
Which version of virsh are you running? On my version (0.6.1) the command is:

virsh connect xen:///

followed by:

virsh list

Other than that, make sure you have

(xend-http-server yes)

in your /etc/xen/xend-config.sxp

Jeff

On 26/05/09 12:06, chenhao wrote:
I am trying to run the command:
su -c "virsh -c xen:/// list"

and getting the error:
libvir: Remote error: Connection refused
libvir: warning: Failed to find the network: Is the daemon running ?
libvir: Remote error: Connection refused
Id Name State
------------------------------------------------------------
0 Domain-0 running

What does this mean?


Thanks for help!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>