Hi!
I'm sure this question has been asked before, but the search function isn't working...
I have a machine (AIX) with several databases. Almost all are in instance DB2INST1 owned by user db2inst1. I have one other DB in instance LDAPDB2. It is owned by user ldapdb2.
When I use the Client Configuration, I can connect to all of the DBs in instance DB2INST1, but when I try LDAPDB2, I get:
Quote:
|
[IBM][CLI Driver] SQL1013N The database alias name or database name "LDAPDB2" could not be found. SQLSTATE=42705
|
The database is registered on the server when I do a "List db directory". I have tried setting up a tcpip node (on the same port as DB2INST1) and registering a remote db as well. No luck.
Code:
System Database Directory
Number of entries in the directory = 2
Database 1 entry:
Database alias = LDAP
Database name = LDAPDB2
Node name = NODE2
Database release level = 9.00
Comment =
Directory entry type = Remote
Catalog node number = -1
Database 2 entry:
Database alias = LDAPDB2
Database name = LDAPDB2
Local database directory = /home/ldapdb2
Database release level = 9.00
Comment =
Directory entry type = Indirect
Catalog node number = 0
$ db2 list node directory
Node Directory
Number of entries in the directory = 1
Node 1 entry:
Node name = NODE2
Comment =
Protocol = TCPIP
Hostname = xxxxxx
Service name = 50002
I X'd out the hostname above for security reasons.
Anybody have any ideas about the problem? Can we have two instances use the same port?
Thanks!
Jodie