NFS Services Administrator's Guide
Troubleshooting NFS Services
Logging and Tracing of NFS Services
Chapter 8 353
NIS+ Logging
You can log the activities of the NIS+ rpc.nisd daemon with the -A and
-v options.
1. On the NIS+ server, add the -A or -v option to the
RPC_NISD_OPTIONS variable, as in the following example:
RPC_NISD_OPTIONS=ā$EMULYP -vā
2. Issue the following commands to restart rpc.nisd:
/sbin/init.d/nisplus.server stop
/sbin/init.d/nisplus.server start
3. To stop NIS+ logging, remove the -v and -A options from the
RPC_NISD_OPTIONS variable, and issue the commands in step 2 to
restart rpc.nisd.
The -v option causes rpc.nisd to send a running narration of what it is
doing to syslogd. Messages are logged at LOG_INFO priority.
The -A option logs NIS+ authentication activities to syslogd with
LOG_INFO priority.
You might have to modify your /etc/syslog.conf file to allow messages
of LOG_INFO priority to be logged.
For more information, type man 1M syslogd or man 1M nisd at the
HP-UX prompt.