473,394 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

TCP/IP Error, rc1=22

ENVIRONMENT:
__________________________________________________ ______
"Server 1" = DB2 UDB ESE 7.1 FP7 on AIX 5.1
"Server 2" = DB2 UDB ESE 8.1 FP2 on AIX 5.1
__________________________________________________ ______

SCENARIO:
__________________________________________________ _________________________
1) I catalog tcpip node ("Server 2") & database "db_test" on "Server 1"

from "Server 2".
2) An attempt to connect to database "db_test" from "Server 1" gives
"SQL30081N........ Protocol specific error code(s): "22", "*", "*"

3) I have checked all the basics - SVCENAME, DB2COMM etc.
4) I can connect to lot of other DB2 UDB ESE 8.1 FP2 databases from
"Server 1".
5) I can connect to "db_test" database from my windows machine with
DB2 UDB ESE 8.2
__________________________________________________ _________________________

QUESTION:
__________________________________________________ _________________________
"Server 2" settings are ok - can connect to it from lot of machines.
"Server 1" settings are ok - I have cataloged a whole range of
databases (v7, v8) and successfully connect.

So, what could be the possible reason of this TCP/IP communication
failure? Any hints as to what does "rc1=22" mean?
Many thanks and wish you a festive season....Anurag
P.S. - "Server 1" is dev and "Server 2" is Production

Dec 27 '05 #1
2 1761
Try to drop the node server 2 and test_db from server 1.
Then use db2ca to help you catalog node and db.
Try again.

If it fails again, then i think you need to upgrade Server 1 to ESE 8 .


mike

Anurag wrote:
ENVIRONMENT:
__________________________________________________ ______
"Server 1" = DB2 UDB ESE 7.1 FP7 on AIX 5.1
"Server 2" = DB2 UDB ESE 8.1 FP2 on AIX 5.1
__________________________________________________ ______

SCENARIO:
__________________________________________________ _________________________
1) I catalog tcpip node ("Server 2") & database "db_test" on "Server 1"

from "Server 2".
2) An attempt to connect to database "db_test" from "Server 1" gives
"SQL30081N........ Protocol specific error code(s): "22", "*", "*"

3) I have checked all the basics - SVCENAME, DB2COMM etc.
4) I can connect to lot of other DB2 UDB ESE 8.1 FP2 databases from
"Server 1".
5) I can connect to "db_test" database from my windows machine with
DB2 UDB ESE 8.2
__________________________________________________ _________________________

QUESTION:
__________________________________________________ _________________________
"Server 2" settings are ok - can connect to it from lot of machines.
"Server 1" settings are ok - I have cataloged a whole range of
databases (v7, v8) and successfully connect.

So, what could be the possible reason of this TCP/IP communication
failure? Any hints as to what does "rc1=22" mean?
Many thanks and wish you a festive season....Anurag
P.S. - "Server 1" is dev and "Server 2" is Production


Dec 27 '05 #2
There are very serious restrictions on accessing DB2 V7 servers from DB2 V8
clients. Basically, it doesn't work unless you're very very careful, and
even then it only just works on the odd occasion. If you absolutely must go
this route, read the documentation carefully and try to lower your voice
during the utterance of the expletives.

Upgrading Server 1 to V8 is the best route.

"Anurag" <an**********@gmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
ENVIRONMENT:
__________________________________________________ ______
"Server 1" = DB2 UDB ESE 7.1 FP7 on AIX 5.1
"Server 2" = DB2 UDB ESE 8.1 FP2 on AIX 5.1
__________________________________________________ ______

SCENARIO:
__________________________________________________ _________________________
1) I catalog tcpip node ("Server 2") & database "db_test" on "Server 1"

from "Server 2".
2) An attempt to connect to database "db_test" from "Server 1" gives
"SQL30081N........ Protocol specific error code(s): "22", "*", "*"

3) I have checked all the basics - SVCENAME, DB2COMM etc.
4) I can connect to lot of other DB2 UDB ESE 8.1 FP2 databases from
"Server 1".
5) I can connect to "db_test" database from my windows machine with
DB2 UDB ESE 8.2
__________________________________________________ _________________________

QUESTION:
__________________________________________________ _________________________
"Server 2" settings are ok - can connect to it from lot of machines.
"Server 1" settings are ok - I have cataloged a whole range of
databases (v7, v8) and successfully connect.

So, what could be the possible reason of this TCP/IP communication
failure? Any hints as to what does "rc1=22" mean?
Many thanks and wish you a festive season....Anurag
P.S. - "Server 1" is dev and "Server 2" is Production

Dec 28 '05 #3

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

Similar topics

30
by: Neil Zanella | last post by:
Hello, Allow me to share my frustrations with GNU g++. This is the second time something similar happens to me: I can't find anything wrong with my C++ program and yet I get segfaults, and...
5
by: Petr Jakes | last post by:
On my box (Fedora Core4, Python 2.4.1) I am getting following error: >>> import termios, sys >>> fd = sys.stdin.fileno() >>> oldSettings = termios.tcgetattr(fd) Traceback (innermost last): File...
5
by: Infinite Corridor | last post by:
I am trying to get an echoserver running on my N80 Nokia cell phone, that uses "python for s60". What worked: I ran echoclient on the phone and echoserver on my Powerbook and it worked. What...
6
by: Mudcat | last post by:
Hi, I can't figure out why ctypes won't load the DLL I need to use. I've tried everything I can find (and the ctypes website is down at the moment). Here's what I've seen so far. I've added...
1
by: Renilkumar | last post by:
Hello, I have migrated an application from ASP.NET 1.x to ASP.NET 2.0. However after migration I am getting an error msg in class file abc.vb which is under App_Code/Classes folder... Error 22...
4
by: pbd22 | last post by:
Hi. I am caught between 2 errors. When I have: Public Property Subtitle() As String Get Return _subTitle End Get Set(ByVal value As String) _subTitle = value
4
by: jk2l | last post by:
Error 10 error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function "public: void __thiscall GLTexture::Use(void)" (?Use@GLTexture@@QAEXXZ) GLTexture.obj Error 11 error...
1
by: max.aginaga | last post by:
Hi everyone I've come across the following problem: on two different linux machines, both running python 2.5 (r25:51908), I have the same file 'd.dat'. The md5 checksums are the same. Now, on...
0
by: shekharban | last post by:
Hi, Below is the raw socket program for sending routing header in ipv6 domain. My source address is fe80::21d:9ff:fe17:58c7 and destination address is fe80::21d:9ff:fe17:5d0e in the below...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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...

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.