SUMMARY: RPC failure on yp operation

From: Patrick L. Nolan (pln@egret1.Stanford.EDU)
Date: Tue Aug 26 1997 - 12:04:21 CDT


I had a problem with a new machine that had trouble with ypcat and
NFS mounting. The original message is included below.

Replies came from casper@holland.Sun.COM (Is this the omnipresent Casper
Dik?) and brw@jazz.njit.edu (Brian). Both had correct suggestions which
led me to the solution. It was a stupid typing error. In /etc/hosts
I had mistyped the IP address of a machine which is both the NIS server
and an NFS server. In fact, I had typed the address of the new
client machine itself. No wonder it was so confused! The two addresses
differ in only one digit, so I didn't notice it on a cursory inspection.

Thanks!

Original question:
>
> We just got an Ultra 2 server, model 2200 (two CPUs). I installed
> Solaris 2.5.1 on it. It's an NIS client. I'm having real trouble
> with the automounter and YP programs. The NIS server and all the
> file servers are running SunOS 4.1.x.
>
> I added the new machine to the netgroup that allows file access, but
> it is denied access. I had to remove all "access=" restrictions to
> allow the new machine to mount at all. At least that was the story on
> Friday. Today I tried to do a mount by hand, and I see this sort of
> thing:
> # mount egret1:/egret1.local /foo
> nfs mount: egret1:: RPC: Program not registered
> nfs mount: retrying: /foo
>
> When I try to see the netgroup, it gives me this:
> # ypcat netgroup
> RPC failure on yp operation
>
> The output of truss isn't very illuminating, at least to me.
>
> The really odd thing is that we have an old Sparc 5 clone that's been
> running 2.5.1 since June with no trouble. I tried to set up the new
> machine just like the old one, but this stuff keeps happening. The /etc
> files I modified are defaultrouter, auto_home, resolv.conf, and
> nsswitch.conf. I also installed AFS.
>
> This morning I installed the recommended patch bundle and rebooted, with
> no improvement.
>



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:01 CDT