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 > Unable to attach to the remote instance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-10, 01:23
singhipst singhipst is offline
Registered User
 
Join Date: Jul 2006
Location: Bangalore
Posts: 57
Unable to attach to the remote instance

Hi,

I am getting below error while attaching to the remote instance.

Code:
D:\Backups>db2 attach to P6APP1_1 user db2inst1
Enter current password for db2inst1:
SQL30082N  Security processing failed with reason "24" ("USERNAME AND/OR
PASSWORD INVALID").  SQLSTATE=08001

D:\Backups>
This command is failing in windows XP however i am able to catalog node using control center by search option and it is able to search the db2 instance running on AIX and databases runinng under this instance.

The password and user name are correct and the same command (user/password) is working fine in AIX machine where my DB2 Server is running.

Below is the dbm configuration on my DB server running on AIX
Code:
 Database manager authentication        (AUTHENTICATION) = SERVER
 Alternate authentication           (ALTERNATE_AUTH_ENC) = NOT_SPECIFIED
 Cataloging allowed without authority   (CATALOG_NOAUTH) = NO
 Trust all clients                      (TRUST_ALLCLNTS) = YES
 Trusted client authentication          (TRUST_CLNTAUTH) = CLIENT
 Bypass federated authentication            (FED_NOAUTH) = NO
Environment Details:
SERVER OS : AIX 64 bit
DB SERVER :9.7 with Fix Pack 1

CLIENT OS : Windows XP
CLIENT DB : 9.7 Fix Pack1
__________________
Ritesh Kumar Singh
IBM Certified DB2 DBA for LUW
**Knowledge Is Theft If Not Shared !!**
Reply With Quote
  #2 (permalink)  
Old 05-12-10, 08:22
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
As the error states, either the username or password is incorrect.

Andy
Reply With Quote
  #3 (permalink)  
Old 05-12-10, 08:50
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
There may be problems with passwords that are longer than 8 characters and/or contain punctuation characters. Try a password that's no longer than 8 alphanumeric characters.
Reply With Quote
  #4 (permalink)  
Old 05-13-10, 00:44
singhipst singhipst is offline
Registered User
 
Join Date: Jul 2006
Location: Bangalore
Posts: 57
i used password as db2inst1 only
__________________
Ritesh Kumar Singh
IBM Certified DB2 DBA for LUW
**Knowledge Is Theft If Not Shared !!**
Reply With Quote
  #5 (permalink)  
Old 05-13-10, 08:06
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Can you connect to a database on the AIX server form windows?

Andy
Reply With Quote
  #6 (permalink)  
Old 05-13-10, 10:38
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
please post the result of
Code:
db2 list node directory
Reply With Quote
  #7 (permalink)  
Old 05-14-10, 05:10
singhipst singhipst is offline
Registered User
 
Join Date: Jul 2006
Location: Bangalore
Posts: 57
D:\>db2 list node directory

Node Directory

Number of entries in the directory = 1

Node 1 entry:

Node name = P6APP1_1
Comment =
Directory entry type = LOCAL
Protocol = TCPIP
Hostname = TESTDBSRV
Service name = db2c_db2inst1


D:\>
__________________
Ritesh Kumar Singh
IBM Certified DB2 DBA for LUW
**Knowledge Is Theft If Not Shared !!**
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