Tag: pkginfo

ERROR: Target boot environment not identified as being Solaris 10.

I was installing the recommended patch bundle for Solaris 10 and I received an error that the server is not a Solaris 10

root@solaris10:/tmp/patch/10_Recommended # ./installpatchset —-apply-prereq —-s10patchset
ERROR: Target boot environment not identified as being Solaris 10.

root@solaris10:/tmp/patch/10_Recommended # uname -a
SunOS solaris10 5.10 Generic_147440-12 sun4v sparc SUNW,Sun-Blade-T6320

Check two packages SUNWcsr and SUNWcsu

root@solaris10:~ # pkginfo -l SUNWcsr
ERROR: information for “SUNWcsr” was not found

root@solaris10:~ # pkginfo -l SUNWcsu
PKGINST: SUNWcsu
NAME: Core Solaris, (Usr)
CATEGORY: system
ARCH: sparc
VERSION: 11.10.0,REV=2005.01.21.15.53
BASEDIR: /
VENDOR: Oracle Corporation
DESC: core software for a specific instruction-set architecture
PSTAMP: on10-patch20120109151043
INSTDATE: Nov 18 2012 01:12
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 1666 installed pathnames
79 shared pathnames
295 linked files
144 directories
480 executables
30 setuid/setgid executables
30370 blocks used (approx)

In this case, it was missing the file /var/sadm/SUNWcsr/pkginfo

root@solaris10:/var/sadm/pkg/SUNWcsr # ls -l
total 4
drwxr-xr-x 2 root root 512 Nov 18 2012 install
drwxr-x— 27 root root 1024 Nov 18 2012 save

root@solaris10:/var/sadm/pkg/SUNWcsr # ls -l
total 56
drwxr-xr-x 2 root root 1024 Aug 18 2012 install
-rw-r–r– 1 root root 26479 Aug 18 2012 pkginfo
drwxr-x— 49 root root 1024 Aug 18 2012 save

There is two recommendations to solve this problem:
– reinstall the server
– restore from backup

Source: installpatch reports ERROR: Target boot environment not identified as being solaris 10 (Doc ID 1511328.1)

Advertisement

scstat libsecurity: create of rpc handle to program rgmd_receptionist (100141) failed, will not retry

root@solaris10:/ # scstat -g
libsecurity: create of rpc handle to program rgmd_receptionist (100141) failed, will not retry
scstat: unexpected error.

I’m running a Sun Cluster 3.1 that gave me the error about libsecurity

root@solaris10:/ # pkginfo -l SUNWscnmr
PKGINST: SUNWscnmr
NAME: Sun Cluster name (Root)
CATEGORY: application
ARCH: sparc
VERSION: 3.1.0,REV=2005.07.18.14.37
BASEDIR: /
VENDOR: Sun Microsystems, Inc.
DESC: Sun Cluster name (Root)
PSTAMP: 07/18/2005.14:43:46
INSTDATE: Oct 25 2008 20:23
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 3 installed pathnames
2 shared pathnames
2 directories
1 blocks used (approx)

They were complaining that the server was unavailable but I was able to login so I took a look at the runlevel

root@solaris10:/ # who -r
. run-level 3 Oct 6 13:20 3 0 S

Running svcs -xv I saw numerous services that haven’t started yet

root@solaris10:/ # svcs -xv
svc:/milestone/multi-user:default (multi-user milestone)
State: offline since Tue 06 Oct 2015 01:23:54 PM BRT
Reason: Start method is running.
See: http://sun.com/msg/SMF-8000-C4
See: man -M /usr/share/man -s 1M init
See: /var/svc/log/milestone-multi-user:default.log
Impact: 23 dependent services are not running:
svc:/system/webconsole:console
svc:/system/boot-config:default
svc:/application/stosreg:default
svc:/application/sthwreg:default
svc:/application/management/common-agent-container-1:default
svc:/system/cluster/cl-svc-enable:default
svc:/system/cluster/spm:default
svc:/system/cluster/cl-svc-cluster-milestone:default
svc:/system/cluster/scdpm:default
svc:/system/cluster/rpc-pmf:default
svc:/system/cluster/rgm:default
svc:/system/cluster/scsymon-srv:default
svc:/system/cluster/rpc-fed:default
svc:/system/cluster/pnm:default
svc:/system/cluster/cl-event:default
svc:/system/cluster/cl-eventlog:default
svc:/system/cluster/cl-ccra:default
svc:/milestone/multi-user-server:default
svc:/system/basicreg:default
svc:/system/zones:default
svc:/application/graphical-login/cde-login:default
svc:/system/vxvm/vxvm-recover:default
svc:/application/cde-printinfo:default

svc:/application/print/ipp-listener:default (Internet Print Protocol Listening Service)
State: maintenance since Tue 06 Oct 2015 01:22:52 PM BRT
Reason: Start method died on Killed (9).
See: http://sun.com/msg/SMF-8000-KS
See: man -M /usr/share/man -s 4 mod_ipp
See: /var/svc/log/application-print-ipp-listener:default.log
Impact: This service is not running.

Long time passed but didn’t start. Looking at the Fault Management Facility, it was executing a script. Killed the script and the services started being processed

root@solaris10:/ # cat /var/svc/log/milestone-multi-user:default.log
Executing legacy init script “/etc/rc2.d/S74osddownt”.
OSD DownTime is being started.