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 > Not able to catalog the remote db

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-12, 02:26
Sandeep_Sharma Sandeep_Sharma is offline
Registered User
 
Join Date: Sep 2011
Location: Delhi
Posts: 17
Not able to catalog the remote db

Hello

I am using a db2 V9.5 fp6 on ZLINUX server and try to catalogging a remote database under db2inst1 through the following commands:

db2 catalog tcpip node <node_name> remote <server_name> server <port>

db2 catalog db <db_name> at node <node_name>

db2 connect to <db_name> user <user_id> using <passwd>

But when trying to connecting getting the following 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: "server_ip". Communication function detecting the error: "recv". Protocol specific error code(s): "*", "*", "0".
SQLSTATE=08001


I checked the server where the db presents locally and db2 is up and running fine there. I tried the same set of command on one another AIX server of same version of db2 and able to connect.
Even i made a another instance db2inst2 on the same ZLINUX server under the same db2 on which i am getting error and used the same commands and surprisingly, I was able to connect to that remote db but not able to connect when trying with db2inst1..

Can anyone help here.. Thanks in advance...
Reply With Quote
  #2 (permalink)  
Old 02-10-12, 02:58
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
server z/linux
client from same machine - other client ??
publish ip/port/svcename/etc/servies db2set -all of server
publish executed command from client and error
__________________
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
  #3 (permalink)  
Old 02-10-12, 04:42
ravichandrapratap ravichandrapratap is offline
Registered User
 
Join Date: Dec 2010
Posts: 75
Quote:
Originally Posted by Sandeep_Sharma View Post
Hello

I am using a db2 V9.5 fp6 on ZLINUX server and try to catalogging a remote database under db2inst1 through the following commands:

db2 catalog tcpip node <node_name> remote <server_name> server <port>

db2 catalog db <db_name> at node <node_name>

db2 connect to <db_name> user <user_id> using <passwd>

But when trying to connecting getting the following 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: "server_ip". Communication function detecting the error: "recv". Protocol specific error code(s): "*", "*", "0".
SQLSTATE=08001


I checked the server where the db presents locally and db2 is up and running fine there. I tried the same set of command on one another AIX server of same version of db2 and able to connect.
Even i made a another instance db2inst2 on the same ZLINUX server under the same db2 on which i am getting error and used the same commands and surprisingly, I was able to connect to that remote db but not able to connect when trying with db2inst1..

Can anyone help here.. Thanks in advance...

Invole OS team also with you, generally we will get comm. eror because of OS level problems also
check OS level entries like Ip in /etc/hosts
telnet
ping....
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