SUMMARY: NIS problem

From: Lincoln Chang (Lincoln.Chang@sv.sc.philips.com)
Date: Thu Sep 14 2000 - 15:53:24 CDT


Hi Gurus,

Thanks to Brett Lymn, Matthew Stier, Daniel Polombo, Timothy Peterman, and
David Foster for their replied email (I hope I don't miss anyone).

Brett reminded me of /var/yp/securenets, and I need to remove it in all of
my slave servers (My co-worker put this security feature (he left the company),
and I will re-enable it later). It was back to normal on Sunday afternoon
before users coming back to work on monday :).

Thanks again.

Rgds,

Lincoln Chang
Philips Semiconductors

Orignal Question:
> Hi Guru
>
> We moved some systems to the other site so I changes those moved systems
> to different nodename as well as their IP addresses with different subnet.
> These systems are Solaris 2.5.1.
>
> I tried to create a NIS slave by ftp some NIS files but still have some
> problem so I finally install the NISit-1.2 plus 103053-08 patch. The problem
> still doesn't go away!
>
> 1) at the newly created nis slave:
> When I type:
>
> new-slave-NIS>ps -edf | grep yp
> root 105 1 0 23:52:35 ? 0:00 /usr/lib/netsvc/yp/ypserv -d
> root 109 1 0 23:52:36 ? 0:00 /usr/lib/netsvc/yp/ypbind
>
> I have already ftp the map from the NIS master to /var/yp/'nis name',
> 'ypinit -c', 'ypinit -s ip-address-of-the-nis-master'.
>
> If I type 'ypwhich', it did give me back the NIS master name.
>
> but if I type 'ypcat -k ypservers' or ypcat any other map, it echo back:
>
> no such map in server's doamin
>
> 2) at the NIS master:
>
> When I update the hosts file, it gives me the following errors:
>
> updaing NIS database .....
> :
> :
> updated hosts
>
> Status received from ypxfr on new-slave-NIS:
> Failed - ypxfr couldn't get the map master's address.
>
> (how come it cannot get the map master's address!!)
>
>
> I also add updated the netgroup by including those machines moved to the
> other site, and make sure the /etc/nsswitch.conf has:
>
> hosts: files nis dns
> networks: nis [NOTFOUND=return] files
> :
>
> what's wrong?? Please help. Thanks.
>
> Rgds,
>
> Lincoln Chang
> Philips Semiconductors

second email:
> Hi Guru,
>
> Sorry, after sending out my last email titled 'NIS problem', I forgot one
> piece of important information (probably it was 1am in Sunday morning :(
> and here it is:
>
> Wwhen I try to initialize the nis slave, I gave the following errors:
>
> NIS-slave# ./ypinit -s nis-master-ipaddress
>
> ypwhich: Can't find the master of auto.tester. Reason: no such map in server's
> domain.
> ypwhich: Can't find the master of auto.direct. Reason: no such map in server's
> domain.
> ypwhich: Can't find the master of auto.home. Reason: no such map in server's d
> omain.
> ypwhich: Can't find the master of auto.master. Reason: no such map in server's
> domain.
> ypwhich: Can't find the master of timezone.byname. Reason: no such map in serv
> er's domain.
> :
> :
> ypwhich: Can't find the master of passwd.byname. Reason: no such map in server
> 's domain.
> Can't enumerate maps from 130.140.43.43. Please check that it is running.
>

S
U BEFORE POSTING please READ the FAQ located at
N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq
. and the list POLICY statement located at
M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy
A To submit questions/summaries to this list send your email message to:
N sun-managers@sunmanagers.ececs.uc.edu
A To unsubscribe from this list please send an email message to:
G majordomo@sunmanagers.ececs.uc.edu
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:
I http://www.latech.edu/sunman.html
S
T



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:17 CDT