Advertisements

Solaris 10 ERROR: Failed to determine zone configuration for target boot environment.

Applying the recommended patch cluster I received the message below

root@solaris10node1:/10_Recommended # ./installpatchset -B NewBE –s10patchset
ERROR: Failed to determine zone configuration for target boot environment.
Please verify configuration with zoneadm(1M).

Looking at the internet it says about the file /etc/zones/index should have the zones all installed.

root@solaris10node1:~ # cat /etc/zones/index
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident “@(#)zones-index 1.2 04/04/01 SMI”
#
# DO NOT EDIT: this file is automatically generated by zoneadm(1M)
# and zonecfg(1M). Any manual changes will be lost.
#
global:configured:/:

Since I’m using Live Upgrade, checking the name of the available boot environments

root@solaris10node1:~ # lustatus
Boot Environment Is Active Active Can Copy
Name Complete Now On Reboot Delete Status
————————– ——– —— ——— —— ———-
CurBE yes yes yes no –
NewBE yes no no yes –

Mounting the boot environment where I will apply the patch

root@solaris10node1:~ # lumount -n NewBE
/.alt.NewBE

And editing the file index in the new boot enviroment

root@solaris10node1:~ # cd /.alt.NewBE/etc/zones
root@solaris10node1:/.alt.NewBE/etc/zones # vi index
# Use is subject to license terms.
#
# ident “@(#)zones-index 1.2 04/04/01 SMI”
#
# DO NOT EDIT: this file is automatically generated by zoneadm(1M)
# and zonecfg(1M). Any manual changes will be lost.
#
#global:configured:/:
global:installed:/:

Umounting the boot environment and try again to install the patch

root@solaris10node1:~ # luumount -n NewBE

Advertisements
%d bloggers like this: