NFS Services Administrator's Guide
Troubleshooting NFS Services
Logging and Tracing of NFS Services
Chapter 8352
options is the list of options configured in the YPBIND_OPTIONS
variable in the /etc/rc.config.d/namesvrs file. You can also
source the /etc/rc.config.d/namesvrs file, and then enter the
ypbind command as follows:
/usr/lib/netsvc/yp/ypbind $YPBIND_OPTIONS
If you do not specify a log file for ypbind (with the -l option), it logs
messages to the system console, /dev/console. The ypbind daemon can
share the same log file with the other NIS daemons.
For more information, type man 1M ypbind at the HP-UX prompt.
To Configure yppasswdd Logging
1. Add the -l logfile option to the YPPASSWDD_OPTIONS variable in
/etc/rc.config.d/namesvrs, as in the following example:
YPPASSWDD_OPTIONS=ā-l /var/yp/nis_logā
2. Issue the following commands to restart yppasswdd (PID is the
process ID returned by the ps command):
ps -ef | grep yppasswdd
kill PID
/usr/lib/netsvc/yp/rpc.yppasswdd options
options is the list of options configured in the YPPASSWDD_OPTIONS
variable in the /etc/rc.config.d/namesvrs file. You can also
source the /etc/rc.config.d/namesvrs file, and then enter the
yppasswdd command as follows:
/usr/lib/netsvc/yp/rpc.yppasswdd $YPPASSWDD_OPTIONS
For more information, type man 1M yppasswdd at the HP-UX prompt.