Anyone here know what is the error message in db2dia.log file below
mean?
eh094su10.bbnplanet.com:/home/db2inst1/sqllib/db2dump# more db2diag.log
1999-12-30-09.21.48.353909 Instance:db2inst1 Node:000
PID:406(back_server) Appid:
common_communication sqlcctcpconnr Probe:101
DIA3202C The TCP/IP call "connect" returned an errno="146".
Thanks in advance,
Alvin
On unix systems, you can look in /usr/include/errno.h for what these
errors mean; however, I do not see errno '146' in the errno.h on my
system. What does it say on yours?
Hope this helps,
Dave.
PS: for wintel, you must find an errno.h, which I don' think is shipped
with the operating system ... perhaps an include file shipped with a
compiler will list it?
I'm also don't see any erro number "146" on my errno.h file. The following
is a contains of my errno.h file:
/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ifndef _ERRNO_H
#define _ERRNO_H
#pragma ident "@(#)errno.h 1.14 95/10/30 SMI" /* SVr4.0 1.4.1.5 */
/*
* Error codes
*/
#include <sys/errno.h>
#ifdef __cplusplus
extern "C" {
#endif
#if (defined(_REENTRANT) || defined(_TS_ERRNO) || \
_POSIX_C_SOURCE - 0 >= 199506L) && !(defined(lint) ||
defined(__lint))
extern int *___errno();
#define errno (*(___errno()))
#else
extern int errno;
#endif /* defined(_REENTRANT) || defined(_TS_ERRNO) */
#ifdef __cplusplus
}
#endif
#endif /* _ERRNO_H */
I'm not sure if Net.Commerce required C compler installed on the system. Do
you know?
Thanks for your help,
Alvin
The long answer is to:
- grep for the header file that does contain the tcp/ip errnos. It
should contain, for example, the line:
#define ETIMEDOUT 78 /* Connection timed out */
- grab a good unix tcpip book. The 'blue' book by Stevens (sp?) on
tcpip programming is good I hear (I don't have it).
- call your network admin or service.
Hope this helps,
Dave.
#define ECONNREFUSED 146 /* Connection refused */
That means that there was nobody listening on the specified
port at the specified IP address. Perhaps DB2 was not
running on the system you tried to connect to?
-Terry