IBM Books

Message Reference


TCP/IP

For users of TCP/IP in a UNIX-based environment, the following table lists some of the error reason codes (errnos) that are most frequently encountered. It is not a complete list of errors. Errnos can be found in the file /usr/include/sys/errno.h. The errno number itself is indicated for each operating system.

Table 32. UNIX-based TCP/IP errnos.
Errno Errno Number Description
AIX HP-UX Solaris UnixWare Linux
EINTR 4 4 4 4 4 Interrupted system call.
EAGAIN 11 11 11 11 11 Resource temporarily unavailable.
EBUSY 16 16 16 16 16 Resource busy.
EMFILE 24 24 24 24 24 The per-process file descriptor table is full.
EPIPE 32 32 32 32 32 Broken pipe.
EADDRINUSE 67 226 125 125 98 The specified address is already in use.
ENETDOWN 69 228 127 127 100 The network is down.
ENETUNREACH 70 229 128 128 101 No route to the network is available.
ENETRESET 71 230 129 129 102 The network has dropped the connection on reset.
ECONNRESET 73 232 131 131 104 Connection has been reset by the partner.
ENOBUFS 74 233 132 132 105 Insufficient buffer space resources were available in the system to complete the call.
ENOTCONN 76 235 134 134 107 The socket is not connected.
ETIMEDOUT 78 238 145 145 110 The connection timed out.
ECONNREFUSED 79 239 146 146 111 The connection has been refused. If you are trying to connect to the database, check that the database manager and TCP/IP protocol support at the server have been started successfully.

If using SOCKS protocol support, also ensure that TCP/IP protocol support at the SOCKS server has been started successfully.

EHOSTDOWN 80 241 147 147 112 The host is down.
EHOSTUNREACH 81 242 148 148 113 No route to the host is available.

For more information on UNIX-based TCP/IP communication errors, refer to the technical reference manuals for the appropriate operating system.


For users of TCP/IP in an OS/2 environment, the following list shows errnos that are most frequently encountered. It is not a complete list of errors. Errnos can be found in the file nerrno.h This file is part of the TCP/IP product include files. It may not be present on your system if they have not been installed. The errno number itself is in parentheses.

For more information on OS/2 TCP/IP communication errors, refer to the OS/2 TCP/IP documentation.


For users of TCP/IP or IPX/SPX under Windows 95, Windows 98, or Windows NT, the following list shows error codes that are most frequently encountered. It is NOT a complete list of errors. Errors returned by WSAGetLastError() can be found in the file winsock.h.

For more information on TCP/IP communication errors under Windows, refer to the Windows Sockets documentation.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]