HP-UX 11i v3 Installation and Update Guide, September 2010

Table A-2 Known install and update problems (continued)
Description/actionProblem
DRD runcmd does not support the following nsswitch.conf entries on the
clone while managing software through drd runcmd. If the file contains them,
the runcmd will fail.
passwd: compat
group: compat
hosts: nis [NOTFOUND=return] files
You might see these errors during the execution of drd runcmd if your
nsswitch.conf file contains the “hosts: nis” entry:
ERROR: Could not contact host "myserver".
Make sure the hostname is correct and
an absolute pathname is specified
(beginning with "/").
You might see these errors during the execution of drd runcmd if your
nsswitch.conf file contains the “passwd compat” or “group: compat” entries:
ERROR: Permission is denied for the current
operation. There is no entry for user
id 0 in the user database.
Check /etc/passwd and/or the NIS user
database.
What to do
Since DRD does not need NIS to be running during swinstall, swremove or
update, you may move the nsswitch.conf file on the clone to a temporary
location. After you are done modifying the clone, you may move it back.
# drd mount
# bdf
# mv /var/opt/drd/mnts/sysimage_001/ \
etc/nsswitch.conf/ \
var/opt/drd/mnts/sysimage_001/etc/nsswitch.conf.orig
# drd runcmd
# mv /var/opt/drd/mnts/sysimage_001/ \
etc/nsswitch.conf.orig? \
var/opt/drd/mnts/sysimage_001/etc/nsswitch.conf
Alternatively, you may remove the “passwd” and “group” entries that contain
“compat” from the clone’s /var/opt/drd/mnts/sysimage_001/etc/
nsswitch.conf file and replace the “hosts” entry with:
hosts: dns [NOTFOUND=return] nis [NOTFOUND=return] files
Certain nsswitch.conf entries
not supported by drd runcmd
82 Harmless messages and known problems