LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-16-2009, 10:12 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,257

Rep: Reputation: 53
What are rpc.statd and portmap?


What are rpc.statd and portmap?

On a new server, there is a port open with them running.

Do I want to leave them running or should I stop them?

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN 2387/rpc.statd
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2346/portmap
 
Old 10-17-2009, 01:28 AM   #2
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Hi,

did you have checked the man page for both processes? This will explain in detail what you are asking for.
 
Old 10-17-2009, 05:06 AM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,257

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by mesiol View Post
Hi,

did you have checked the man page for both processes? This will explain in detail what you are asking for.
Thanks, but I have no idea what this means:
Code:
     Portmap is a server that converts RPC program numbers into 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 determine the port number where RPC packets should be sent.

     Portmap must be started before any RPC servers are invoked.
And rpc.statd seems like it is just for NFS, is that correct?
 
Old 10-17-2009, 11:00 AM   #4
reickler
LQ Newbie
 
Registered: Sep 2009
Posts: 29

Rep: Reputation: 20
They're used by NFS (and maybe a few other services?). As I understand it to work, portmap accepts inbound requests on a single port and redistributes ("maps") them to the correct internal service. The rcp.statd keeps track of which ports each of the internal services are using. I guess it's supposed to minimize the number of "holes" you have to open in your firewall.
 
  


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
Rhel 4.5 - ntpd and rpc.statd don't start on boot critesta Red Hat 2 05-25-2009 10:57 AM
rpc.statd AUSanders79 Linux - Security 3 12-07-2007 04:11 PM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 09:24 AM
rpc.statd questions kgao Linux - Software 0 05-14-2005 04:25 PM
rpc.statd won't start mahaabaala Linux - Software 0 01-24-2003 05:04 AM


All times are GMT -5. The time now is 09:02 AM.

Main Menu
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