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 > Need help - getting SQL30081N error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-10-04, 18:50
tmullins tmullins is offline
Registered User
 
Join Date: Aug 2003
Posts: 68
Need help - getting SQL30081N error

I'm trying to catalog a client connection using the following commands:

db2 catalog tcpip node node remote <ip_address> server 50001
db2 catalog database MPP as PQA_MPP at node node authentication client


When I try to connect to the db (PQA_MPP) i get the following error:


db2 connect to PQA_MPP

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


The db2diag.log file shows:

2004-08-10-22.38.11.241725 Instance:db2adm Node:000
PID:9382(db2bp) TID:8192 Appid:none
common communication sqlcctcpconnr Probe:42

DIA3207E The TCP/IP call "gethostbyname" returned h_errno="2".



I can't find any info on this "gethostname" error. What am i missing here?
Reply With Quote
  #2 (permalink)  
Old 08-10-04, 20:19
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Have you defined the node using hostname ? Looks like there is no DNS entry for the name in your network ...

Get your network admin to create a DNS entry or define locally in /etc/hosts or redefine the node using ip-adress

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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