LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-16-2009, 11:47 PM   #1
figo
LQ Newbie
 
Registered: May 2009
Posts: 14

Rep: Reputation: 0
Smile rpc: remote program is not registered


client side trace (printed by program in shell)

In clnt_create_timed...
trying netid tcp
hostname: 10.98.228.147 progNum: 6874321 ver: 1
net id:tcp nc_protofmly: inet nc_proto:tcp
nc_device_path:-
tp.sec: 2
--RPC errorNum: 15--

1> Note that errorNum 15 means "remote program not registered"

while here's the server side trace

[root@10.92.228.147]# /usr/bin/rpcinfo
program version netid address service owner
100000 4 tcp6 ::.0.111 portmapper superuser
100000 3 tcp6 ::.0.111 portmapper superuser
100000 4 udp6 ::.0.111 portmapper superuser
100000 3 udp6 ::.0.111 portmapper superuser
100000 4 local /var/run/rpcbind.sock portmapper superuser
100000 3 local /var/run/rpcbind.sock portmapper superuser
6874321 1 tcp 0.0.0.0.30.151 - superuser
...

2> Note that the service for programNum 6874321 is '-'. Basically I've installed rpcbind on server side and assume that server will register service via rpcbind and client will talk to rpcbind first.

[root@10.92.228.147]# rpcinfo -p server_host_name
program vers proto port service
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 756 status
100024 1 tcp 759 status
100021 1 udp 53281 nlockmgr
100021 3 udp 53281 nlockmgr
100021 4 udp 53281 nlockmgr
100021 1 tcp 44463 nlockmgr
100021 3 tcp 44463 nlockmgr
100021 4 tcp 44463 nlockmgr
100007 2 udp 980 ypbind
100007 1 udp 980 ypbind
100007 2 tcp 983 ypbind
100007 1 tcp 983 ypbind


2.1> Curiously, when rpcinfo with -p(probe portmapper) hostname option, rpcbind is not shown.

3> 0.0.0.0.30.151 means 30*256+151 = 7831, which is exactly what the program should behave (so it's a correct port).

[root@10.92.228.147]# netstat -l | grep 7831
tcp 0 0 *:7831 *:* LISTEN

4> Note that Recv/Send is 0 and local port is truly 7831, listening..

So symptom is:
server does seem to have registered the program but client not able to rpc to it because client think the program is not registered on server.


Grateful for any thoughts!

Last edited by figo; 06-17-2009 at 12:16 AM.
 
Old 06-17-2009, 01:11 PM   #2
figo
LQ Newbie
 
Registered: May 2009
Posts: 14

Original Poster
Rep: Reputation: 0
Cool

any idea?
 
  


Reply


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
RPC: Program not registered lkapoor_ari Linux - General 3 03-31-2008 04:29 PM
mount: RPC: Program not registered ritesh_aladdin Linux - Networking 7 10-01-2005 11:14 AM
mount: RPC: Program not registered Harry Seldon Linux - Networking 3 09-05-2005 04:05 PM
Mount RPC : Program not registered phonecian Linux - Networking 2 08-29-2003 06:51 AM
mount: RPC: Program not registered madenan Linux - Software 2 08-16-2003 03:39 PM


All times are GMT -5. The time now is 04:27 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration