Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

zone does not boot: zconsole or zoneadm problem

807559Dec 31 2004 — edited Jan 4 2005
Here is the essential problem:

ROOT@lab3:/# zoneadm -z zone1 boot
zoneadm: zone 'zone1': failed to open /export/zones/zone1/dev/zconsole: No such device or address
zoneadm: zone 'zone1': could not prep console slave
zoneadm: zone 'zone1': call to zoneadmd failed

where ready and halt appear to work as expected.

The system is

ROOT@lab3:/# cat /var/sadm/system/admin/CLUSTER
CLUSTER=SUNWCXall

ROOT@lab3:/# uname -a
SunOS lab3 5.10 s10_72 sun4u sparc SUNW,UltraSPARC-IIi-cEngine

ROOT@lab3:/# zonecfg -z zone1 info
zonepath: /export/zones/zone1
autoboot: false
pool:
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr

We have tried various other configurations with the same problem
always stopping us. We checked the system and zones and needed
items appear present, for example,

ROOT@lab3:/# pgrep -lf zone
8970 view /tmp/zone1.truss
9002 zlogin -C zone1
9004 zoneadmd -z zone1

ROOT@lab3:/# ls /dev/zcons/zone1/
masterconsole@ zoneconsole@

ROOT@lab3:/# ls /var/run/zones
index.lock zone1.zoneadm.lock zone1.zoneadmd_door zone2.zoneadm.lock zone2.zoneadmd_door

and /export/zones/zone1 appears present as one would expect.

A fragment of

ROOT@lab3:/etc# truss -a -e -l -f -wall -rall -o /tmp/zone1.truss zoneadm -z zone1 boot

is as follows

9088/1: sysconfig(_CONFIG_PAGESIZE) = 8192
9088/1: zone_lookup("zone1") Err#22 EINVAL
9088/1: mkdir("/var/run/zones", 0700) Err#17 EEXIST
9088/1: chmod("/var/run/zones", 0700) = 0
9088/1: open("/var/run/zones/zone1.zoneadm.lock", O_RDWR|O_CREAT, 0600) = 3
9088/1: fcntl(3, F_SETLKW, 0xFFBFE83C) = 0
9088/1: open("/var/run/zones/zone1.zoneadmd_door", O_RDONLY) = 4
9088/1: door_info(4, 0xFFBFECC8) = 0
9088/1: close(4) = 0
9088/1: close(3) = 0
9088/1: open("/var/run/zones/zone1.zoneadmd_door", O_RDONLY) = 3
9088/1: door_call(3, 0xFFBFF168) (sleeping...)
9088/1: door_call(3, 0xFFBFF168) = 0
9088/1: close(3) = 0

and then after this door call completes the error above is sent to
standard error.

What are we doing wrong? Does someone know of this problem or know a
resolution?

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 1 2005
Added on Dec 31 2004
4 comments
1,034 views