Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rpc(5) [ultrix man page]

rpc(5)								File Formats Manual							    rpc(5)

Name
       rpc - remote procedure call file

Description
       The file is an ASCII file that contains the following information:

       rpc name
       numerical rpc ID
       aliases

       Each  name is separated from the next by a new line.  Items are separated by any number of blanks or tab characters or both.  A number sign
       (#) indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines that search the file.

       The database can be distributed in a network by a naming service, such as Yellow Pages or BIND/Hesiod.  See the Guide to the  Yellow  Pages
       Service or the Guide to the BIND/Hesiod Service for setup information.

Files
See Also
       getrpcent(3n)
       Guide to the BIND/Hesiod Service
       Guide to the Yellow Pages Service

																	    rpc(5)

Check Out this Related Man Page

getrpcent(3n)															     getrpcent(3n)

Name
       getrpcent, getrpcbynumber, getrpcbyname, setrpcent, endrpcent - get rpc entry

Syntax
       #include <netdb.h>

       struct rpcent *getrpcent()

       struct rpcent *getrpcbynumber(number)
       int number;

       struct rpcent *getrpcbyname(name)
       char *name;

       setrpcent(stayopen)
       int stayopen;

       endrpcent( )

Description
       The  and  subroutines  each return pointers to an object with the following structure containing the broken-out fields of a line in the rpc
       database:
       struct  rpcent { 	      /* see getrpcent(3) */
	       char    *r_name;
	       char    **r_aliases;   /* alias list */
	       char    r_number;      /* rpc program number */
       };
       struct group *getrpcent(), *getrpcbynumber(), *getrpcbyname();

       The members of this structure are:

       r_name	  The name of the rpc.
       r_aliases A zero-terminated list of alternate names for the rpc.
       r_number   The rpc program number for the rpc.

       If the stayopen flag on the subroutine is NULL, the database is opened.	Otherwise the has the effect of rewinding the database.   The  may
       be called to close the file when processing is complete.

       The  subroutine	simply reads the next line while and search until a matching gid or name is found (or until EOF is encountered).  The sub-
       routine keeps a pointer in the database, allowing successive calls to be used to search the entire file.

       A call to must be made before a loop using in order to perform initialization and an must be used after the loop.  Both and make  calls	to
       and

Restrictions
       All information is contained in a static area so it must be copied if it is to be saved.

       If YP is running, does not return the entries in any particular order.  See the Guide to the Yellow Pages Service for setup information.

       The database may also be distributed by the BIND/Hesiod naming service.	See the Guide to the BIND/Hesiod Service for more information.

Return Values
       A null pointer(0) is returned on EOF or error.

Files
See Also
       rpc(5), svc.conf(5)
       Guide to the BIND/Hesiod Service
       Guide to the Yellow Pages Service

																     getrpcent(3n)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

inetd problems?!?!?! - Help complete newbee!!!

I'm in real trouble :( One of our Ultra 10's went down and our Unix guys aren't around for another week or so (eek!) and we need to get it up and running again ASAP so after hooking up a keyboard and monitor I switched it on and it went through system check. It then started to display the... (4 Replies)
Discussion started by: d_cottam
4 Replies

2. UNIX for Dummies Questions & Answers

./configure error

Hey, i'm trying to use httptunnel and it won't let me configure it. here's what the cmnd line gives me: pbg4% ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets... (4 Replies)
Discussion started by: macaddictg4
4 Replies

3. 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

4. Debian

NFS problems (Debian)

I'm trying to share some directories with NFS among Debian machines. In order to do so, I installed nfs-common and nfs-kernel-server on the server machine. It seemed that starting portmap daemon lasted a long time and I get the following messages in /var/log/messages: Jan 30 18:18:03 masternode... (26 Replies)
Discussion started by: bellman
26 Replies

5. Solaris

rpc bind not working

Hi all, Was hoping someone could shed some light on my problem, rpc bind is in maintenance mode on Solaris 10 and won't fire up. contents of the error log are: rpcbind failed with 1. bash-3.00# Because rpc-bind isn't working, it's stopping nfs and autofs from working too ... (6 Replies)
Discussion started by: callmebob
6 Replies

6. Programming

C Shell RPC help

Hello everyone, I am writing a rpc program, I have put the server program on a directory in another computer and i run the client program from my computer. I want that when i call a function in the server program it will have to execute a shell script and the retruning of the shell script be... (6 Replies)
Discussion started by: ermalguni
6 Replies

7. AIX

model 43P 7248 Recovery!

HI all! this is my problem: my boss got a Model 43P 7248-100 PowerPC server with the AIX 4.2 os, but some days ago it crashed and now it doesn't want to boot up again, it stops after the initial diagnostic phase with the "PowerPC" screen! I must recover some important data from the hard disk, so... (6 Replies)
Discussion started by: AKO
6 Replies

8. AIX

Windows on PowerPC4+

Hi All Does anyone know how to install Windows on a PowerPC4+ system? Is there any Virtual Machine that works on AIX or Linux OS with PPC hardware ? Thank You (5 Replies)
Discussion started by: Anuradhai4i
5 Replies

9. Shell Programming and Scripting

Remote simulation and 'at' command

Hey, Task seems to be quite easy, but I'm still a bit green in shell scripting. I hope you can help me a bit. I have to run some simulation at the distance by remote terminal. Normally when I'm working on the server directly I just type: mpirun -np 8 compressibleInterFoam -parallel > log.txt... (7 Replies)
Discussion started by: PiPrus
7 Replies

10. Programming

Configure ONC RPC clnt_create Timeout

Do you guys know of a way to limit the amount of time will be spent attempting to create a ONC RPC client? I am currently using the function clnt_create() to create my clients. However, if the remote RPC IP address is not reachable (on different network and unplugged) the GETPORT for portmapper... (7 Replies)
Discussion started by: cchermok
7 Replies

11. Solaris

Error : "RPC: Rpcbind failure - RPC: Timed out"

Hello I am having an issue with a server SUN FIRE T2000 (Solaris 10). First of all the server didn't boot normaly so I did a full restoration of the file systems. Now the server boot, most of the services are available (not all the services), but I keep on seeing RPC: Rpcbind failure -... (4 Replies)
Discussion started by: feg
4 Replies

12. Programming

[C][RPC][Solaris]Not compiling client/server

Hello, I have task to make a program that multiplies polynomials as client(input/output indexes)-server(multiplying) using RPC. However when I try to compile it with gcc it gives the next info: for client: Udefined first symbol referenced Clnt_create client.o for server: Udefined first... (5 Replies)
Discussion started by: manarina
5 Replies

13. Red Hat

/var/log/messages error "kernel: RPC: bad TCP reclen"

Hi, I am seeing the following errors in my environment, not sure why is it happening, any ideas? Thanks. kernel: RPC: bad TCP reclen 0x73746174 (non-terminal ) Dec 17 02:14:48 kernel: RPC: bad TCP reclen 0x63480000 (large) Dec 17 02:14:48 kernel: RPC: bad TCP reclen 0x633f0000 (large) Dec... (5 Replies)
Discussion started by: amarlinux
5 Replies

14. AIX

Tell automount to use NFSv2 on AIX 6.1

Hello, I have a CentOS 6.1 server exporting a filesystem with read/write to world. I have an AIX Client mouting this filesystem from an NIS map. One of our applications is giving an error and after a little research, we found that we need the AIX Client to mount this filesystem with NFS V2 for... (6 Replies)
Discussion started by: pocodot
6 Replies

15. AIX

Password for Firmware woes!

Hi All, On wanting to re-install AIX 6.1 on to an RS 6000 Power 9111 285 station, I've tried to get in to SMS and also to boot from the DVD drive, but now the Firmware is locked and asking for the password. I originally set the password about 6 years ago and have forgotten it because I've never... (14 Replies)
Discussion started by: Box_the_Jack_in
14 Replies