Tips on
Interpreting HP-UX Error Messages |
 |
The
file /usr/include/sys/errno.h contains a list of error returns generated by HP-UX
system calls.You can use the grep command to locate the name associated with the HP-UX
error number you received. For example, if you received HP-UX
Error 239, you could run the following command:
$ grep 239 /usr/include/sys/errno.h |
# define ECONNREFUSED 239 /* Connection refused */
|
You can then search for ECONNREFUSED in http://docs.hp.com. For example, one reference returned at docs.hp.com from the errno(2) manual page was the following:
ECONNREFUSED Connection refused. No connection could be made because the target machine activily refused it. This usually results from trying to connect to a service that is inactive on the foreign host.
|
Enabling
Internet Services Governed by inetd |
 |
If users
are unable to rlogin, telnet or remsh to a given system, it may be because those services are
not enabled on that system: the master server for these services, inetd, may not be running, or the particular service in question
may be disabled.
Log in as superuser on the console of the
system that can’t be reached remotely.
Check that inetd is running:
ps -ef | grep inetd
If inetd is not running, start it:
/usr/sbin/inetd
If inetd is running and users still cannot rlogin (or remsh or telnet) the service may be disabled. Check /etc/inetd.conf for the following lines:
telnet stream tcp nowait root /usr/lbin/telnetd telnetd login stream tcp nowait root /usr/lbin/rlogind rlogind shell stream tcp nowait root /usr/lbin/remshd remshd |
If these lines do not exist, or are commented out (preceded
by a pound sign, #) add them (or remove the pound
signs) and restart inetd:
/usr/sbin/inetd -c
You can also use SAM to check for the status of these and
related services, and enable them if necessary: go to Networking and Communications/Network Services.
For more information see Installing and Administering
Internet Services.