This is the summary of reponses about my inetd problem. Inetd died after
startup, from both /etc/rc and from the command line.
Responses suggested three things:
1) Check inetd.conf and /etc/services for blank lines.
2) Make sure portmapper is alive. If it's dead, then "wierd" things happen
and said wierd things do not appear causally related.
3) Check the number of lines in /etc/inetd.conf. Older versions of inetd
had a limit of 26 lines.
Most suggested using the trace command to see where inetd was dying.
The winner was #1; turns out that I left a blank line in /etc/inetd.conf after
commenting out the rwall service last week. sigh.
Thanks to:
halstern@sun.com
earle@poseur.jpl.nasa.gov
leach@oce.orst.edu
cmhuang@sun.com
mnichols@atlantis.psi.siemens.com
rlk@ncs.net.utulsa.edu
begin responses:
-------------------------
Subject: Re: inetd wierdness
From: earle@poseur.jpl.nasa.gov
Look for a corrupted /etc/inetd.conf or /etc/services file. If one
of these (forget which) has corruption, or a blank line (not sure if
this is the cause, but some anomalous condition like this), or ???
then `inetd' will silently terminate without so much as a whimper.
Your best bet is to run `trace -o /tmp/inetd.trace inetd' and after inetd
daemonizes itself, look and see if it is still running. If not, then view
the /tmp/inetd.trace file and see where it is dying.
-------------------------
Subject: Re: inetd wierdness
From: mnichols@atlantis.psi.siemens.com
Is portmap running ? If portmapper is not running very strange things
happen. YP breaks, NFS dies, and all kind of network wierdness results.
-------------------------
From: wuthel!brand@lll-winken.llnl.gov
How many lines in your config file? In some version of inetd it dies
at > 26 lines.
-------------------------
And a useful hint:
-------------------------
From: cmhuang@sun.com
it might be your inetd.conf that is bad, use a default one from /usr/etc/install
/proto/etc/inetd.conf and see if you can run it. If it does run then make
a comparison between the two files.
ming
-------------------------
Thanks to all for responding.
Kean
----------------------------------------------------------------------------
Kean Stump University Computing Services
Network Services Oregon State University
DOMAIN: kean@ucs.orst.edu UUCP: hplabs!hp-pcd!orstcs!kean
----------------------------------------------------------------------------
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:05:58 CDT