Re: portmapper - is it really required? (78 Views)
Reply
Super Advisor
Peter Gillis
Posts: 301
Registered: ‎08-23-1998
Message 1 of 7 (86 Views)

portmapper - is it really required?

 
Please use plain text.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 2 of 7 (86 Views)

Re: portmapper - is it really required?

from /etc/inetd.conf

# rpc services, registered by inetd with portmap
# Do not uncomment these unless you are running portmap!

In all things, the answer is sometimes.

If you want to use rpc, you need to run portmap.

11i

Regards,

hope you are well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Please use plain text.
Exalted Contributor
Steven E. Protter
Posts: 33,806
Registered: ‎08-15-2002
Message 3 of 7 (86 Views)

Re: portmapper - is it really required?

Should have added this in. thought of it after the fact.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90129/B2355-90129_top.htm...

Just becasue its 10.x manual doesn't mean its not relavent.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Please use plain text.
Honored Contributor
Con O'Kelly
Posts: 645
Registered: ‎03-18-2003
Message 4 of 7 (86 Views)

Re: portmapper - is it really required?

Hi Maria

It depends on what services you are running and what version of HP-UX.

portmapper has been replaced by rpcbind as of 11.x.

portmapper is a service that maps rpc addresses to rpc program numbers. Any application that uses RPC is contacted through portmapper or rpcbind daemon. NFS is an example of an application that requires rpcbind to be running.

In what context are you asking the question. Are you seeing a portmapper process running?

Cheers
Con
Please use plain text.
Super Advisor
Peter Gillis
Posts: 301
Registered: ‎08-23-1998
Message 5 of 7 (86 Views)

Re: portmapper - is it really required?

Thankyou so far for you replies to my empty question...I didnt even realise that I had sent an empty one, and now there are two entries for the same question! I have the details of my question in the other entry!!!
Sorry, but thanks
Maria
Please use plain text.
Occasional Visitor
RickyP
Posts: 1
Registered: ‎03-27-2013
Message 6 of 7 (83 Views)

Re: portmapper - is it really required?

Hello, can you please tell me what Portmapper is used for? I think it was used in conjunction with Silo Tape drives connected to Nonstop systems. What else is it used for? Thanks.

Please use plain text.
Honored Contributor
Matti_Kurkela
Posts: 6,249
Registered: ‎12-02-2001
Message 7 of 7 (78 Views)

Re: portmapper - is it really required?

It is a required component for all SunRPC services.

 

NFS and NIS are probably the most well known of those, but for example EMC (ex-Legato) NetWorker backup software presents as a SunRPC service.

 

SunRPC services may be located in variable port numbers, so there must be a mechanism that allows a client to find the service it's looking for. The SunRPC portmapper (also known as rpcbind) is always in port 111 (both TCP and UDP) and all the other SunRPC services are supposed to register with it.

 

There are standard port number conventions for certain SunRPC services - for example, the main NFS service should in modern systems be in port 2049. Some other SunRPC services may optionally be bound to a fixed port if required, but there may not be a well-defined standard port number for all of them.

 

If you're thinking about disabling portmapper/rpcbind on a particular host, run "rpcinfo -p". If the output only includes lines referring to port 111, there are no active SunRPC services other than the portmapper itself, and so it can probably be safely disabled.

MK
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation