HP 3000 Manuals

Troubleshooting inetd [ Configuring and Managing MPE/iX Internet Services ] MPE/iX 5.5 Documentation


Configuring and Managing MPE/iX Internet Services

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 message's level of importance.

Message                   Explanation                                                                                                

An inetd is already       You attempted to start inetd when one is
running                   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         You attempted to reconfigure inetd when none
running                   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.

The following diagnostic messages are generated by successful and failed
attempts to establish a connection to the Internet Services.

Message                   Explanation                                                                                                

/etc/inetd.cnf: Unusable  The Internet daemon cannot access its
configuration file        configuration.  The error message preceding
                          this one specifies the reason for the failure.

/etc/inetd.conf: line     There is an error on the line specified by nnn 
number: nnn error         in the inetdconfiguration file.  The Internet
                          daemon skips this line, continues reading the
                          rest of the file, and configures itself
                          accordingly.  To solve the problem, open the
                          configuration file, edit the erroneous line,
                          and save the corrected version.  Then, tell
                          inetd to reread the new version of INTEDCNF by
                          issuing the inetd.net.sys -c command at the CI
                          prompt.

system call:...           The system call noted in the error message
                          failed.  See the corresponding entry in the
                          Berkeley Sockets/iX Reference Manual 
                          (32650-90372) for a description of the system
                          call.  The reason for the failure is explained
                          in the error message appended to the system
                          call name.

Cannot configure inetd    Due to errors in the inetd configuration file,
                          none of the services it lists could be set up
                          properly.

Too many services         The maximum number of services allowed to
running                   access inetd simultaneously has been exceeded.

file: \ found before end  An entry in a configuration file may need to
of the line               exceed one line.  If so, you indicate that the
                          line continues by inserting a backslash at the
                          end, then continue typing data on the next
                          line.  If, however, you place a backslash in
                          the middle of the line, inetd will ignore it
                          and continue reading to the end of the current
                          line, but will not continue to the next line.
                          In this case, it is likely that the
                          configuration information will be misread.

service/protocol;Unknown  The system call getservbyname failed because
service                   the service is not listed in the services file.
                          To solve the problem, you may either add an
                          entry for the service to the services file or
                          delete the entry for the service from the inetd
                          configuration file.

service/protocol: Server  When inetd tries to start 40 servers within 60
failing (looping),        seconds for a datagram service, it assumes that
service terminated.       the server is failing to handle the connection.
                          To avoid entering a potentially infinite loop,
                          inetd issues this message, discards the packet
                          requesting the socket connection, and refuses
                          further connections for this service.  After 10
                          minutes, inetd tries to reinstate the service
                          and accept connection requests.

service/protocol: socket  Any of these three errors renders the service
service/protocol: listen  unusable.  To make the service available again,
service/protocol:         you must issue the inetd -c command to have
getsockname               inetd reread the configuration file.

service/protocol:         Indicates that the service is temporarily
bind:...                  unusable because inetd cannot bind the service
                          to the socket.  After 10 minutes, inetd tries
                          to bind the socket again.  If it is successful,
                          then it will listen for a connection request
                          and provide the appropriate service.  If it
                          fails, it will wait another 10 minutes and try
                          again.

service/protocol: Access  The remote host failed to pass the security
denied to remote host     test for the service indicated in the message.
(address)                 If this message appears frequently, it can
                          indicate that someone is trying to repeatedly
                          access your system, and failing.

service/protocol:         When connection logging is enabled, this
Connection from remote    message indicates a successful connection
host (address)            attempt to the specified service.

service/protocol: Added   Records the services that are added when you
service, server           reconfigure inetd.
executable

service/protocol: New...  Lists the new user identifications, new
                          servers, or executable programs used for the
                          service when reconfiguring inetd.

service/protocol:         Records the services that are deleted when you
Deleted service           reconfigure inetd.

The following diagnostic and error messages are generated by problems in
the inetd security file.

Message                   Explanation                                                                                                

/usr/adm/inetd.sec:       The wildcard character (*) is used in
Field contains other      combination with additional integer(s) in one
characters in addition    part of an address field, which is not allowed.
to * for service          For example, the Internet address 10.5*.8.7
                          entered in the inetd security file will
                          generate an error message because the second
                          field includes a 5 followed by the * character.
                          Either integers or the wildcard character is
                          allowed in one part of an address field.

/usr/adm/inetd.sec:       You have used the range indicator (-) in the
Missing low value in      wrong way in an entry in the inetd security
range for service         file.  For example, the second field of the
                          Internet address 10.-5.8.7 is incorrect because
                          it does not include both a starting range
                          number (the "high value") and the ending range
                          number (the "low value").  A correct use of the
                          range indicator in an Internet address would be
                          10.8-5.8.7.

/usr/adm/inetd.sec:       You have used the range indicator (-) in the
Missing high value in     wrong way in an entry in the inetd security
range for service         file.  For example, the second field of the
                          Internet address 10.5-.8.7 is incorrect because
                          it does not include both a starting range
                          number (the "high value") and the ending range
                          number (the "low value").  A correct use of the
                          range indicator in an Internet address would be
                          10.8-5.8.7.

/usr/adm/inetd.sec: High  You expressed a range of numbers incorrectly in
value in range is lower   an entry in the inetd security file.  For
than low value for        example, the second field of the Internet
service                   address 10.5-8.8.7 is incorrect because the
                          starting range number (the "high value") is
                          lower than the ending range number (the "low
                          value").  A correct use of the range indicator
                          in an Internet address would be 10.8-5.8.7.

/usr/adm/inetd.sec:       The entry in the second column is not one of
allow/deny field does     the keywords allow or deny.  The inetd server
not have a valid entry    ignores the entry and does not implement
for service.              security for this service unless there is a
                          subsequent entry in the inetd security file for
                          this service that is correct.



MPE/iX 5.5 Documentation