1829115 Members
13451 Online
109986 Solutions
New Discussion

Re: RPC/Linux

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

RPC/Linux

Can someone tell me how I can be sure that rpc services is running or not. What daemons need to be started for rpc? How do I start and or stop it?
UNIX IS GOOD
6 REPLIES 6
Balaji N
Honored Contributor
Solution

Re: RPC/Linux

ps -ef | grep rpc


rpc.statd and the portmap daeomons.


rpc.statd is being started by the nfslock on my box. portmap is started by init.

chkconfig --list nfslock
chkconfig --list portmap

--balaji(yawn!!!!)
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
Jerome Henry
Honored Contributor

Re: RPC/Linux

Look at /etc/rc.d/init.d to see if r* processes are here (rstatd, rusersd, rwhod) and nfs service, which are all using rpc.
Then look at /etc/rc.d/rc0.d to rc5.d to see at which level these processes are started (S) or killed (K). Then you'll know what is started, not stopped, so running.

You could search also by chkconfig --list | grep r*, but you'll get a long list with false returns.

hope this helps.

J
You can lean only on what resists you...
Caesar_3
Esteemed Contributor

Re: RPC/Linux

Hello!

service nfslock status
service portmap status
will show the status of the deamons

Caesar
Claudio Cilloni
Honored Contributor

Re: RPC/Linux

Another way to check the status of the rpc services is:

# rpcinfo -p

Obviously can be localhost.

man page, as always, helps! :-)

ciao
Claudio
Huc_1
Honored Contributor

Re: RPC/Linux

Hello

to check if you have the 2 process present do

ps -ef | grep -i "rpc"

or do

/etc/init.d/nfslock status
/etc/init.d/portmap status

to start or stop process do logged in as root

/etc/init/d/nsflock start
/etc/init/d/portmap start

also valid are the stop, restart commands.

P.S. dont forget to give us point if you found some of theses reply's usefull, thanks

Smile I will feel the difference
Huc_1
Honored Contributor

Re: RPC/Linux

Oouups , please discart my comment about points after sending my reply I did a refresh
and this then did show me you already had given points.


It seem's that by the time I get a chance to help 12 hours have passed by, If I wanted to answer I would have to do it early morning +- 02:00 <-> 04:00 Belgium time.. I am an early bird but not that early.

But I am drifting, the lessons is learned always do a refresh check user profile and time of call before typping any things out of pace &.

once again please forgive.
Jean-Pierre
Smile I will feel the difference