I'm trying to set up a slave NIS server and having real problems.
The master NIS server (on ursatz) works fine, but there seem to be
RPC problems with the slave server (yodel). When I run
rpcinfo -p yodel on yodel, I get:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100007 2 udp 922 ypbind
100007 1 udp 922 ypbind
100007 2 tcp 925 ypbind
100007 1 tcp 925 ypbind
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100024 1 udp 729 status
100024 1 tcp 731 status
But when I run the same command on ursatz, I get
'No remote programs registered.'
rpcinfo -p ursatz returns the same results on both machines:
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100007 2 udp 922 ypbind
100007 1 udp 922 ypbind
100007 2 tcp 925 ypbind
100007 1 tcp 925 ypbind
100011 1 udp 735 rquotad
100011 2 udp 735 rquotad
100005 1 udp 745 mountd
100005 1 tcp 747 mountd
100005 2 udp 750 mountd
100005 2 tcp 752 mountd
100003 2 udp 2049 nfs
100021 1 udp 1026 nlockmgr
100021 3 udp 1026 nlockmgr
100024 1 udp 792 status
100024 1 tcp 794 status
100001 3 udp 813 rstatd
100001 2 udp 813 rstatd
100001 1 udp 813 rstatd
100009 1 udp 756 yppasswdd
600100069 1 udp 680 fypxfrd
600100069 1 tcp 682 fypxfrd
100004 2 udp 777 ypserv
100004 1 udp 777 ypserv
100004 2 tcp 780 ypserv
100004 1 tcp 780 ypserv
I can transfer the NIS maps to yodel with ypxfr (on yodel) one by one, but
naturally when I try to use yppush on ursatz I get the error:
# yppush group.bygid
yodel.som.ohio-state.edu: RPC: Program not registered
Any suggestions?
--
P. Douglas Reeder Lecturer, Dept. Computer/Info. Science, Ohio State Univ.
ree...@cis.ohio-state.edu http://www.cis.ohio-state.edu/~reeder/reeder.html
GE/S d+ s+:- a C+@$ UH+ P+ L E W++ N+ o? K? w !O M+ V PS+() PE Y+ PGP- t 5+ !X
R>+ tv+ b+++>$ DI+ D- G e+++ h r+>+++ y+>++
I'm trying to set up a slave NIS server and having real problems. The
master NIS server works fine, but when I run ypinit on the
a machine I'm trying to set up as an NIS slave server, I get:
[root@slave]# /usr/lib/yp/ypinit -s master
Can't enumerate maps from ursatz. Please check that it is running.
Both machines can now see each other's RPC services:
[root@slave]# rpcinfo -p master
[root@master]# /usr/sbin/rpcinfo -p slave
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100007 2 udp 922 ypbind
100007 1 udp 922 ypbind
100007 2 tcp 925 ypbind
100007 1 tcp 925 ypbind
100021 1 udp 1024 nlockmgr
100021 3 udp 1024 nlockmgr
100024 1 udp 729 status
100024 1 tcp 731 status
100004 2 udp 958 ypserv
100004 1 udp 958 ypserv
100004 2 tcp 961 ypserv
100004 1 tcp 961 ypserv
100009 1 udp 643 yppasswdd
600100069 1 udp 655 fypxfrd
600100069 1 tcp 657 fypxfrd
> I'm trying to set up a slave NIS server and having real problems. The
> master NIS server works fine, but when I run ypinit on the
> a machine I'm trying to set up as an NIS slave server, I get:
>
> [root@slave]# /usr/lib/yp/ypinit -s master
> Can't enumerate maps from ursatz. Please check that it is running.
Check to make sure that your slave has been configured to be a NIS slave first
before you issue the ypinit problem. You should be able to confirm this by
trying to do a "ypcat passwd" from the slave and see a list of the users in
the /etc/passwd file on the master. Once you have got this, you should be
able to issue the command: /usr/lib/ypinit -s master/ursatz.
The error you have got appears that the slave is unable to form a NIS
connction with the master server called ursatz based on the error message.
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - Dean.T...@csse.monash.edu.au |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+