HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable the rstat daemon in hp-ux 11.11

 
SOLVED
Go to solution
rajesh73
Super Advisor

how to enable the rstat daemon in hp-ux 11.11

how to enable the rstat daemon in hp-ux 11.11
7 REPLIES
Shibin_2
Honored Contributor

Re: how to enable the rstat daemon in hp-ux 11.11

rajesh73
Super Advisor

Re: how to enable the rstat daemon in hp-ux 11.11

Hi,

kindly advice the below procedure stuable for hp-ux 11.11

To configure the rstatd daemon:
1 Run the command: su root
2 Go to /etc/inetd.conf and look for the rstatd row (it begins with the word
rstatd). If it is commented out (with a #), remove the comment directive,
and save the file.
3 From the command line, run:
kill -1 inet_pid
where inet_pid is the pid of the inetd process. This instructs the inetd to
rescan the /etc/inetd.conf file and register all daemons which are
uncommented, including the rstatd daemon.
4 Run rup again.
If the command still does not indicate that the rstatd daemon is configured,
contact your system administrator.


thanks
rajesh73
Super Advisor

Re: how to enable the rstat daemon in hp-ux 11.11

pls help me urgent
Viktor Balogh
Honored Contributor
Solution

Re: how to enable the rstat daemon in hp-ux 11.11

hi,

the above procedure is right. note that in inetd.conf the line that needs to be added/uncommented is the following:

rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 1-3 rpc.rstatd

(add it as a single line!)

instead of kill -1, you can signal inetd line this:

# /usr/sbin/inetd -c

this will make it to re-read its configuration

more info on that:

http://docs.hp.com/en/5991-1154/ch02s07.html#bghdaagb
****
Unix operates with beer.
rajesh73
Super Advisor

Re: how to enable the rstat daemon in hp-ux 11.11

Hi,
Thanks for your reply.
Kindly find the below simple procedure.it is right
1. uncommented this line in inid.conf file.
rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 1-3 rpc.rstatd

2.reboot the server

After this procedure rstat star automatically are not

Viktor Balogh
Honored Contributor

Re: how to enable the rstat daemon in hp-ux 11.11

>After this procedure rstat star automatically are not

how do you know that? did you issue a rup command? that is the simplest way to find it out. if you did a ps -ef and didn't see rstatd in it, that is not a proof of rstatd issue. inetd will start this daemon on demand. so check it with rup and paste here the output:

# rup
****
Unix operates with beer.
Ismail Azad
Esteemed Contributor

Re: how to enable the rstat daemon in hp-ux 11.11

Hi,

As Viktor said..

> inetd will start this daemon on demand

which is one advantage of having the inetd "super daemon". After an inetd service is spawned, it "leaves it alone" and is ready for another let's say ... telnet request.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....