VOM Client Package VRTSsfmh for Solaris X86 insallation hangs or never finish while executing postinstall script.
looking from the processes information we can see it's calling an underlying command vssregctl which never completes. if you try to run that command manually you can see that it's trying to stat some Internal network location which is not correct behavior.
394 /usr/lib/inet/inetd start
14555 pkgadd -d VRTSsfmh_3.1.429.0_SunOS_arch_i386.pkg
14560 /usr/sadm/install/bin/pkginstall -O pkg-server-mode=timeout14555 -G -d /vom/VRT
14580 /sbin/sh /var/sadm/pkg/VRTSsfmh/install/postinstall
14592 /bin/sh /opt/VRTSsfmh/bin/postinstall.sh
14596 /opt/VRTSsfmh/bin/vssregctl -f/etc/vx/vss/VRTSat.conf -s -bSecurity\Authenticat
# pstack 14596
14596: /opt/VRTSsfmh/bin/vssregctl -f/etc/vx/vss/VRTSat.conf -s -bSecurity\Au
00000000 stat64 (feffc0c0, 8047040)
# truss /opt/VRTSsfmh/bin/vssregctl -f/etc/vx/vss/VRTSat.conf -s -bSecurity\Authenticat
execve("/opt/VRTSsfmh/bin/vssregctl", 0x08047E58, 0x08047E6C) argc = 4
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFEFF0000
resolvepath("/usr/lib/ld.so.1", "/lib/ld.so.1", 1023) = 12
resolvepath("/opt/VRTSsfmh/bin/vssregctl", "/opt/VRTSsfmh/bin/vssregctl", 1023) = 27
stat64("/opt/VRTSsfmh/bin/vssregctl", 0x08047BF0) = 0
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
sysconfig(_CONFIG_PAGESIZE) = 4096
stat64("/net/signetapp/vol/tools/build_tools/systems/solx64/studio11/SUNWspro/lib/rw7/librt.so.1", 0x08047490) Err#4 EINTR
it's a known issue documented as etrack 2164954 , No permanent fix is yet available.
As Workaround you can disable the DNS name resolution temporarily and use only file based name resolution using below method & Once the installation is completed you can enable DNS.
# grep -i hosts /etc/nsswitch.conf
hosts: files dns
# grep -i hosts /etc/nsswitch.conf
Try to re-add the package after killing the current installation & removing any partially installed VRTSsfmh package.
# pkgadd -d VRTSsfmh_3.1.429.0_SunOS_arch_i386.pkg
The following packages are available:
1 VRTSsfmh Veritas Operations Manager Managed Host by Symantec
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance <VRTSsfmh> from </vom/VRTSsfmh_3.1.429.0_SunOS_arch_i386.pkg>
Veritas Operations Manager Managed Host by Symantec(i386) 3.1.429.0
Copyright (c) 2010 Symantec Corporation.
All rights reserved.
THIS SOFTWARE CONTAINS CONFIDENTIAL INFORMATION AND TRADE SECRETS OF
SYMANTEC CORPORATION. USE, DISCLOSURE OR REPRODUCTION IS PROHIBITED
WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SYMANTEC CORPORATION.
The Licensed Software and Documentation are deemed to be commercial
computer software as defined in FAR 12.212 and subject to restricted
rights as defined in FAR Section 52.227-19 "Commercial Computer
Software - Restricted Rights" and DFARS 227.7202, "Rights in
Commercial Computer Software or Commercial Computer Software
Documentation", as applicable, and any successor regulations. Any use,
modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government
shall be solely in accordance with the terms of this Agreement.
## Executing checkinstall script.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
WARNING: setting mode of </opt/VRTS> to default mode (755)
WARNING: setting mode of </opt/VRTS/man> to default mode (755)
WARNING: setting mode of </opt/VRTS/man/man1m> to default mode (755)
5 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <VRTSsfmh> [y,n,?] y
Installing Veritas Operations Manager Managed Host by Symantec as <VRTSsfmh>
## Executing preinstall script.
## Installing part 1 of 1.
## Executing postinstall script.
Installation of <VRTSsfmh> was successful.
Trying to install VRTSsfmh package on Solaris 10 x86 System.