PCNFS can't find YP server

2007-12-25 8:22:00

Here is what I wrote:

------- Forwarded Message

To: Sun Managers <sun-managers@eecs.nwu.edu>

Subject: PCNFS can't find YP server

Date: Mon, 12 Jul 93 10:47:52 -0400

From: Tommy Reingold <tommy>

The PC's on my net run PCNFS version 3.0.1. My YP master and slave

servers run SunOS 4.1.3 and are sparc 10's. Since I replaced my 3/180

with a sparc 10, the PC's can't find a YP server any more. They just

hang when looking for one. Any clues?

------- End of Forwarded Message

The following people wrote in:

"Andrew Luebker" <aahvdl@eye.psych.umn.edu>

Jeff Wolfe <wolfe@essc.psu.edu>

bert@penril.com (Bert Robbins)

heiser@tdwr.ed.ray.com (Bill Heiser)

ulysses!shankar

root@rjrt.COM (0000-Admin(0000))

"Susan Thielen" <thielen@irus.rri.uwo.ca>

manuel@efi.com (Manuel Morales)

pjw@sma.usna.navy.MIL (Peter J. Welcher -- math FACULTY <pjw@sma.usna.navy.MIL>)

Here are some reasonable suggestions that were wrong:

Make sure I'm running rarpd on the YP servers.

Make sure all the YP servers are running rpc.pcnfsd. In my case, they

are.

Make sure the map "ypservers" exists and contains the list of the YP

servers. It does, and it does.

Peter Welcher hit the nail on the head. Here is his quote:

        Put 'return 0' at the end of the int functions in pcnfsd.c on

        the Sun and recompile. (SPARC compiler does NOT automatically

        do this for you the way Sun-3 did). (And get a newer PCNFS,

        like 5, since it fixes many other bugs and works well with MS

        Windows).

This makes sense, because my trouble began when I removed the Sun 3 as

a YP server.

I recompiled rpc.pcnfsd with "return 0" in all integer functions that

don't have explicit return statements. I installed the change, and the

PC's were ecstatic. Well, the users were; I don't know much about the

emotions of PC's.

I know I "should" upgrade my version of PCNFS but this modification did

fix *this* problem.

Comments

Got something to say?

You must be logged in to post a comment.