LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


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

Rep: Reputation: 15
RPC error


Hi,

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?

Regards,
Girish
 
Old 11-14-2006, 05:42 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Is portmapper running on both machines you're trying to connect?
 
Old 11-15-2006, 02:01 AM   #3
girish_hilage
Member
 
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
girish_hilage
Member
 
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?
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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