RPC failure on yp operation


 
Thread Tools Search this Thread
Operating Systems Solaris RPC failure on yp operation
# 1  
Old 05-21-2007
RPC failure on yp operation

Hi....I just changed the hostnname on some of my servers.., changing the NIS master hostname first...

I was able to bring the NIS master back up but when I tried to si - to a different group of users, I got the following error message:
RPC failure on yp operation

Anyone knows what else I need to change.

Thanks
Remi
# 2  
Old 05-22-2007
It would be helpful if you told us exactly what you did to change the hostname? What files you changed, commands you ran, what OS/version you are running?

Be careful using sys-unconfig - warning note in doc id 3602
Quote:
NOTE: When using this command on a system that is a master or slave within a NIS, NIS+, DNS, etc., use special care to ensure the system being unconfigured has it's services redirected to another system before unconfiguring. Failure to do so could possibly erase domain mapping directories or cause inconsistent behavior of the domain.
And you might want to look at doc id 21105
Quote:
This article assumes that the new NIS master server will be running
Solaris 2.6 or higher. If the new server will be running an
older Solaris OS, such as Solaris 2.5.1, then NSKIT 1.2 will
need to be installed on the system first. Refer to Infodoc #11989
for installation NSKIT instructions.

1. On the old NIS master backup or make a copy of
any and all nis files used to build the maps. These
might live in the /etc directory or whatever directory you
specified for DIR= and PWDIR= in the /var/yp/Makefile.
Here is a possible list of files, though you may not
need them all.

passwd
shadow
group
hosts
ethers
networks
rpc
services
protocols
netgroup
bootparams
aliases
publickey
netid
passwd.adjunct
group.adjunct
netmasks
timezone
auto.master
auto.home

2. On the new NIS master copy all the files over from the old NIS master
machine and put them in the directory used to store the database files,
i.e. /var/etc.

3. Modify the /var/yp/Makefile to reflect this directory.
Have the Makefile DIR and PWDIR variable point to the correct directory for
the target files.

From the Makefile:

DIR =/etc <---- this should point to location of all files aside
from the passwd/shadow file.
* /var/etc for this example

PWDIR = /etc <---- this should point to the passwd/shadow file
DOM = `domainname` * /var/etc for this example


4. If the new master is currently an NIS client, then remove NIS
from this machine prior to configuring it as the new NIS master.
See section 2.9 of the NIS PSD. Refer to Infodoc #12000.

5. Bring down the old NIS master.

6. Setup the new Solaris machine as a NIS Master according
the NIS PSD (infodoc #12000) section 2.1: How to Setup a NIS Master Server

Note: ***** the /var/yp/Makefile was modified earlier ******

7. Once the new NIS master is configured, then remove NIS from the old
master. If you plan to reconfigure the old master as an NIS client or slave,
then refer to section 2.2 and 2.3 of the NIS PSD to set it up as a slave or
section 2.5 to set it up as a NIS client.

8. If you are keeping the hostname and IP address of the NIS master the same,
then you will not have to rebuild the slaves. If the new NIS master will have
a different IP address or hostname, then you will need to remove NIS from the
slave(s) and rebuild all of the NIS slave servers. Refer to section 2.2 and 2.3
of the NIS PSD to set up a NIS slave.

9. All the nis clients will now bind to either a slave(s) currently configured
or the new NIS master. If you ran the ypinit -c to setup the clients, then you
will need to edit the file,

/var/yp/binding/'domainname'/ypservers

adding the name of the new NIS master to the list of servers and also removing
the name of the old NIS master.

If the clients are running ypbind with the -broadcast option, then
this step is not necessary.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

nfs mount: RPC: Rpcbind failure - RPC: Timed out

Fails to mount the server (10.125.224.22) during installation of a software on client, throwing the below error: nfs mount: 10.125.224.22: : RPC: Rpcbind failure - RPC: Timed out nfs mount: retrying: /cdrom This happened after complete shutdown of the lab. The server came up fine but most... (1 Reply)
Discussion started by: frintocf
1 Replies

2. UNIX for Dummies Questions & Answers

boot up failure unix sco after power failure

hi power went out. next day unix sco wont boot up error code 303. any help appreciated as we are clueless. (11 Replies)
Discussion started by: fredthayer
11 Replies

3. Solaris

RPC: Rpcbind failure - RPC: Timed out error (solaris)

C: Rpcbind failure - RPC: Timed out error (solaris) hello an nfs server on my sun fire v440 is not responding , i get the error bellow and lots of my networking services are not reponding, please helppppp its an emergency RPC: Rpcbind failure - RPC: Timed out i also get NFS server... (2 Replies)
Discussion started by: feg
2 Replies

4. Solaris

Error : "RPC: Rpcbind failure - RPC: Timed out"

Hello I am having an issue with a server SUN FIRE T2000 (Solaris 10). First of all the server didn't boot normaly so I did a full restoration of the file systems. Now the server boot, most of the services are available (not all the services), but I keep on seeing RPC: Rpcbind failure -... (4 Replies)
Discussion started by: feg
4 Replies

5. Solaris

RPC: Rpcbind failure - RPC: Timed out

while i trying to mount from NAS i have this messages mount -F nfs -o rw 172.16.110.13:/tremabkup /tremabkup nfs mount: 172.16.110.13: : RPC: Rpcbind failure - RPC: Timed out nfs mount: retrying: /tremabkup nfs mount: 172.16.110.13: : RPC: Rpcbind failure - RPC: Timed out nfs mount:... (2 Replies)
Discussion started by: thecobra151
2 Replies

6. Shell Programming and Scripting

Column operation : cosne and sine operation

I have a txt file with several columns and i want to peform an operation on two columns and output it to a new txt file . file.txt 900.00000 1 1 1 500.00000 500.00000 100000.000 4 4 1.45257346E-07 899.10834 ... (4 Replies)
Discussion started by: shashi792
4 Replies

7. Red Hat

RPC Timeout

I have a RHEL 2.1 machine that I am trying to get to mount a remote nfs filesystem. Both servers have 2 network interfaces. My linux machine can mount the filesystem through one interface with no problems but if I switch over and try to mount it through the other interface using a totally... (1 Reply)
Discussion started by: darren.wyatt
1 Replies

8. HP-UX

Help with RPC Exception

Hi, I am trying to use swremove to remove some old software packages before an upgrade. I keep getting the same error below. I have restarted swagent, i have killed the swagent process and started it, and I have restarted the entire system. I have now run out of ideas. Anyone know what the problem... (2 Replies)
Discussion started by: ejbrever
2 Replies

9. Programming

RPC Programming

I am trying to create a server and client pair to run using RPC. I have generated the client/server stubs, the XDR file, and the header file using rpcgen. The problem is that when I try to compile the code, I always get undefined symbols: xdr_vector, xdr_pointer, clnt_create, xdr_char,... (1 Reply)
Discussion started by: emeralddream
1 Replies

10. Programming

Rpc

Hello, I would like to do a program (in C) on which I would have to call 3 or more executables using execl command. But if the executables are situated on another machine say Y and I do a programe on the machine X, is it possible to invoke those executables (binaries) from the other machine... (1 Reply)
Discussion started by: driki
1 Replies
Login or Register to Ask a Question