Operating System - HP-UX
1751755 Members
4065 Online
108781 Solutions
New Discussion юеВ

Re: cannot start rpc.rstat?

 
SOLVED
Go to solution
huaxiang
Frequent Advisor

cannot start rpc.rstat?

1уАБ vi the /etc/inetd.conf, and /usr/sbin/inetd -c
2уАБ from /var/adm/syslog/syslog.log,shows /rpc.rstatd started, below is a part from syslog.log:
rpc.rstatd/udp: Added service, server /usr/lib/netsvc/rstat/rpc.rstatd
3уАБ but , #ps -ef|grep rstat ,didn't find rpc.rstat
4уАБwhatis the problem ?
7 REPLIES 7
OFC_EDM
Respected Contributor
Solution

Re: cannot start rpc.rstat?

Do you see rpc.rstat in the output of ps -ef?

Try
ps -ef | grep -i rpc
The Devil is in the detail.
huaxiang
Frequent Advisor

Re: cannot start rpc.rstat?

1├г ps -ef ,cannot see rpc.rstat.
2├г db2#[/]ps -ef | grep -i rpc
root 150 0 0 Oct 21 ? 0:00 krpckd
root 1970 1 0 Oct 21 ? 0:19 /opt/dce/sbin/rpcd
root 1371 1 0 Oct 21 ? 0:00 /usr/sbin/rpc.lockd
daemon 1365 1 0 Oct 21 ? 0:00 /usr/sbin/rpc.statd
root 1334 1 0 Oct 21 ? 0:00 /usr/sbin/rpcbind
root 2607 1 0 Oct 21 ? 0:00 /usr/sbin/rpc.mountd
root 25313 25206 0 21:43:47 pts/2 0:00 grep -i rpc
sachit patil
Regular Advisor

Re: cannot start rpc.rstat?

You have to restart nfs services. on the server like nfs.server, nfs.client.




Regards
Sachit
Johnson Punniyalingam
Honored Contributor

Re: cannot start rpc.rstat?

>> rpc.rstatd/udp: Added service, server /usr/lib/netsvc/rstat/rpc.rstatd
<<

how did you added..?

Please see below example how entry on my
========================================
server
======
rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd

step 1:-

/usr/sbin/inetd -c

step 2:-

Restart Inetd daemon
===================
# /usr/sbin/inetd -k
# /usr/sbin/inetd -l


step 3:-

Inetd process not running
=======================
Solution:
********
# /sbin/init.d/inetd stop
# /sbin/init.d/inetd start


if not please take reboot

Thanks,
Best Regards,
Johnson
Problems are common to all, but attitude makes the difference
huaxiang
Frequent Advisor

Re: cannot start rpc.rstat?

hi,Johnson :
i did as your steps;
still not work, i will find time reboot tomorrow.
thank u.
OldSchool
Honored Contributor

Re: cannot start rpc.rstat?

inetd -c
will register the process after you editted the inetd.config. you shouldn't need to do anything else.

HOWEVER, you won't see it "running" until after the first request.

so, on the box you "enabled" it on, try running:

rup

(substitute the correct name). If its working, you should get an "uptime" report, if not, it will say something along the lines of "process not registered".

You should not need to kill the inet daemon, stop / start it, or reboot.

If it doesn't start, you have something wrong in inetd.conf
huaxiang
Frequent Advisor

Re: cannot start rpc.rstat?

thank u all.
1.problem solved. following the same steps as you pointed.
2.there is a delay? wait a moment and get the right answer.