Configuring and Managing MPE/iX Internet Services (August 2002)

Chapter 2
Internet Daemon
Troubleshooting inetd
38
Enable and Disable Connection Logging
The same command turns connection logging on or off, depending upon its current state. So, for example, if
message logging is currently disabled, enter the following command at the CI prompt to turn it on:
:INETD.NET.SYS -1’’
Or, from the POSIX shell, enter the following command:
$/etc/inetd -1
If message logging is enabled, use either the CI or POSIX command shown above to turn it off.
Troubleshooting inetd
This section explains the kinds of error messages you may see regarding the operation of inetd. The
messages will appear either on the console or they will be sent to the $STDLIST for inetd or both, depending
upon the messages level of importance.
The following diagnostic messages are generated by successful and failed attempts to establish a connection
to the Internet Services.
Message Explanation
An inetd is
already running
You attempted to start inetd when one is already running. You may
invoke inetd a second time if you use the -c, -k, or -l option, but you
cannot run multiple copies of inetd.
There is no inetd
running
You attempted to reconfigure inetd when none was running. The first
time you run inetd, you must stream it as a job or run it interactively
without specifying the -c (reconfiguration) option.
Inetd not found This message occurs if you invoke inetd with the -c option and inetd
cannot reread its configuration file (which is the purpose of -c). This
occurs when the original Internet daemon dies or is killed without
releasing its semaphore. (The Internet daemon locks a global semaphore
to indicate when it is running to prevent users from running more than
one inetd at a time.) To fix the problem, enter the inetd -k command to
remove the semaphore left by the previous Internet daemon, then restart
inetd.
Message Explanation
/etc/inetd.cnf:
Unusable
configuration file
The Internet daemon cannot access its configuration. The error message
preceding this one specifies the reason for the failure.