06-11-2004
I've had problems with some slaves in the past but don't recall the error number - I do know it stated no response from xxx.
Normally it was a network glitch. One time I found there was a problem on one slave. I had to re-establish it as a NIS slave.
You can check some of the things via yp commands.
Check ypxfr.log on master (/var/yp/)
Check ypwhich -m on master than on slaves - insure each has correct info for master.
Check for yp processes running on slaves (ypbind and ypserv)
Check that the domainname is same on slave and master.
Check that /var/yp/bindings/domainname/ypservers on Master has the slaves - and on slave has master.
You can try a yppush from the master with the -v option to get a better idea of the problems.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I just took over the admin role from someone and I wanna setup sendmail (just to send mail from the host) however, after I config all the resolv.conf, nssitch.conf, hosts file and when I try to send a mail out, after I punched ctl-D, it returned he following,
"NIS map mail.aliases... (2 Replies)
Discussion started by: stancwong
2 Replies
2. UNIX for Advanced & Expert Users
We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave.
We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation.
However, no matter what i do, the SUSE machines will not talk to the NIS Servers.
If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies
3. Solaris
I am running NIS on Solaris 8 and I keep getting these errors:
rpc.nisd_resolv: nres_gethostbyaddr: tham.company.com != xxx.xxx.xxx.xxx.
These happen to others not just one account. And these are over the VPN that we have.
I checked with the network person and they didn't see anything... (0 Replies)
Discussion started by: kjbaumann
0 Replies
4. AIX
Hi,
We are currently in the process to move the user authentication for our AIX clients to a Windows 2003 server to authenticate them against the active directory entries.
What we have so far:
- NIS master server on Windows 2003 Server with the unix-subsystem installed -> This is managing... (1 Reply)
Discussion started by: candyflip2000
1 Replies
5. Solaris
Hi, all.
I have a Solaris client here needs to bind to NIS server in another subnet. Following is the configuration i made on the client,
1) edit /etc/inet/hosts to add an entry of the NIS server -- nserver01
2) execute `domainname` to set local NIS domain to the domain of the NIS server.... (1 Reply)
Discussion started by: sn_wukong
1 Replies
6. Linux
I keep getting errors in the messages file on my NIS server from my clients. I was wondering if anybody ever seen this before. Below is the error message. Any help would be greatly appreciated.
Sep 17 08:41:40 nis_server ypserv: refused connect from xxx.xxx.xxx.xxx:608 to procedure... (1 Reply)
Discussion started by: darren.wyatt
1 Replies
7. AIX
Hi
When i run the make command for nis i got the following message
/usr/sbin/mknetid: 1831-503 USERNAME groups exceed 32
I tried to use the netgroup map but it doesn't work - Maybe i use it wrongly
Any help please (0 Replies)
Discussion started by: skfn1203
0 Replies
8. Shell Programming and Scripting
I'm creating a scrip for auditing our AIX box's to ensure that they are built according to our system standards. I'm not sure on the logic for checking to see if the NIS and NIS+ services are disabled. any idea's? (2 Replies)
Discussion started by: sport
2 Replies
9. Solaris
Hello - I have a Solaris machine, which I would like to configure as NIS master. When I run the command /usr/sbin/ypinit -m, I see below output. I am enclosing them in tags.
/usr/sbin/ypinit -m
In order for NIS to operate sucessfully, we have to construct a list of the
NIS servers. Please... (1 Reply)
Discussion started by: manju--
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
when I do ypwhich -m, I get this error message.
# ypwhich -m |more
Can't find master for map ethers.byaddr. Reason: Internal NIS error
Can't find master for map old. Reason: Internal NIS error
Can't find master for map rpc.bynumber. Reason: Internal NIS error
Can't find master... (2 Replies)
Discussion started by: samnyc
2 Replies
YPPUSH(8) NIS Reference Manual YPPUSH(8)
NAME
yppush - force propagation of changed NIS databases
SYNOPSIS
/usr/sbin/yppush [-d domain] [-t timeout] [--parallel # | --port port] [-h host] [-v] mapname...
DESCRIPTION
yppush copies updated NIS databases (or maps) from the master NIS server to the slave servers within a NIS domain. It is normally run only
on the NIS master by /var/yp/Makefile after the master databases are changed. /var/yp/Makefile does not invoke yppush by default, the
NOPUSH=true line must be commented out.
yppush first constructs a list of NIS slave servers by reading the NIS map ypservers within the domain. A destination host (or a list of
hosts with multiple -h commands) can also be specified on the command line. A "transfer map" request is sent to the NIS serger at each
slave, along with the information needed by the transfer agent ypxfr(8) to callback to yppush, which may be printed the result to stderr.
Messages are also printed when a transfer is not possible; for instance when the request message is undeliverable.
OPTIONS
-d domain
Specify a particular domain. The NIS domain of the local host system is used by default. If the local host's domain name is not set,
the domain name must be specified with this flag.
-t timeout
The timeout flag is used to specify a timeout value in seconds. This timeout controls how long yppush will wait for a response from a
slave server before sending a map transfer request to the next slave server in the list. By default, yppush will wait 90 seconds. For
big maps, this is not long enough.
--parallel #, -p #
yppush normally performs transfers serially, meaning that it will send a map transfer request to one slave server and then wait for it
to respond before sending the next map transfer request to the next slave server. In environments with many slaves, it is more
efficient to initiate several map transfers at once so that the transfers can take place in parallel. It is not possible to run in
parallel and assign a fixed port with the --port flag
--port port
specify a port for yppush to listen on. By default, yppush will ask portmap(8) to assign it a random port number. It is not possible to
assign a port with this option and run in parallel with the --parallel or -p flag
-h host
The host flag can be used to transfer a map to a user-specified machine or group of machines instead of the list of servers contained
in the ypservers map. A list of hosts can be specified by using multiple instances of the -h flag.
-v
Verbose mode: causes yppush to print debugging messages as it runs. Note specifying this flag twice makes yppush even more verbose.
SEE ALSO
domainname(1), ypserv(8), ypxfr(8)
BUGS
The mechanism for transferring NIS maps in NIS v1 is different that that in NIS version 2. This version of yppush has support for
transferring maps to NIS v2 systems only.
AUTHOR
Thorsten Kukuk <kukuk@linux-nis.org>
NIS Reference Manual 06/12/2009 YPPUSH(8)