Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

enable RSTATD on aix servers for Performance Testing

Posted on 2010-09-23
4
1,493 Views
Last Modified: 2013-11-17
how can i on aix.
enable RSTATD on servers for Performance Testing?
0
Comment
Question by:assistunix
  • 3
4 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33745098
Hi again,
edit /etc/rc.tcpip, remove the comment (#) at the beginning of the appropriate line
rstatd  sunrpc_udp     udp     wait    root    /usr/sbin/rpc.rstatd rstatd 100001 1-3
save your changes and issue
refresh -s inetd
or use "smitty mkinetdconf"
That's all.
wmp
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33745214
Sorry, that was a mistake of mine!
Of course you must change
/etc/inetd.conf
Sorry again!!
0
 

Author Comment

by:assistunix
ID: 33845862
i was unable to find RSTATD  in /etc/rc.tcpip, can just changing the /etc/inetd.conf file and refreshing it work?

also i was told that editing uncommenting the rstatd line in /etc/services was also part of enabling RSTATD along with editing /etc/inetd.conf ? can you confirm that. is that change also needed.

0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 33846000
Of course you couldn't find rstatd in /etc/rc.tcpip!! That was a bad mistake from my side, as I wrote!

Yes, uncommenting the rstatd entry in /etc/inetd.conf and issuing refresh -s inetd "can work", moreover, it "will work"!

rstatd is a sunrpc program, and thus has not an entry in /etc/services (in /etc/rcp it does have one).
As long as the portmap daemon is running all will be fine.

portmap in its turn is started in /etc/rc.tcpip (really!) by default, but you can check nonetheless in that file for
an uncommented entry

# Start up Portmapper
start /usr/sbin/portmap "$src_running"

Should the above entry be comented out (I've never seen that!) uncomment it and issue "startsrc -s portmap"

Done

wmp


0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question