If a connection is made to a port that inetd monitors it will spawn the related process. After the connection is terminated the process usually will remain for about 15 minutes and die off if no new connections are made. Is that what you are seeing?
So are you saying that you try to connect to a server via telnet or ftp and after the connection is made you do not see a ftp or telnet process? or you cannot connect at all?
Hope you are looking for this. Try the following command. You can check the status of all the services of inetd........
# lssrc -l -s inetd
Subsystem Group PID Status
inetd tcpip 401640 active
Debug Not active
Signal Purpose
SIGALRM Establishes socket connections for failed services.
SIGHUP Rereads the configuration database and reconfigures services.
SIGCHLD Restarts the service in case the service ends abnormally.
Service Command Description Status
ctmagent /usr/ctmagent/ctm/exe/p_ctminetd p_ctminetd -e active
cmsd /usr/dt/bin/rpc.cmsd cmsd 100068 2-5 active
dtspc /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd active
ttdbserver /usr/dt/bin/rpc.ttdbserver rpc.ttdbserver 100083 active
rstatd /usr/sbin/rpc.rstatd rstatd 100001 1-3 active
klogin /usr/sbin/krlogind krlogind active
login /usr/sbin/rlogind rlogind active
kshell /usr/sbin/krshd krshd active
shell /usr/sbin/rshd rshd active
telnet /usr/sbin/telnetd telnetd -a active
ftp /usr/sbin/ftpd ftpd -l -d active
#
#########
aixnag
IBM Certified Specialist - P-series AIX 5L Administration
IBM Certified Specialist - AIX V4 HACMP
IBM eServer Certified Specialist – p690 Technical Support
IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration for Unix, Linux, Windows and OS/2
0513-056 Timeout waiting for command response. If you specified a foreign host,
see the /etc/inittab file on the foreign host to verify that the SRC daemon
(srcmstr) was started with the -r flag to accept remote requests.
ps -ef | grep inetd
does show an active inetd process :-(
You should also have a srcmstr process which controls a.o. inetd. If it doesn't get started at boot time, TCPIP still gets started, be it without srcmstr control.
I've had AIX52-04 (if I remember right) installs which had a problem with srcmstr. After RMLing to latest RML, problem was solved.
If srcmstr is not running properly (and controlling inetd), then you won't be able to run the lssrc command above.
Verify the srcmstr running on your system with
#ps -ef|grep src
if its running. Check your /etc/rc.tcpip|grep inetd to know how inetd is started.
fyi, In my system
##################
# starts TCP/IP daemons (sendmail, inetd, etc.)
lssrc -s inetd >/dev/null 2>&1 && break # break out on success
start /usr/sbin/inetd "$src_running"
##################
probably you can kill inetd using #kill inetd.
then Start inetd with #startsrc -s inetd
refresh portmap #refresh -s portmap.
Finally you issue #lssrc -l -s inetd
to see active services list.
Hope it helps.
aixnag
IBM Certified Specialist - P-series AIX 5L Administration
IBM Certified Specialist - AIX V4 HACMP
IBM eServer Certified Specialist – p690 Technical Support
IBM Certified Solutions Expert - DB2 UDB V7.1 Database Administration for Unix, Linux, Windows and OS/2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.