Hi everybody,

I am trying to configure NIS slave server.

I did the following configuration.
On Master server :
1) Added the slave servers in the ypservers file
#cat /var/yp/ypservers
NIS1
NIS2
2) in Makefile
NOPUSH=false

3) If I run make

#make

gmake[1]: Entering directory `/var/yp/NIS1'
Updating ypservers...
ypservers->NIS2: Callback timed out
gmake[1]: Leaving directory `/var/yp/NIS1'
gmake[1]: Entering directory `/var/yp/NIS1'
Updating passwd.byname...
passwd.byname->NIS2: Callback timed out
Updating passwd.byuid...
passwd.byuid->NIS2: Callback timed out
Updating hosts.byname...
hosts.byname->NIS2: Callback timed out
Updating hosts.byaddr...
hosts.byaddr->NIS2: Callback timed out
Updating netid.byname...
netid.byname->NIS2: Callback timed out
gmake[1]: Leaving directory `/var/yp/NIS1'


On Slave server :
1)Added this as NIS client to Master Server and run
#/usr/lib/yp/ypinit -s NIS1

I am getting the following errors :
We will need a few minutes to copy the data from NIS1.
Transferring group.bygid...
*** glibc detected *** free(): invalid pointer: 0xbff50b3e ***
/usr/lib/yp/ypinit: line 37: 3351 Aborted $YPBINDIR/ypxfr -f -h $MASTER -c -d $DOMAIN $map
YPINIT: WARNING: Couldn't exec /usr/lib/yp/ypxfr -f -h NIS1 -c -d NIS1 group.bygid
Transferring services.byname...
*** glibc detected *** free(): invalid pointer: 0xbff20b3a ***
/usr/lib/yp/ypinit: line 37: 3352 Aborted $YPBINDIR/ypxfr -f -h $MASTER -c -d $DOMAIN $map
YPINIT: WARNING: Couldn't exec /usr/lib/yp/ypxfr -f -h NIS1 -c -d NIS1 services.byname
Transferring rpc.bynumber...
*** glibc detected *** free(): invalid pointer: 0xbfff9b3d ***
/usr/lib/yp/ypinit: line 37: 3353 Aborted $YPBINDIR/ypxfr -f -h $MASTER -c -d $DOMAIN $map
YPINIT: WARNING: Couldn't exec /usr/lib/yp/ypxfr -f -h NIS1 -c -d NIS1 rpc.bynumber
Transferring mail.aliases...

Like this ...

NIS1's NIS data base has been set up.
If there were warnings, please figure out what went wrong, and fix it.

At this point, make sure that /etc/passwd and /etc/group have
been edited so that when the NIS is activated, the data bases you
have just created will be used, instead of the /etc ASCII files.

I added the both servers info in /etc/hosts.

Please help me out to solve this.

Thanks Inadvance,
Mummaneni.