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.

 
Go Back  dBforums > Database Server Software > DB2 > Error while cataloging remote database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-25-09, 08:20
nagapradeep nagapradeep is offline
Registered User
 
Join Date: Feb 2009
Posts: 5
Error while cataloging remote database

I have cataloged remote database into my DB2(V8.2) server. It was cataloged successfully but when I try to connect to that database (db2 "connect to mydb") I see this error,

SQL30081N A communication error has been detected. Communication protocol
being used: "TCP/IP". Communication API being used: "SOCKETS". Location
where the error was detected: "172.17.5.24". Communication function detecting
the error: "connect". Protocol specific error code(s): "111", "*", "*".
SQLSTATE=08001

Can any one please help me on this.
Reply With Quote
  #2 (permalink)  
Old 02-25-09, 08:58
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Can you post the catalog commands for the db and node?

Andy
Reply With Quote
  #3 (permalink)  
Old 02-25-09, 10:03
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Make sure the instance is running and the database server on the is accessible at the specified port (e.g. the firewall is not blocking traffic to that port).
Reply With Quote
  #4 (permalink)  
Old 02-25-09, 10:13
nagapradeep nagapradeep is offline
Registered User
 
Join Date: Feb 2009
Posts: 5
Hi ARWinner

I have used the following catalog commands for node and db,

DB2 "catalog tcpip node remotenode remote 172.17.5.24 server 60000"

DB2 "catalog db mydb at node remotenode"

thanks,
Pradeep
Reply With Quote
  #5 (permalink)  
Old 02-25-09, 11:04
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Check if:
- you can telnet to the server using this port (telnet <host> <port>)
- db2comm and svcename is set

For more info, please check the following technote:
IBM - SQL30081N TCPIP communication errors
Reply With Quote
  #6 (permalink)  
Old 02-28-09, 00:47
Vankina24 Vankina24 is offline
Registered User
 
Join Date: Feb 2009
Posts: 1
You have to catalog TCPIP node, DCS database and remote database.
Try these commands in order.

DB2 CATALOG TCPIP NODE nodename REMOTE xxx.xxx.xxx.xxx
DB2 CATALOG DCS DATABASE host name
DB2 CATALOG DATABASE AP3DDBM1
Terminate

List DCS directory,node directory and DCS directory to make sure that catalog is successful.

Thanks
Prasad Vankina
Reply With Quote
  #7 (permalink)  
Old 02-28-09, 02:50
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
dcs db is only needed if connecting from luw to mainframe z/os or vm/vse
what is source and what is target as o/s
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On