| |
|
If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
|
 |

03-16-09, 11:52
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 10
|
|
|
Facing problem while cataloging database
|
|
Hi ,
I'm newbie in DB2 Administration, I'm trying to do database cataloging. I'm working with DB2 V8.2 on Linux V4.
These are the steps that I have followed to catalog :
1.db2 catalog tcpip node node1 remote xxx.xxx.xxx.xxx server <sname>
2. db2 catalog database <database> at node1
3. db2 connect to <database> user <user> using <password>
This the error that I'm facing on console
SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "xxx.xxx.xxx.xxx". Communication function
detecting the error: "connect". Protocol specific error code(s): "111", "*",
"*". SQLSTATE=08001
This is error that I get on db2diag.log
FUNCTION: DB2 UDB, common communication, sqlcctcpconnr, probe:110
MESSAGE : DIA3202C The TCP/IP call "connect" returned an errno="111".
Can anyone tell me where I'm going wrong and What I have to do to fix it. Thank you.
|
|

03-16-09, 16:41
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 3,575
|
|
On step 1, what did you supply for <sname>?
Andy
|
|

03-16-09, 22:52
|
|
Registered User
|
|
Join Date: May 2007
Location: somewhere in dbforums
Posts: 221
|
|
|
|
Go to the remote computer and check whether the communication protocol is set to TCP/IP
Execute the following command
In the list check the value of and see whther it has been set to .
__________________
IBM Certified Database Associate, DB2 9 for LUW
|
|

03-17-09, 05:15
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 10
|
|
Hi Andy,
On step 1, In the <sname> I have supplied service_name of remote system.
Hi Nick,
I have gone to remote computer and checked the communication protocol, it is set to TCP/IP
First of thanks for your replies. But still I'm unable to catalog. Please send your valuable replies. Thankyou.
|
|

03-17-09, 05:45
|
|
Registered User
|
|
Join Date: Jan 2003
Posts: 1,570
|
|
Hi,
111 error means timeout. Did you check firewall settings on server and also on client?
Regards
|
|

03-17-09, 07:16
|
|
:-)
|
|
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
|
|
Quote:
|
Originally Posted by asish2a
On step 1, In the <sname> I have supplied service_name of remote system.
|
So, how does the client know the contents of /etc/services on the remote system? Unless the same entry exists in /etc/services on the client, use the port number instead.
|
|

03-17-09, 08:06
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 10
|
|
Hi n_i,
I have checked by providing port number but still I face the same error.
|
|

03-17-09, 10:14
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 10
|
|
Hi grofaty,
I have checked firewall settings on server and client. I have gone through the command /usr/sbin/lokkit in my root and checked it. Its all fine. Do I need to have any changes on iptables ?
|
|

03-17-09, 10:45
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 14
|
|
Try to add this to the file db2cli.ini
[COMMON]
QUERYTIMEOUTINTERVAL=0
Maybe it's help.
__________________
Best regrads,
Danny Utro.
|
|

03-17-09, 11:37
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 10
|
|
Hi Utro,
I added the content
[COMMON]
QUERYTIMEOUTINTERVAL=0
to db2cli.ini on server and client, but still I'm facing the same error.
|
|

03-17-09, 11:52
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 14
|
|
Does you stop the dbm after setting this parameter? If not - try this (on server).
Quote:
db2 force applications all
db2 terminate
db2stop
db2start
|
__________________
Best regrads,
Danny Utro.
|
|

03-17-09, 12:34
|
|
Registered User
|
|
Join Date: Mar 2009
Posts: 10
|
|
Hi Utro,
Its working, thankyou thankyou very much. 
|
|

03-17-09, 12:44
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 14
|
|
|
__________________
Best regrads,
Danny Utro.
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|