I have just built a new server using CentOS5.2 and the RPMs for 3.3-03
from gitco for i386, it would appear that I have missed something or
have an incompatibility as I get the following error when trying to
start xend.
Can someone give me a pointer as to what I have done wrong or haven''t
done.
Thanks.
ERROR Internal error: Could not obtain handle on privileged command
interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/sbin/xend", line 44, in ?
from xen.xend.server import SrvDaemon
File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDaemon.py",
line 26, in ?
import relocate
File
"/usr/lib/python2.4/site-packages/xen/xend/server/relocate.py",
line 28, in ?
from xen.xend import XendDomain
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line
35, in ?
from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 20, in ?
from xen.xend import balloon, sxp, image
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 44,
in ?
xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could
not obtain handle on
privileged command interface (2 = No such file or directory)'')
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Glen and Rosanne Eustace
GodZone Internet Services, a division of AGRE Enterprises Ltd.
P.O. Box 8020, Palmerston North, New Zealand 4446.
Ph: +64 6 357 8168, Fax +64 6 357 8165, Mob: +64 21 424 015
http://www.godzone.net.nz
"A Ministry specialising in providing low-cost Internet Services
to NZ Christian Churches, Ministries and Organisations."
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Glen Eustace wrote on Mon, 29 Dec 2008 10:11:22 +1300:> ERROR Internal error: Could not obtain handle on privileged command > interface (2 = No such file or directory)First thing I would suspect is SELinux. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Dec 30, 2008 at 10:06 AM, Kai Schaetzl <maillists@conactive.com>wrote:> Glen Eustace wrote on Mon, 29 Dec 2008 10:11:22 +1300: > > > ERROR Internal error: Could not obtain handle on privileged command > > interface (2 = No such file or directory) > > First thing I would suspect is SELinux. > > Kai > > -- > Kai Schätzl, Berlin, Germany > Get your web at Conactive Internet Services: http://www.conactive.com > > >I use Xen 3.3 with SELinux in enforcing mode without problem. You could check /var/log/audit/audit.log but I really don't think that's the problem. Grant McWilliams Some people, when confronted with a problem, think "I know, I'll use Windows." Now they have two problems. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Dec 30, 2008 at 10:59 AM, Grant McWilliams < grantmasterflash@gmail.com> wrote:> > On Tue, Dec 30, 2008 at 10:06 AM, Kai Schaetzl <maillists@conactive.com>wrote: > >> Glen Eustace wrote on Mon, 29 Dec 2008 10:11:22 +1300: >> >> > ERROR Internal error: Could not obtain handle on privileged command >> > interface (2 = No such file or directory) >> >> First thing I would suspect is SELinux. >> >> Kai >> >> -- >> Kai Schätzl, Berlin, Germany >> Get your web at Conactive Internet Services: http://www.conactive.com >> >> >> > I use Xen 3.3 with SELinux in enforcing mode without problem. You could > check /var/log/audit/audit.log but I really don't think that's the problem. > > > Grant McWilliams > > Actually let me rephrase that. It SHOULDN'T be a problem because I'mrunning it with SELinux and it isn't. I'm not using the i386 rpms though. I'm using the x86_64 rpms from gitco so I'd assume they're the same. Grant McWilliams Some people, when confronted with a problem, think "I know, I'll use Windows." Now they have two problems. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Grant McWilliams wrote on Tue, 30 Dec 2008 11:01:25 -0800:> Actually let me rephrase that. It SHOULDN''T be a problem because I''m > running it with SELinux and it isn''t. I''m not using the i386 rpms though. > I''m using the x86_64 rpms from gitco so I''d assume they''re the same.I''m running in permissive and I do see a lot of audit messages concerning xen, especially when vif devices get started. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 7, 2009 at 3:31 PM, Kai Schaetzl <maillists@conactive.com>wrote:> Grant McWilliams wrote on Tue, 30 Dec 2008 11:01:25 -0800: > > > Actually let me rephrase that. It SHOULDN'T be a problem because I'm > > running it with SELinux and it isn't. I'm not using the i386 rpms though. > > I'm using the x86_64 rpms from gitco so I'd assume they're the same. > > I'm running in permissive and I do see a lot of audit messages concerning > xen, especially when vif devices get started. > > Kai > > -- > Kai Schätzl, Berlin, Germany > Get your web at Conactive Internet Services: http://www.conactive.com > >On which OS? SELinux in targeted mode is very distribution specific. Grant McWilliams Some people, when confronted with a problem, think "I know, I'll use Windows." Now they have two problems. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Grant McWilliams wrote on Wed, 7 Jan 2009 17:46:00 -0800:> On which OS? SELinux in targeted mode is very distribution specific.CentOS 5.2 Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jan 8, 2009 at 4:52 AM, Kai Schaetzl <maillists@conactive.com>wrote:> Grant McWilliams wrote on Wed, 7 Jan 2009 17:46:00 -0800: > > > On which OS? SELinux in targeted mode is very distribution specific. > > CentOS 5.2 > > Kai > > -- > Kai Schätzl, Berlin, Germany > Get your web at Conactive Internet Services: http://www.conactive.com > > > >I'm running it on CentOS 5.2 on several servers with SELinux in targeted enforcing mode and I've not had a problem. Make sure you're keeping your VMs where they're supposed to be or that you've relabeled or created a new policy if you've moved them. What kind of audit messages are you getting? Grant McWilliams _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users