How to enable rstatd

root's picture

AIX:
1. Edit /etc/inetd.conf and uncomment or add entry for rstatd:

root@aix~# grep rstatd /etc/inetd.conf
rstatd  sunrpc_udp      udp     wait    root    /usr/sbin/rpc.rstatd    rstatd 100001 1-3

2. Edit /etc/services by uncomment or add entry for rstatd:

root@aix~# grep rstatd /etc/services
rstatd          100001/udp

3. Refresh services:

root@aix~# refresh -s inetd 
0513-095 The request for subsystem refresh was completed successfully.

4. Check it:

root@aix~# rpcinfo -p | grep rstatd
    100001    1   udp  32822  rstatd
    100001    2   udp  32822  rstatd
    100001    3   udp  32822  rstatd

Solaris:
root@solaris~# svcadm enable rstat

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.

Recent content