LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2004, 10:02 AM   #1
Gabriel2010
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Red Hat, Suse
Posts: 5

Rep: Reputation: 0
Portmap and RPC in RHL8


Dear All,

Got a system running mysql, bugzilla, apache, VNC server. I noticed that netstat -autv shows sunrpc as active. Also, did a /etc/rc.d/inittab/portmap stop which proved 'portmap' was there.

Based on what this system is currently running, does it need sunrpc & can portman be stopped?

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

Normally portmap forks and dissociates itself from the terminal like any
other daemon. portmap then logs errors using syslog(3)"

Thanks!
 
Old 08-17-2004, 10:37 AM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
sunRPC is used by FAM, NFS and NIS amongst other things. If your system doesn't use/export NFS network shares and you don't need file alteration monitoring you can close it down entirely, indeed this is recommended.

The plan is to phase FAM out in favour of something that doesn't use RPC, this work is underway now but not complete yet.
 
Old 08-17-2004, 11:14 AM   #3
Gabriel2010
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Red Hat, Suse
Posts: 5

Original Poster
Rep: Reputation: 0
OK

Thanks!

"you don't need file alteration monitoring you can close it down entirely, indeed this is recommended."

I will be running some monitorin tool like tripwire to monitor any system changes, then does this implies sunrpc should be kept?

Closing down as opposed to uninstalling? Look slike portmap is also used by other programs, right?

Thanks again!
 
Old 08-19-2004, 01:06 PM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
I don't know what tripwire does I'm afraid
 
  


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
NFS RPC: Port mapper failure - RPC: Unable to receive KEJP Linux - Networking 6 12-18-2006 02:14 AM
mountd time out: "mount_nfs: bad MNT RPC: RPC: Timed out" on client brush Debian 1 10-15-2006 02:01 PM
rpc.lockd & rpc.statd twantrd Linux - General 1 05-21-2005 09:24 AM
NFS Portmap: RPC: Program not registered fibbi Linux - Software 2 08-12-2004 12:40 AM
Unmounting NFS filesystems: Cannot MOUNTPROG RPC: RPC ErnstVikenstein Linux - General 4 05-31-2003 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration