[XenAccess-devel] Error connecting to xend
Status: Beta
Brought to you by:
bdpayne
From: Steve B. <st...@at...> - 2006-06-27 18:45:20
|
I see I have the honor of posting the first plea for help to the list. I'm running Fedora Core 5 on an HVM platform, but trying to access a paravirtualized Fedora domain with xenaccess. I get error (5) when trying to invoke xenaccess: could not connect to Xen Daemon. Below are what I think are the relevant pieces of information; any ideas on how to proceed would be greatly appreciated. --------------->8---------------- [root@localhost examples]# uname -a Linux localhost.localdomain 2.6.13-xen #2 SMP Mon May 22 18:15:05 EDT 2006 i686 i686 i386 GNU/Linux [root@localhost examples]# rpm -qa | grep libvirt libvirt-0.1.1-1.FC5 libvirt-python-0.1.1-1.FC5 libvirt-devel-0.1.1-1.FC5 [root@localhost examples]# rpm -qa | grep libxm libxml2-python-2.6.23-1.2 libxml2-devel-2.6.23-1.2 libxml2-2.6.23-1.2 The xenxc library is tucked away inside my local copy of the xen-unstable mercurial directory, but xenaccess compiled using make OK anyway without any warnings or errors. I had to change the run script as follows: #!/bin/sh #export LD_PRELOAD=../libxenaccess.so:/usr/local/lib/libvirt.so export LD_PRELOAD=../libxenaccess.so:/usr/lib/libvirt.so $@ export LD_PRELOAD= [root@localhost examples]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 500 2 r----- 1278.1 fedora 1 512 1 -b---- 65.3 [root@localhost examples]# export LD_PRELOAD=/root/xenaccess-0.1/libxenaccess.so[root@localhost examples]# ./module-list libvir: Xen Daemon error : could not connect to Xen Daemon (5) could not connect to Xen Daemon ERROR: Failed to find Domain 1 ERROR: failed to get domain info for domain id 1 ERROR: could not get kernel name for domain id 1 failed to init XenAccess library: Bad address ---------------8<---------------- Thanks, Steve Brueckner, ATC-NY |