- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rstatd daemon
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 03:18 AM
тАО10-28-2009 03:18 AM
rstatd daemon
How do I start rstatd daemon in 11.31 hp unix server
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 03:49 AM - last edited on тАО06-29-2021 05:00 AM by Ramya_Heera
тАО10-28-2009 03:49 AM - last edited on тАО06-29-2021 05:00 AM by Ramya_Heera
Re: rstatd daemon
it's controlled by inetd - there's probably a commented out line in /etc/inetd.conf that looks something like this:
#rpc xti datagram_v wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd
To start rstatd (or at least ensure that inetd will start rstatd in response to a request from rup ), uncomment the line and run "inetd -c". TO stop rstatd, comment the line out and run "inetd -c"
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 03:53 AM
тАО10-28-2009 03:53 AM
Re: rstatd daemon
How do I start rstatd daemon in 11.31 hp unix server<<<
You cannot do that, no such thing stop/start for "rstatd" controlled by inetd
inetd -c
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 04:02 AM
тАО10-28-2009 04:02 AM
Re: rstatd daemon
you would see that this is controlled by inetd so just refresh it by
inetd -c
Check it should not be commented out.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 04:04 AM
тАО10-28-2009 04:04 AM
Re: rstatd daemon
i did inetd -c
sbin/init.d # ps -ef | grep -i rstat
root 26686 10298 1 11:49:02 console 0:00 grep -i rstat
root 14982 1 0 11:19:50 console 0:00 /usr/lib/netsvc/rstat/rpc.rstatd
root 26658 1 0 11:48:59 console 0:00 /usr/lib/netsvc/rstat/rpc.rstatd stop
/sbin/init.d #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 04:13 AM
тАО10-28-2009 04:13 AM
Re: rstatd daemon
/sbin/init.d # grep rstat /etc/inetd.conf
#rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd
/sbin/init.d #
to stop rstat
i should comment the above line and do
#inetd -c
to start rstat
i should un comment the above line and do
#inetd -c
Is this correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 04:33 AM
тАО10-28-2009 04:33 AM
Re: rstatd daemon
in inetd.conf this entry is already commented.
Does that mean somebody at some point of time started it by other means?
How do I know if this rstat daemon is running or stopped?
thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 04:42 AM
тАО10-28-2009 04:42 AM
Re: rstatd daemon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 04:53 AM
тАО10-28-2009 04:53 AM
Re: rstatd daemon
root 14982 1 0 11:19:50 console 0:00 /usr/lib/netsvc/rstat/rpc.rstatd
root 26658 1 0 11:48:59 console 0:00 /usr/lib/netsvc/rstat/rpc.rstatd stop
Normally rstat daemon is started from inetd, and should have no TTY at all, which would be indicated by "?" in place of "console".
These two processes look like they are started manually by root on the console.
So these two processes are probably results of previous wrong attempts to stop rstatd. Just kill the processes:
kill 14982
kill 26658
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 06:00 AM
тАО10-28-2009 06:00 AM
Re: rstatd daemon
#rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd
#
# ps -ef | grep -i rstat
root 27908 15771 1 13:52:19 console 0:00 grep -i rstat
#
By seeing the above output, I conclude that rstat daemon is not running.
Please confirm
===========
Also....
===========
In one of the other servers, where I have:
# grep -i rstat /etc/inetd.conf
#rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd
#
to start rstatd I didnt uncommented the line
I simply executed :
# /usr/lib/netsvc/rstat/rpc.rstatd
#
Then I have this
# ps -ef | grep -i rstat
root 23868 2557 0 12:42:27 console 0:00 grep -i rstat
root 23807 1 0 12:42:24 console 0:00 /usr/lib/netsvc/rstat/rpc.rstatd
#
So can i say now that rstat is running..
if i do inetd -c then it will stop, because it is actually commented...
please confirm
thank you