How to start rstatd Daemon


 
Thread Tools Search this Thread
Operating Systems AIX How to start rstatd Daemon
# 1  
Old 12-15-2009
How to start rstatd Daemon

guy's

How to start rstatd Daemon on AIX 6.1

as I enable it from etc/inetd.conf

then I refreshed it by this command refresh -s inetd but stil is not Active !

can some one advice in this !
ITHelper
# 2  
Old 12-15-2009
Does not active mean that you can query it or that you don't see any process running after you removed the remark and refreshed the subsystem? If you just don't see a process it will be because there is maybe no query issued at that moment.
# 3  
Old 12-15-2009
so can you please help me in this . how to start it .
ITHelper
# 4  
Old 12-15-2009
Can you give me an answer to my question please so I could decide what to suggest?
# 5  
Old 12-15-2009
my answer in the below whole the scenario ...

this is waht I did ...

As root

1. Edit /etc/inetd.conf
Uncomment or add entry for rstatd
Eg
rstatd sunrpc_udp udp wait root /usr/sbin/rpc.rstatd rstatd 100001 1-3

2. Edit /etc/services
Uncomment or add entry for rstatd
Eg
rstatd 100001/udp

3. Refresh services
refresh -s inetd

4. Start rstatd
/usr/sbin/rpc.rstatd

but the services is not active ! is there any messing ? need to be done to bring up the service?
ITHelper
# 6  
Old 12-15-2009
I guess you misunderstood.

Uncommenting a demon in inetd.conf and refreshing inetd does not automatically start the uncommented demon, in your case rstatd. If a request from some other tool to inetd comes for rstatd, rstatd will be launched.
You usually would not launch it manually from the command line. Either demons are launched via a superdemon like inetd or xinetd or they are launched permanent from command line, inittab etc. but usually not both at once.

For example if you uncomment ftpd in inetd.conf and do a ps -ef for ftp, you'll see nothing. If you connect with a ftp client from another box to the server where ftpd is activated in inetd.conf, it will be visible with ps, when it is actually used.

So you will need some other tool to query rstatd so that inetd launches it and gives you the wanted info from the kernel.
# 7  
Old 12-17-2009
Hi, you can run this
Code:
rpcinfo -p| grep rst


Last edited by zaxxon; 12-17-2009 at 03:00 PM.. Reason: use code tags please, thank you
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Splitting week start date and end date based on custom period start dates

Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below. Could you please help out to achieve solution through shell script.. File content: ... (2 Replies)
Discussion started by: nani2019
2 Replies

2. Infrastructure Monitoring

Need help getting Loadrunner to work with freeBSD system monitoring rstatd/rup/rsysinfo

Hi there, I'm trying to use loadrunner with freebsd system monitoring tools like rstatd/rup/rsysinfo, but I keep getting this error from loadrunner: Monitor name :UNIX Resources. Internal rpc error (error code:4). Machine: 192.168.1.15. Hint: Check that RPC on this machine is up and running.... (0 Replies)
Discussion started by: echan00
0 Replies

3. UNIX and Linux Applications

MySQL Daemon failed to start - no mysql.sock file

After doing a yum install mysql mysql-server on Fedora 14 I wasn't able to fully install the packages correctly. It installed MySQL 5.1. I was getting the following error when running the: mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)... (3 Replies)
Discussion started by: jastanle84
3 Replies

4. Red Hat

Can't start NTOP service/daemon

I have installed version of ntop 4.0.3 by guide. But I can't start ntop daemon/service. I didn't find a service file for starting. During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required. I didn't find in /etc/init.d/... (9 Replies)
Discussion started by: getrue
9 Replies

5. Shell Programming and Scripting

Start program in background (or start crontab ahead of time)

Hey! I'm working on a script that will add a user, create some configfiles, and add a crontab for the user. The crontab looks like the following: @reboot /home/user/program config.conf & I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies

6. Ubuntu

How can I automatically start a daemon at boot time.

Hi masters, I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task. Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies

7. UNIX for Advanced & Expert Users

start rstatd deamon on unix

Hi, How can I start the rstatd deamon, and how can know if this is actually runing? (4 Replies)
Discussion started by: toto2000ff
4 Replies

8. Linux

where to put an application if i want to start it on start up

hi i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots i mean whenever my system starts that application must also start thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies

9. Linux

rstatd does not work

Hi, I'm working with Mercury tools: Loadrunner, and I'm trying to monitor a unix/linux box, the Loadrunner tool uses the rstatd, and I got next error: Mar 4 11:25:56 sacindt rpc.rstatd: incompatible to /proc. Could not read disk_io: data I'm trying to start that deamon, and I use the RUP to... (1 Reply)
Discussion started by: toto2000ff
1 Replies

10. UNIX for Advanced & Expert Users

rpc.rstatd: incompatible...

Hi, I'm working with Mercury tools: Loadrunner, and I'm trying to monitor a unix server by rstatd, and I got next error: Mar 4 11:25:56 sacindt rpc.rstatd: incompatible to /proc. Could not read disk_io: data does any one have an idea about this.. regards (0 Replies)
Discussion started by: toto2000ff
0 Replies
Login or Register to Ask a Question