HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

i
inetd(1M) inetd(1M)
-l By default, inetd starts with connection logging disabled. If no
inetd is running, the -l
option causes the inetd to start with connection logging enabled. Otherwise the
-l option
causes
inetd to send the signal SIGQUIT to the
inetd that is already running, which causes
it to toggle the state of connection logging.
-s This option is similar to the
-l option, but it suppresses the hostname while logging into the sys-
log file. If
inetd is not running, the
-s option causes inetd to start with suppressed host-
name logging enabled. If
inetd is running, the
-s option causes inetd to send SIGFPE sig-
nal to
inetd that is already running. This causes
inetd to toggle the state of suppressed
hostname logging.
When
inetd is running with either of -l
or of -s logging enabled, the Internet daemon logs attempted
connections to services. It also logs connection attempts which fail the security check. This information
can be useful when trying to determine if someone is repeatedly trying to access your system from a partic-
ular remote system (in other words, trying to break into your system). Successful connection attempts are
logged to the
syslogd daemon facility at the info log level. Connection attempts failing the security
check are logged at the notice log level.
inetd also logs whether the connection logging has been enabled
or disabled at the info log level.
DIAGNOSTICS
The following diagnostics are returned by the Internet daemon before it disconnects from the terminal.
An inetd is already running
An attempt was made to start an Internet daemon when one was already running. It is
incorrect to call the Internet daemon a second time without the -c, -k,
-l or -s option.
There is no inetd running
An attempt was made to reconfigure an Internet daemon when none was running.
Inetd not found
This message occurs if inetd is called with -c and another Internet daemon is running but
cannot be reconfigured. This occurs if the original Internet daemon died without removing its
semaphore.
Next step: Use the inetd -k command to remove the semaphore left by the previous Internet
daemon; then restart the daemon.
The following diagnostics are logged to the syslogd daemon facility. Unless otherwise indicated, mes-
sages are logged at the error log level.
/etc/inetd.conf: Unusable configuration file
The Internet daemon is unable to access the configuration file /etc/inetd.conf
. The error
message preceding this one specifies the reason for the failure.
/etc/inetd.conf: line
number: error
There is an error on the specified line in
/etc/inetd.conf
. The line in the configuration file
is skipped. This error does not stop the Internet daemon from reading the rest of the file and
configuring itself accordingly.
Next step: Fix the line with the error and reconfigure the Internet daemon by executing the
inetd -c command.
system_call: message
system_call failed. See the corresponding manual entry for a description of system_call. The
reason for the failure is explained in message.
Cannot configure inetd
None of the services/servers listed in the configuration file could be set up properly, due to
configuration file errors.
Too many services (max n)
The number of active services listed in the configuration file exceeds the "hard" limit that can be
supported by the system (see setrlimit(2)).
Section 1M352 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005