Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 11-14-2006, 12:16 AM   #1
Registered: Oct 2003
Posts: 78

Rep: Reputation: 15
RPC error


I am writing some sample application(on RH9) to learn about how to use RPC protocol by reading from some document.
I have compiled the client and server.
I am executing server as a background process. But when I execute the client its giving the error: "RPC: Program not registered".
But, I have done changes to the file "hosts.allow" and also the function svc_register() called in the server is returning successfully (which means sever is successfully registering the procedure with the portmapper).

Can anybody please let me know if I am missing anything else?

Old 11-14-2006, 05:42 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 229Reputation: 229Reputation: 229
Is portmapper running on both machines you're trying to connect?
Old 11-15-2006, 02:01 AM   #3
Registered: Oct 2003
Posts: 78

Original Poster
Rep: Reputation: 15
I am running server and client and the portmapper on the same machine.
Old 11-16-2006, 06:47 AM   #4
Registered: Oct 2003
Posts: 78

Original Poster
Rep: Reputation: 15
Its working now. I could not figure out what the problem was.
One more question is the command "rpcinfo -p" is not showing the name of my service in its output even though its showing program number, version, protocol, port. Can anybody pl. let me know how to view the service name as well?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 02:14 AM
NFS - RPC Error ashlesha Linux - Software 2 11-13-2006 12:16 PM
An RPC error occured fdservices Linux - Networking 0 02-08-2006 10:40 AM
RPC error during shutdown dlester03 Linux - General 2 06-30-2004 09:15 PM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 12:10 AM

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration