RPC
Michael Louie Loria
michaellouieloria at yahoo.com
Tue Sep 6 00:17:11 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
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
- - - - - -
Thanks ZIYAD A. M. AL-BATLY and James Gray. I needed to install
portmap and got it running
-----BEGIN PGP SIGNATURE-----
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment: Google, Skype, Yahoo ID: michaellouieloria
iQEVAwUBQx1CaLXBHi2y3jwfAQr9dQf/QnZ/6btob2HIMKe+vDWK/tgKHEYGm57U
PV8ATD/uscBtWSJp6iHOhjFKPOR4hwn7ib66kx3wFSI6FUPBU1gWeRmp/c4IJX9W
8Kre94zkQ7xDlcU9CDq5hpuvq4vIB9yPyeVWjqSvllo/IZamIQRNTtrx83BDQp4O
joyrti/IK4Bxa8LzvEc13zoNnIjSuTGL9C1eNH9ygvbXagtWc9AIf2p/pRSi3QpZ
/Oa7+36SQTvRAU99LIyCTmazt9nr321gMdPGqbuG7FBv/Zuyk63AnX1lMs9Yjk7N
LHfxwRK4xcI26A8FmzBiuUycIsmCnWU6R6zbI1pdOgbqvdBjq0eFDw==
=Ty6q
-----END PGP SIGNATURE-----
---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 0536-0, 09/05/2005
Tested on: 9/6/2005 12:17:05 AM
avast! - copyright (c) 1988-2005 ALWIL Software.
http://www.avast.com
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/89 - Release Date: 9/2/2005
______________________________________________________
Click here to donate to the Hurricane Katrina relief effort.
http://store.yahoo.com/redcross-donate3/
More information about the ubuntu-users
mailing list