Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

portmap(8) [osf1 man page]

portmap(8)						      System Manager's Manual							portmap(8)

NAME
portmap - The DARPA port to RPC program number mapper SYNOPSIS
portmap DESCRIPTION
The portmap daemon is a server that converts Remote Procedure Call (RPC) program numbers into Defense Advanced Research Projects Agency (DARPA) protocol port numbers. It must be running in order to make RPC calls. When an RPC server is started, it will tell portmap what port number it is listening to, and what RPC program numbers it is prepared to serve. When a client wishes to make an RPC call to a given program number, it will first contact portmap on the server machine to deter- mine the port number where RPC packets should be sent. The portmap daemon must be started before any RPC servers, including mountd and nfsd, are invoked. Note that if portmap crashes, all servers must be restarted. FILES
Specifies the command path RELATED INFORMATION
Files: services(4) Daemons: inetd(8) delim off portmap(8)

Check Out this Related Man Page

rpcbind(8)						    BSD System Manager's Manual 						rpcbind(8)

NAME
rpcbind -- portmap SYNOPSIS
rpcbind [-d] [-v] [-h bindip] DESCRIPTION
Rpcbind is a server that converts RPC program numbers into DARPA protocol port numbers. It is a replacement for the older portmap program. rpcbind supports the original version 2 portmap protocol and in addition supports the newer version 3 and version 4 protocols that are neces- sary for IPv6 support. It must be running on the server in order to make RPC calls. When an RPC server is started, it will tell rpcbind what address it is listening to, and what RPC program numbers it is prepared to serve. When a client wishes to make an RPC call to a given program number, it will first contact rpcbind on the server machine to determine the address where RPC packets should be sent. rpcbind is a launchd service. When the first server tries to register with rpcbind the RPC library will contact launchd and arrange for rpcbind to be started. Note it is no longer possible to run rpcbind from the command line. rpcbind logs errors and information using asl(3). rpcbind uses hosts_access(5) for access control; note access control patterns may only reference IP addresses. The following options are available and will need to be added to the rpcbind plist file. -d causes rpcbind errors and debugging information to be printed to the standard error output via asl_log. This option is no longer very useful. -v Enable verbose logging of access control checks. -h Specify specific IP addresses to bind to for UDP requests. This option may be specified multiple times and is typically necessary when running on a multi-homed host. If no -h option is specified, rpcbind will bind to INADDR_ANY, which could lead to problems on a multi-homed host due to rpcbind returning a UDP packet from a different IP address than it was sent to. Note that when specifying IP addresses with -h, rpcbind will automatically add 127.0.0.1 to the list. FILES
/System/Library/LaunchDaemons/com.apple.rpcbind.plist launchd.plist(5) file for rpcbind. Options should be added here. /usr/share/sandbox/rpcbind.sb sandbox(7) file for rpcbind. SEE ALSO
hosts_access(5), launchd.plist(5), launchd(8), rpcinfo(8) BUGS
If rpcbind crashes, all servers must be restarted. Version 4 getstat procedure is not implemented and will always return 0 and null values. RPC_SYSTEMERROR. -h option is not supported for IPv6. Darwin June 1, 2019 Darwin
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Portmapper not responding

Kindly When I start the server i have this error "portmapper on server 185.125.241.321 is not responding" let me also clarify that this is the old IP of the server and the new one 192.168.0.2 regards (1 Reply)
Discussion started by: sak900354
1 Replies

2. Linux

problem with pmap_set (portmapper)

Hi guys, i am putting this problem again please help me out.. The RPC problem is appearing on the screen while starting the portmap service,take a look of the real.. #/etc/init.d/portmap restart Stopping portmap: Starting portmap: Cannot register service: RPC: Timed out not registered:... (15 Replies)
Discussion started by: daya.pandit
15 Replies

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

4. SuSE

portmapper service

Hello, I've been asked to look this up and I'm having issue finding it. We are currently harding our servers and I'm new to SUSE 11. The security people at work want me to disable the portmapper service. How do you disable the portmapper service? Thanks ... (3 Replies)
Discussion started by: bitlord
3 Replies

5. AIX

portmap and nfsd

Hello, what is the relation between portmap and nfsd and how communication between them looks like. Does the nfsclient contact with the portmap or nfsd first. Many thanks in advance for helping me to understand this :) BR, p (3 Replies)
Discussion started by: pitmod
3 Replies

6. Solaris

Rpcinfo: can't contact portmapper: RPC: Authentication error; why = Failed (unspecified error)

I have two servers with a fresh install of Solaris 11, and having problems when doing rpcinfo between them. There is no firewall involved, so everything should theoretically be getting through. Does anyone have any ideas? I did a lot of Google searches, and haven't found a working solution yet. ... (2 Replies)
Discussion started by: christr
2 Replies

7. AIX

How to check that rpcbind/portmap on AIX allowes updates from non privileged ports?

Hi, I am trying to implement a service on AIX based on ONCRPC protocal and I want to use a RPC library called oncrpc4j because it is a non-blocked i/o library. I found it works fine on my work machine (WIndows 7) but failed on my AIX work station. The author of oncrpc4j told me that check that... (1 Reply)
Discussion started by: derekhsu
1 Replies

8. AIX

Unable to mount previously-working NFS share from NIM to LPAR

Right, now that I've finally worked out this website, I'll ask my question! I am having an absolute nightmare with NFS on AIX. I have used it many times, and I know what I'm doing, however I cannot fathom what is going on here. I have 2 LPARs, sitting on the same physical host. They are... (12 Replies)
Discussion started by: tmooredba
12 Replies