RPC

James Gray james at grayonline.id.au
Mon Sep 5 05:13:18 UTC 2005


On Monday 05 September 2005 15:02, ZIYAD A. M. AL-BATLY wrote:
> On Sun, 2005-09-04 at 20:51 -0700, Michael Louie Loria wrote:
> > Hash: SHA512
> >
> > I'm creating a C program that will use RPC but whenever I run it, it
> > receives this error. I have tested it n Red Hat 9 and it works fine.
> >
> > Cannot register service: RPC: Unable to receive; errno = Connection
> > refused unable to register (ADD_PROG, ADD_VERS, udp)
> >
> > How will I fix this problem?
> >
> > thanks,
> >
> > Michael Louie Loria
>
> I'm not 100% sure, but I think your problem is because there is no RPC
> daemon running on your system.  You need to install the package
> "portmap".  It's not installed by default in Hoary.
>
> Either give my solution a try, or wait for someone with more knowledge
> to help you.
> Ziyad.

You're correct:

$apt-cache show portmap
Package: portmap
Priority: optional
Section: net
Installed-Size: 116
Maintainer: Anibal Monsalve Salazar
Architecture: i386
Version: 5-7ubuntu3
Replaces: netbase (<< 4.00)
Depends: libc6 (>= 2.3.2.ds1-4), libwrap0, lsb-base (>= 1.3-9ubuntu3)
Filename: pool/main/p/portmap/portmap_5-7ubuntu3_i386.deb
Size: 22992
MD5sum: f96ea08aaf1c2ad5e895e1a1c9b11163
Description: The RPC portmapper
 Portmap is a server that converts RPC (Remote Procedure Call) program
 numbers into DARPA protocol port numbers.  It must be running in order
 to make RPC calls.
 .
 Services that use RPC include NFS and NIS.
Bugs: mailto:ubuntu-users at lists.ubuntu.com
Origin: Ubuntu

Cheers,

James
-- 
Marriage is not merely sharing the fettucine, but sharing the
burden of finding the fettucine restaurant in the first place.
  -- Calvin Trillin




More information about the ubuntu-users mailing list