Sponsored Content
Operating Systems Solaris How to get RPC(Remote Proceedure Call) values? Post 302264912 by otheus on Friday 5th of December 2008 06:17:21 AM
Old 12-05-2008
You query the portmapper.
Code:
rpcinfo -p

 

10 More Discussions You Might Find Interesting

1. Solaris

Admintool and rpc call

Hi all, I'm trying to launch admintool via an export DISPLAY. i get the message: Received communication service error 4: Remote procedure call timed out: program = 100087, version = 10 Just to say, i don't use nis/nisplus on my server... What to do? Thanx Jason (17 Replies)
Discussion started by: penguin-friend
17 Replies

2. UNIX for Advanced & Expert Users

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

3. Programming

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

4. UNIX for Dummies Questions & Answers

help remote procedure call

i am beginig with unix c code for sun remote procedure call to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array b. Add the array c. Find max d. Find... (1 Reply)
Discussion started by: auto2000
1 Replies

5. Programming

help remote procedure call

am beginig with unix c code for sun remote procedure call You are to write a program using RPC facility to do the following: 1- The clients reads in a variable length array from the command line 2- The client offers a menu for the user to choose what to do with the array: a. Sort the array... (1 Reply)
Discussion started by: auto2000
1 Replies

6. Solaris

RPC: Rpcbind failure - RPC: Timed out

while i trying to mount from NAS i have this messages mount -F nfs -o rw 172.16.110.13:/tremabkup /tremabkup nfs mount: 172.16.110.13: : RPC: Rpcbind failure - RPC: Timed out nfs mount: retrying: /tremabkup nfs mount: 172.16.110.13: : RPC: Rpcbind failure - RPC: Timed out nfs mount:... (2 Replies)
Discussion started by: thecobra151
2 Replies

7. Programming

Is it possible to call remote function in another daemon?

Hi, Is it possible to call a remote function in another daemon? Here is the setup: I have two daemons daemon A with function "s" and daemon B with function "k". I need a way function "s" from daemon A to call a function "k" from daemon B and pass some arguments. When the request is ... (13 Replies)
Discussion started by: rcbandit
13 Replies

8. Solaris

RPC: Rpcbind failure - RPC: Timed out error (solaris)

C: Rpcbind failure - RPC: Timed out error (solaris) hello an nfs server on my sun fire v440 is not responding , i get the error bellow and lots of my networking services are not reponding, please helppppp its an emergency RPC: Rpcbind failure - RPC: Timed out i also get NFS server... (2 Replies)
Discussion started by: feg
2 Replies

9. Solaris

nfs mount: RPC: Rpcbind failure - RPC: Timed out

Fails to mount the server (10.125.224.22) during installation of a software on client, throwing the below error: nfs mount: 10.125.224.22: : RPC: Rpcbind failure - RPC: Timed out nfs mount: retrying: /cdrom This happened after complete shutdown of the lab. The server came up fine but most... (1 Reply)
Discussion started by: frintocf
1 Replies

10. Programming

Call failed: RPC: Can't decode result

Hello I am trying to run rpc program to query an entry from a file at the server side that is in the form of <mm> <dd> <event>. I get the proper result at the server. I have verified it by printf statements just before return statement of the result at server side. But somehow I am unable to... (0 Replies)
Discussion started by: mvikramreddy92
0 Replies
RPCINFO(8)						    BSD System Manager's Manual 						RPCINFO(8)

NAME
rpcinfo -- report RPC information SYNOPSIS
rpcinfo -p [host] rpcinfo [-n portnum] -u host program [version] rpcinfo [-n portnum] -t host program [version] rpcinfo -b program version rpcinfo -d program version DESCRIPTION
rpcinfo makes an RPC call to an RPC server and reports what it finds. OPTIONS
-p Probe the portmapper on host, and print a list of all registered RPC programs. If host is not specified, it defaults to the value returned by hostname(1). -u Make an RPC call to procedure 0 of program on the specified host using UDP, and report whether a response was received. -t Make an RPC call to procedure 0 of program on the specified host using TCP, and report whether a response was received. -n Use portnum as the port number for the -t and -u options instead of the port number given by the portmapper. -b Make an RPC broadcast to procedure 0 of the specified program and version using UDP and report all hosts that respond. -d Delete registration for the RPC service of the specified program and version. This option can be exercised only by the super-user. The program argument can be either a name or a number. If a version is specified, rpcinfo attempts to call that version of the specified program. Otherwise, rpcinfo attempts to find all the reg- istered version numbers for the specified program by calling version 0 (which is presumed not to exist; if it does exist, rpcinfo attempts to obtain this information by calling an extremely high version number instead) and attempts to call each registered version. Note: the version number is required for -b and -d options. EXAMPLES
To show all of the RPC services registered on the local machine use: example% rpcinfo -p To show all of the RPC services registered on the machine named klaxon use: example% rpcinfo -p klaxon To show all machines on the local net that are running the Yellow Pages service use: example% rpcinfo -b ypserv 'version' | uniq where 'version' is the current Yellow Pages version obtained from the results of the -p switch above. To delete the registration for version 1 of the walld service use: example% rpcinfo -d walld 1 SEE ALSO
rpc(5), portmap(8) RPC Programming Guide. BUGS
In releases prior to SunOS 3.0, the Network File System (NFS) did not register itself with the portmapper; rpcinfo cannot be used to make RPC calls to the NFS server on hosts running such releases. Red Hat Linux March 9, 2001 Red Hat Linux
All times are GMT -4. The time now is 06:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy