[comp.unix.ultrix] sun rpc 3.9 problems

edvax@alpha.ces.cwru.edu (11/08/88)

Reply-to: edvax@alpha.ces.cwru.edu





I got sunrpc 3.9 recently and am having many problems with it.
I installed it on our VAXstations 2000 (Ultrix 2.2), however, none of the
demo programs want to work. svc_register() fails miserably.
For example, dir_svc is unable to register itself with DEC's portmapper.
Sun supplied portmapper doesn't seem to get along with our YP daemons (un-
bound domain errors and all that jazz) so I'm not using it.
DEC put rpc's into libc. If you link dir_svc with that but not with librpc.a
(that sunrpc 3.9 builds) it registers fine.   But when you try to do
an rls (remote listing), it sits there for couple of minutes then says
that portmapper rpc failed.  However, when I run rls as root it still sits
there for a while but then does it's jobs (i.e. it does an ls on the
designated machine).  Also, sun supplied rpcinfo is painfully slow for
some reason, compared with DEC's. Note that sunrpc 3.9 works just fine
when run on a sun and response is fine (2-3 seconds for rpcinfo -p) too.

I would appreciate somebody's help with this matter. Many thanks in
advance.

--ed