We get this error message in /var/adm/messages file:
rpc.nispasswdd[394]: rpc.nispasswd Error in accessing NIS+ cold start
file... is NIS+ installed?.
We are running Solaris 7.
We are not running NIS/YP. I do not see any nis/yp processes running.
However, I see following when I ran 'rpcinfo -p'.
rpcinfo -p | grep nis
100300 3 udp 32772 nisd
100300 3 tcp 32771 nisd
I see following in /etc/init.d/rpc file:
if [ -d /var/nis/data -o -d /var/nis/$hostname ]; then
/usr/sbin/rpc.nisd $EMULYP
echo " rpc.nisd \c"
/usr/sbin/rpc.nispasswdd
fi
I assume this is why nis processes are being registered with 'rpc'.
/var/nis/data is a blank directory and /var/nis/$hostname directory
does not exist.
I believe I need to move /var/nis/data to /var/nis/data.old and it will
take care of this issue.
Am I correct here or I need to be fixing it different way ?
Thank you all for your help.