Hello,
see below the two main tipical reasons for this error
- the server isn’t recheable due to network problem, like firewall/router
problem
A1) use ping and/or tracert to check that you can reach server
A2) use telnet, specifing db2 server port, if telnet work network is
OK
- define db2 Node and db2 Remote Database using a syntax like the
followings:
from a CLP window/session
NODE:
catalog tcpip node MY_NODE_NAME (for example N+db_name)
remote IP_add or hostname of server
server DB2_port (check on server in /etc/services the port number)
ostype LINUX/AIX/WIN
with “MY Node to server X”
;
– The below TERMINATE is mandatory to Refresh CLP) Cache Directory
TERMINATE;
– If you want list the node directory (remove --)
–LIST NODE DIRECTORY SHOW DETAIL;
REMOTE DB:
catalog db DATA_BASE_NAME
as ALIAS_of_DATA_BASE_NAME (can be the same)
at node NODE_NAME (see previous Node definiton)
authentication SERVER (where user/pswd authantication will checked)
with “db remoto DATA_BASE_NAME”;
– The below TERMINATE is mandatory to Refresh CLP) Cache Directory
TERMINATE;
– If you want list the DB directory (remove --)
–LIST DB DIRECTORY
after try a: db2 connect to database_name user xxx using ppppp
if work you can also define Node and db in Toad
Save the trees, Please do not print this e-mail unless you really need to
Per cortesia non stampare questa e-mail se non per assoluta necessità.
Cordiali Saluti, Best Regards, Bonne Réception, Mit Freundlichen Gruessen,
Venlig Hilsen, Saludos, Atenciosamente, Pokà/Met Vriendelijke Groeten
Gianfranco Casati
Certified Senior IBM System Engineer
zOS, DB2 zOS, Vtam, TCPIP, RACF, CICS, MQ, TWS, ect.
Linux, DB2LUW
IT Security is a Smart Investment
The human mind is our fundamental resource.
John Fitzgerald Kennedy
USA President
Da: “AndraRadu”
Per: ,
Data: 22/08/2016 21:40
Oggetto: [Toad for IBM DB2 - Discussion Forum] Cannot catalog db2 db in
toad
Cannot catalog db2 db in toad
Thread created by AndraRadu
Hello guys,
I am new in Toad world. I have a database on an AIX server and I don’t know
how to add it in toad interface. I tried to catalog the database but I keep
receiving the same error:
ERROR [08001] [IBM] SQL30081N A communication error has been detected.
Communication protocol being used: “TCP/IP”. Communication API being used:
“SOCKETS”. Location where the error was detected: “9.51.102.135”.
Communication function detecting the error: “recv”. Protocol specific
error code(s): “", "”, “0”. SQLSTATE=08001
Thanks in advance for your help!!
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or Unsubscribe from Toad for IBM DB2 Forum notifications altogether.
Toad for IBM DB2 - Discussion Forum
Flag this post as spam/abuse.