From: Dinwiddie, Ron (TIFPC) (RDinwid@templeinland.com)
Date: Tue Apr 01 2003 - 16:13:07 EST
All,
Please bear with me as this may be fairly long as I try to describe our
issue.
Setup:
2 E420R's - 1 set up as NIS Master and 1 as NIS slave/client
OS - both running Solaris8
Oracle 8i - installed on NIS Master
Both systems are on the same subnet
Problem:
Although NIS appears to be running properly and successfully,
/var/adm/messages is growing extremely large with the following error
message that repeats every 5 seconds:
Apr 1 14:03:42 NISmaster ypbind[28563]: [ID 379826 daemon.error] service
not installed, use /usr/sbin/ypinit -c
The code inside the [] directly behind ypbind changes, but the ID number
remains the same, as does the rest of the message.
As I mentioned before, NIS appears to be running properly and all yp
processes are running. I can execute a "ypcat hosts" on either system and
get the map. I can run "/usr/ccs/bin/make" on the master and it pushes the
maps out successfully.
Things I have modified/checked include:
- stopping & restarting yp (/usr/lib/netsvcyp/ypstop & ypstart) When I do
this, the error message stops for approximately 10 minutes, then starts up
again
- editting /var/yp/Makefile and removing all references to maps that we
aren't using in the NIS environment (we are only pushing out passwd, hosts,
& group in this instance)
- checked /etc/nsswitch.conf to ensure the proper entries were "files nis" -
they are
- recreating both the master & slave
- cd /var/yp
- ypinit -m (for master)
- ypinit -s NISmaster (for the slave)
- made both systems client using ypinit -c
- found the following article concerning Oracle and asked one of our DBA's
to check it out (he said that the recommended solution is already in place
on the master):
-
http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=finfodoc%2F18622&zone_32=ypb
ind
- this article addresses the following:
If something (client or server side) formulates a query which that leads
to it attempting to contact a non existent database, the setup is likely to
send a query off to NIS/YP. It is at this stage, that the NIS/YP domainname
in ypbind gets corrupt.
We have another sub-net running NIS successfully and the only difference I
can see between the two is that the "problem" NIS master has Oracle
installed on it while the "good" NIS master doesn't.
Does anyone have any ideas that I haven't mentioned above?
Thanks,
Ron D
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:06 EDT