Hi All,
I am having issues starting xend on OpenSolaris b98.
I am getting the following error (from /var/svc/log/system-xvm-
xend:default.log):
[ Oct 4 10:41:36 Executing start method ("/lib/svc/method/xend
start"). ]
ERROR Internal error: Could not obtain handle on privileged command
interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/lib/xend", line 43, in ?
from xen.xend.server import SrvDaemon
File "/usr/lib/python2.4/site-packages/xen/xend/server/
SrvDaemon.py", line 26, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/server/
relocate.py", line 27, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line 36, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 19, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 34,
in ?
xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could
not obtain handle
on privileged command interface (2 = No such file or directory)'')
[ Oct 4 10:41:36 Method "start" exited with status 1. ]
Below is more information on the installation and system.
Does anyone have any idea about this? I would guess it is the same
kind of error I would get trying this if the system was not booting
the i86xpv kernel.
Thanks,
From Kim
-----------------------################-----------------------
################-----------------------
base@ra:~# uname -a
SunOS ra 5.11 snv_98 i86pc i386 i86xpv Solaris
-----------------------################-----------------------
################-----------------------
base@ra:~# cat /etc/release
OpenSolaris 2008.11 snv_98 X86
Copyright 2008 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 15 September 2008
-----------------------################-----------------------
################-----------------------
base@ra:~# cat /rpool/boot/grub/menu.lst
splashimage /boot/grub/splash.xpm.gz
background 215ECA
timeout 30
default 1
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title OpenSolaris 2008.11 snv_98 X86
findroot (pool_rpool,0,a)
bootfs
kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
#---------------------END BOOTADM--------------------
title OpenSolaris 2008.11 snv_98 X86 xVM
findroot (pool_rpool,0,a)
kernel$ /boot/$ISADIR/xen.gz
module$ /platform/i86xpv/kernel/$ISADIR/unix /platform/i86xpv/kernel/
$ISADIR/unix -B $ZFS-BOOTFS
module$ /platform/i86pc/$ISADIR/boot_archive
bootfs rpool/ROOT/opensolaris
-----------------------################-----------------------
################-----------------------
base@ra:~# ls -l /dev/xen/*
lrwxrwxrwx 1 root root 36 2008-10-04 11:32 /dev/xen/balloon -> ../../
devices/xpvd/balloon@0:balloon
lrwxrwxrwx 1 root root 36 2008-10-04 11:32 /dev/xen/domcaps -> ../../
devices/xpvd/domcaps@0:domcaps
lrwxrwxrwx 1 root root 34 2008-10-04 11:32 /dev/xen/evtchn -> ../../
devices/xpvd/evtchn@0:evtchn
lrwxrwxrwx 1 root root 36 2008-10-04 11:32 /dev/xen/privcmd -> ../../
devices/xpvd/privcmd@0:privcmd
lrwxrwxrwx 1 root root 34 2008-10-04 11:32 /dev/xen/xenbus -> ../../
devices/xpvd/xenbus@0:xenbus
-----------------------################-----------------------
################-----------------------
base@ra:~# pkginfo | grep SUNWxvm
system SUNWxvmdomr Hypervisor Domain Tools
(Root)
system SUNWxvmdomu Hypervisor Domain Tools
(Usr)
system SUNWxvmh Hypervisor Header Files
system SUNWxvmhvm Hypervisor HVM
system SUNWxvmipar xVM PV IP address agent
(Root)
system SUNWxvmipau xVM PV IP address agent
(Usr)
system SUNWxvmpv xVM Paravirtualized Drivers
system SUNWxvmr Hypervisor (Root)
system SUNWxvmu Hypervisor (Usr)
base@ra:~# pkginfo | grep SUNWlibvirt
system SUNWlibvirt Libvirt (Usr)
system SUNWlibvirtr Libvirt (Root)
base@ra:~# pkginfo | grep SUNWvirt
GNOME2 SUNWvirt-manager Virtual Machine Manager
GNOME2 SUNWvirt-manager-root Virtual Machine Manager
- / filesystem
system SUNWvirtinst virt-install
-----------------------################-----------------------
################-----------------------
base@ra:~# svcs |grep xvm
disabled 10:41:36 svc:/system/xvm/store:default
online 10:14:24 svc:/system/xvm/ipagent:default
offline 10:41:36 svc:/system/xvm/console:default
offline 10:41:36 svc:/system/xvm/domains:default
offline 10:42:34 svc:/system/xvm/virtd:default
maintenance 10:41:36 svc:/system/xvm/xend:default
-----------------------################-----------------------
################-----------------------
base@ra:~# svcs -xv xvm/xend
svc:/system/xvm/xend:default (Hypervisor Control Daemon)
State: maintenance since 4 October 2008 10:41:36 AM
Reason: Start method failed repeatedly, last exited with status 1.
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 1M xend
See: /var/svc/log/system-xvm-xend:default.log
Impact: 3 dependent services are not running:
svc:/system/xvm/domains:default
svc:/system/xvm/console:default
svc:/system/xvm/virtd:default
-----------------------################-----------------------
################-----------------------
base@ra:~# cat /var/svc/log/system-xvm-xend:default.log
[ Oct 4 08:29:53 Enabled. ]
[ Oct 4 08:30:39 Disabled. ]
[ Oct 4 08:35:23 Enabled. ]
[ Oct 4 08:35:23 Disabled. ]
[ Oct 4 08:36:50 Enabled. ]
[ Oct 4 08:36:51 Disabled. ]
[ Oct 4 08:36:51 Enabled. ]
[ Oct 4 08:36:51 Disabled. ]
[ Oct 4 08:36:51 Enabled. ]
[ Oct 4 08:36:51 Disabled. ]
[ Oct 4 08:36:52 Enabled. ]
[ Oct 4 08:36:52 Disabled. ]
[ Oct 4 08:37:37 Enabled. ]
[ Oct 4 08:37:37 Disabled. ]
[ Oct 4 10:14:23 Enabled. ]
[ Oct 4 10:15:10 Disabled. ]
[ Oct 4 10:16:56 Enabled. ]
[ Oct 4 10:16:56 Executing start method ("/lib/svc/method/xend
start"). ]
ERROR Internal error: Could not obtain handle on privileged command
interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/lib/xend", line 43, in ?
from xen.xend.server import SrvDaemon
File "/usr/lib/python2.4/site-packages/xen/xend/server/
SrvDaemon.py", line 26, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/server/
relocate.py", line 27, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line 36, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 19, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 34,
in ?
xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could
not obtain handle
on privileged command interface (2 = No such file or directory)'')
[ Oct 4 10:16:58 Method "start" exited with status 1. ]
[ Oct 4 10:16:58 Executing start method ("/lib/svc/method/xend
start"). ]
ERROR Internal error: Could not obtain handle on privileged command
interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/lib/xend", line 43, in ?
from xen.xend.server import SrvDaemon
File "/usr/lib/python2.4/site-packages/xen/xend/server/
SrvDaemon.py", line 26, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/server/
relocate.py", line 27, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line 36, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 19, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 34,
in ?
xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could
not obtain handle
on privileged command interface (2 = No such file or directory)'')
[ Oct 4 10:16:59 Method "start" exited with status 1. ]
[ Oct 4 10:16:59 Executing start method ("/lib/svc/method/xend
start"). ]
ERROR Internal error: Could not obtain handle on privileged command
interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/lib/xend", line 43, in ?
from xen.xend.server import SrvDaemon
File "/usr/lib/python2.4/site-packages/xen/xend/server/
SrvDaemon.py", line 26, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/server/
relocate.py", line 27, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line 36, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 19, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 34,
in ?
xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could
not obtain handle
on privileged command interface (2 = No such file or directory)'')
[ Oct 4 10:16:59 Method "start" exited with status 1. ]
[ Oct 4 10:18:14 Leaving maintenance because disable requested. ]
[ Oct 4 10:18:14 Disabled. ]
[ Oct 4 10:32:17 Enabled. ]
[ Oct 4 10:39:24 Rereading configuration. ]
[ Oct 4 10:40:37 Disabled. ]
[ Oct 4 10:40:52 Enabled. ]
[ Oct 4 10:40:52 Disabled. ]
[ Oct 4 10:41:36 Enabled. ]
[ Oct 4 10:41:36 Executing start method ("/lib/svc/method/xend
start"). ]
ERROR Internal error: Could not obtain handle on privileged command
interface (2 = No such file or directory)
Traceback (most recent call last):
File "/usr/lib/xend", line 43, in ?
from xen.xend.server import SrvDaemon
File "/usr/lib/python2.4/site-packages/xen/xend/server/
SrvDaemon.py", line 26, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/server/
relocate.py", line 27, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py",
line 36, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/XendCheckpoint.py",
line 19, in ?
File "/usr/lib/python2.4/site-packages/xen/xend/image.py", line 34,
in ?
xen.lowlevel.xc.Error: (1, ''Internal error'', ''Could
not obtain handle
on privileged command interface (2 = No such file or directory)'')
[ Oct 4 10:41:36 Method "start" exited with status 1. ]