Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

errno="146"

114 views
Skip to first unread message

atrinh

unread,
Jan 3, 2000, 3:00:00 AM1/3/00
to
The following is my environment:
Net.Commerce Server box
CHP 2.2.1 Solaris 2.6 with the following applications:
Netscape Enterprise Server 3.6S2
DB2 Administration Client
Net.Data
JDK
WebSphere
Payment Server
Net.Commerce Pro 3.2

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


dav...@ca.ibm.com

unread,
Jan 3, 2000, 3:00:00 AM1/3/00
to
Hi Alvin,
That error message means what it says: when db2 called into the TCP/IP
stack's "connect" API, it returned with errno='146'.

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?

atrinh

unread,
Jan 3, 2000, 3:00:00 AM1/3/00
to
Dave,

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

dav...@ca.ibm.com

unread,
Jan 3, 2000, 3:00:00 AM1/3/00
to
Hi Alvin,
Sorry, the short answer is I don't know where that error number will
be documented on your system.

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.

Terry Rosenbaum

unread,
Jan 9, 2000, 3:00:00 AM1/9/00
to
On Solaris in /usr/include/sys/errno.h, you'll find:

#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

0 new messages