RPC programming on Linux

RPC programming on Linux

Post by Stephen Tanto » Sun, 21 Dec 1997 04:00:00



Ok, I've decided I want to do  some RPC programming on Linux (I'm using
RedHat 4.2.)  I recently did some work with BSD sockets in a
communications class at University.  So, I picked up "Power Programming
with RPC" by John Bloomer which was suggested to me by one of my profs.
Now my problem is, I have an example from the book finally compiled but
whenever I try to run the server I get and error reporting thet the
service cannot be registered.  After nosing around for a while I found
the rpcinfo utility.  The message I get back from rpcinfo -p is
    rpcinfo: can't contact portmapper: RPC Remote system error -
Connection refused

Anybody a little more experienced than me know whats going on?  It
almost looks to me like the portmapper doesn't even exits on my
system... Any help would be appreciated.

Thanx,
Steve Tanton.

 
 
 

RPC programming on Linux

Post by Juergen Hein » Sun, 21 Dec 1997 04:00:00


[...]

Quote:>whenever I try to run the server I get and error reporting thet the
>service cannot be registered.  After nosing around for a while I found
>the rpcinfo utility.  The message I get back from rpcinfo -p is
>    rpcinfo: can't contact portmapper: RPC Remote system error -
>Connection refused

/usr/sbin/portmap has to be up and running.

Bye, Juergen

--
\ Real name     : Juergen Heinzl     \       no flames      /

  \ Phone Private : +49 911-4501186    \                  /

 
 
 

1. Cannot MNT RPC: RPC: Program not registered

While trying to nfs mount a filesystem that exists on my Sun, running
SunOS 4.1.1, from FreeBSD, I get the following error message:

           Cannot MNT RPC: RPC: Program not registered

I'm certain that everything is set up properly on the Sun, and I'm
aware of the differences in the /etc/exports files used by SunOS and
FreeBSD.  The version of FreeBSD that I'm using is 2.1.6, soon to be
changed to 2.1.7.

On the other hand, I've no trouble at all in nfs mounting and
accessing a FreeBSD partion from the Sun.  

--
R. D. Davis                       http://www.access.digex.net/~rdd

Home telephone: 1-410-744-7964    unwanted older computer systems disassembled,
Work telephone: 1-410-744-4900    removed for free (locally) and preserved.

2. VPN

3. How Can program muti-thread program with RPC in AIX?

4. Linux Journal issue #3 (July)

5. How to use rpc.portmap, rpc.mountd, rpc.nfsd?

6. hpt374

7. Where are rpc.portmap, rpc.mountd, rpc.nfsd?

8. Download glibc or libc of java?

9. Dangers of rpc.portmap, rpc.mountd, rpc.nfsd

10. RPC 4.0 vs RPC 4.1 vs TI RPC

11. Comparison bet soap rpc, dce rpc and sun rpc

12. RPC programming on Linux doesn't work (using rpcgen)

13. RPC Programming OSF -> Linux