473,606 Members | 2,381 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with "SQL30081N A communication error has been detected"

I've just installed the DB2 Run-time client in a Solaris machine. Then
I finnish the installation configuring the connection:

1. machine catalog was OK:
=============== ===========
$ db2 catalog tcpip node atlas remote dsroracle server 8100
DB20000I The CATALOG TCPIP NODE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is refreshed.
2. database catalog was OK:
=============== ============
$ db2 catalog db ATPAMIC at node atlas
DB20000I The CATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is refreshed.
3. Y executed a "db2 terminate"
=============== =============== =
4. And then tried to connect but I always get the same error:
=============== =============== =============== =============== =
$ db2 connect to ATPAMIC user a9odsp using a9odsp
SQL30081N A communication error has been detected. Communication
protocol
being used: "TCP/IP". Communication API being used: "SOCKETS".
Location
where the error was detected: "10.33.241. 42". Communication function
detecting the error: "connect". Protocol specific error code(s):
"146", "*",
"*". SQLSTATE=08001

Any idea about how to fix this error?
Thank you very much!

Nov 12 '05 #1
3 7026
Are you trying to connect to an Oracle database from a DB2 Run-time
Client? If so, this cannot be done. You need Websphere Information
Integrator.

Larry Edelstein

Laura wrote:
I've just installed the DB2 Run-time client in a Solaris machine. Then
I finnish the installation configuring the connection:

1. machine catalog was OK:
=============== ===========
$ db2 catalog tcpip node atlas remote dsroracle server 8100
DB20000I The CATALOG TCPIP NODE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is refreshed.
2. database catalog was OK:
=============== ============
$ db2 catalog db ATPAMIC at node atlas
DB20000I The CATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is refreshed.
3. Y executed a "db2 terminate"
=============== =============== =
4. And then tried to connect but I always get the same error:
=============== =============== =============== =============== =
$ db2 connect to ATPAMIC user a9odsp using a9odsp
SQL30081N A communication error has been detected. Communication
protocol
being used: "TCP/IP". Communication API being used: "SOCKETS".
Location
where the error was detected: "10.33.241. 42". Communication function
detecting the error: "connect". Protocol specific error code(s):
"146", "*",
"*". SQLSTATE=08001

Any idea about how to fix this error?
Thank you very much!

Nov 12 '05 #2

"Laura" <lg*@tid.es> wrote in message
news:11******** *************@g 47g2000cwa.goog legroups.com...
I've just installed the DB2 Run-time client in a Solaris machine. Then
I finnish the installation configuring the connection:

1. machine catalog was OK:
=============== ===========
$ db2 catalog tcpip node atlas remote dsroracle server 8100
DB20000I The CATALOG TCPIP NODE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is refreshed.
2. database catalog was OK:
=============== ============
$ db2 catalog db ATPAMIC at node atlas
DB20000I The CATALOG DATABASE command completed successfully.
DB21056W Directory changes may not be effective until the directory
cache is refreshed.
3. Y executed a "db2 terminate"
=============== =============== =
4. And then tried to connect but I always get the same error:
=============== =============== =============== =============== =
$ db2 connect to ATPAMIC user a9odsp using a9odsp
SQL30081N A communication error has been detected. Communication
protocol
being used: "TCP/IP". Communication API being used: "SOCKETS".
Location
where the error was detected: "10.33.241. 42". Communication function
detecting the error: "connect". Protocol specific error code(s):
"146", "*",
"*". SQLSTATE=08001

Any idea about how to fix this error?
Thank you very much!


Error 146 is ECONNREFUSED (connection refused) on Solaris.

Is DB2 started on the server?
Do you have DB2CONN=tcpip set on the server?
Is DB2 listening on port 8100? (It normally listens on port 50000).

Or are you trying to connect to an Oracle database :)

--
Matt Emmerton
Nov 12 '05 #3
Sorry not responding before. The port number was wrong, the
installation was easy and perfect!. Thankyou very much.

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3272
by: Matt Bostock | last post by:
Hi, When I validate this page: http://www.drfunkenstein.net/using http://jigsaw.w3.org/css-validator/, I get the following results: http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A//www.drfunkenstein.net/ Or briefly: "Uncaught error java.lang.Exception: Import loop detected in
3
1970
by: N. Graves | last post by:
Hello, I don't understand this error message." Error accessing File. Network Connection may have been lost." I'm not using any network connection for the database. In the VBA editor is goes to "Private Sub Form_DblClick(Cancel As Integer)". I have been making a bunch of changes and I'm sure I have done something to corrupt this mdb but I don't know where to start of this one. I hope there is help for me...
0
6457
by: Martin Colmenares | last post by:
After I set my <%@ page ValidateRequest="false" %> , I still get the error illustrated below. The msdn mentioned something about filtering using the HTMLEncode. This is a snippet of the code that should display the result. </head> <body MS_POSITIONING="GridLayout" bgcolor="gainsboro"> <form id="Form1" method="post" runat="server"> <INPUT style="Z-INDEX: 101; LEFT: 248px; POSITION:absolute; TOP:184px" type="button" value=" OK "...
3
7013
by: ebj | last post by:
I get this error message from time to time in my new app: "CallbackOnCollectedDelegate was detected Message: A callback was made on a garbage collected delegate of type 'System.Windows.Forms!System.Windows.Forms.NativeMethods+WndProc::Invoke'. This may cause application crashes, corruption and data loss. When passing delegates to unmanaged code, they must be kept alive by the managed application until it is guaranteed that they will...
16
47676
by: Steve Chapel | last post by:
When I load the page <https://bugzilla.mozilla.org/attachment.cgi?id=237739with Internet Explorer 7 RC 1, I get the error "Object Expected" at line 174. When I click on the button, I also get the same error on line 186. This same HTML and JavaScript works perfectly in Firefox and Opera. How can I make the code work in IE?
3
3630
by: JToe | last post by:
Hi, I have a sql statement which is as follows:- INSERT INTO expense(Jan) SELECT sum(ECFAmount) FROM Transaction WHERE Date BETWEEN (#01/01/2007#) AND (#01/31/2007# ) When i execute the above, I have an error like this >> java.sql.SQLException: Too few parameters. Expected 1. can someone pls suggest or advise me what can be the problem?
18
11137
by: ana10192000 | last post by:
VB6.0 Private dbParts as Database Private dbParts as Recordset guys help, i can't execute my program compiler error says: " user-defined type not defined " i'm not much a knowledgable programmer, i'm still just a student, do explain it in a little bit detailed statements. thanks!
3
18738
by: Renzr | last post by:
I have a C++ package which works very well in the 32-bit Linux-like OS. However, it will lead to a "*** glibc detected *** ./ex2: munmap_chunk(): invalid pointer" in 64-bit (Fedora 7-64), when it delete a object generated by new operator. I really do not known why? And I need your help. Please tell me why and when this error should happen? So that I can fix my problem. :)
1
3381
by: itxharsh | last post by:
/* While running the program a runtime error occurs."glibc detected" followed by a lot of memory address/instruction errors. Please help rectify this error.*/ /*Header file:"nonpreemptive.h" is as follows: #define C_OR_CPP 2 // Change value to 1 here if you are submitting a C solution for this problem. // Change value to 2 here if you are submitting a C++ solution for this problem. void dsmain();
0
8440
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8096
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8306
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6773
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5466
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3937
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2448
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1557
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1300
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.