HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
i
inetd(1M) inetd(1M)
causes it to toggle the state of connection logging.
-r count [interval]
inetd identifies a UDP service as broken or in an infinite loop when it receives count number
of connections in interval seconds of time. When
inetd finds any such broken service, it dis-
cards the packet requesting the socket connection, and refuses access to that service.
inetd
tries enabling that service after 10 minutes and accepts connections for that service. This is
applicable to all UDP services other than
tftp
, bootp and rpc. Using the -r option, you
can specify the values for count and interval , which need to be decimal numbers. If you
invoke
inetd without this option or specify invalid values for this option, the default values
40 and 60 are taken for count and interval , respectively.
-s This option is similar to the
-l option, but it suppresses the hostname while logging into the
syslog file. If
inetd is not running, the
-s option causes inetd to start with suppressed
hostname logging enabled. If
inetd is running, the
-s option causes inetd to send SIGFPE
signal 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 par-
ticular 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 Inter-
net 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.
Section 1M−−300 Hewlett-Packard Company − 2 − HP-UX 11i Version 2: August 2003