New trick learned from HP support backline engineer.
swlist -l fileset -a revision -a title -a state -a install_date
———Sample output ——
# vmGuestLib B.04.00 Integrity VM vmGuestLib 200903081306.51
vmGuestLib.GUEST-LIB B.04.00 Integrity VM GUEST-LIB fileset 200903081306.51 configured
# vmProvider B.04.00 WBEM Provider for Integrity VM vmProvider 200903081306.59
vmProvider.VM-PROV-CORE B.04.00 WBEM Provider for Integrity VM VM-PROV-CORE 200903081306.59 configured
Tags: forums.itrc.hp.com, high capacity volume group, HP-UX, hpux, Ignite-UX, patches, patching, SD-UX, SDUX
Problem: After being Ignited superman lost most sd-ux functionality.
Note: superman (not its real name) is a vpar running on a superdome complex. Only swlist works, swreg -l depot, swinstall -i, swverify all fail with the same error.
ERROR: “spuerman/”: You do not have the required permissions to
select this target. Check permissions using the “swacl”
command or see your system administrator for assistance. Or,
to manage applications designed and packaged for nonprivileged
mode, see the “run_as_superuser” option in the “sd” man page.
* Target connection failed for “zrtph0v0:/”.
ERROR: More information may be found in the daemon logfile on this
target (default location is
superman:/var/adm/sw/swagentd.log).
* Selection had errors.
Standard techniques say check:
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
Check /etc/hosts networking is consistent.
Make sure /etc/nsswitch.conf is present and makes sense.
Check permissions on /var/tmp and all the swagent files.
None of this worked.
swlist -i -s $PWD in a depot generated the following error taken from ITRC because the system is already fixed.:
swacl -l host @ superman
List swacl generates this:
Util_Random internal error: Read of /dev/urandom failed, rv=-1, size=8, No such device (19).
There were a series of other errors all pointing to /dev/urandom
lsdev showed that /urandom did not load the kernel module rng (Randome Number Generator).
Detail root /usr/sam/tui/kc/modulemod.sh rng
Detail root /usr/sbin/kcmodule -a -P ALL
This is normal output. Before the system was fixed the system did not show the module running.
lsdev | grep rng
138 -1 rng pseudo
Fix was to unload the rng module in the kernel (using sam SEP cheats)
Then we loaded it. In spite of being listed as dynamic a reboot was required to restore sd-ux functionality.
Actual source of the problem: Ignite image of supergirl did not exclude the /dev/ “files” This cause the wrong kernel module to be loaded with the /dev/urandom “file” driver. Normally this is not a problem becuase /dev is crecreated but for some reason /dev/udandom was not loading the kernel module rng
Ignite excludes have been updated to exclude these files and the system will be re-ignited to make sure nothing else bad happens.
Tags: high capacity volume group, HP-UX, hpux, Ignite, Ignite-UX, patches, SD-UX, SDUX