k_murli_krishna
asked on
ERROR ON DB CREATION
1) I have installed db2 7.2 on windows 2000 system.
2) C:\PROGRA~1\SQLLIB\BIN>db2 sampl
SQL3274W The database was created successfully. However, the database was not cataloged in the LDAP directory. SQLCODE = "SQL3282".
C:\PROGRA~1\SQLLIB\BIN>db2 ? SQL3274W
SQL3274W The database was created successfully. However, the database was not cataloged in the LDAP directory.
SQLCODE = "<sqlcode>".
Explanation: The database was created successfully. However, the database could not be cataloged in the LDAP directory because there was an error occurred during the operation.
User Response: Correct the error as indicated in the SQLCODE. Then catalog the database in the LDAP directory using the CATALOG LDAP DATABASE command.
C:\PROGRA~1\SQLLIB\BIN>db2 ? SQL3282
SQL3282N The supplied credentials are not valid.
Explanation: Either or both the distinguished name (DN) of the
user and the password that were specified were not valid.
User Response: Resubmit the command using valid values for both the distinguished name (DN) of the user and the password.
What could be valid values for both the distinguished name (DN) of the user and the password.
2) C:\PROGRA~1\SQLLIB\BIN>db2
SQL3274W The database was created successfully. However, the database was not cataloged in the LDAP directory. SQLCODE = "SQL3282".
C:\PROGRA~1\SQLLIB\BIN>db2
SQL3274W The database was created successfully. However, the database was not cataloged in the LDAP directory.
SQLCODE = "<sqlcode>".
Explanation: The database was created successfully. However, the database could not be cataloged in the LDAP directory because there was an error occurred during the operation.
User Response: Correct the error as indicated in the SQLCODE. Then catalog the database in the LDAP directory using the CATALOG LDAP DATABASE command.
C:\PROGRA~1\SQLLIB\BIN>db2
SQL3282N The supplied credentials are not valid.
Explanation: Either or both the distinguished name (DN) of the
user and the password that were specified were not valid.
User Response: Resubmit the command using valid values for both the distinguished name (DN) of the user and the password.
What could be valid values for both the distinguished name (DN) of the user and the password.
ASKER
Thank you, ghp7000. This is okay for me. Just for curiosity, can you try & tell me how to make the error disappear event when DB2_ENABLE_LDAP=YES
ASKER
Also, if I upgrade with fixpack 3 & 12, do I set DB2_ENABLE_LDAP=YES/NO
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
db2set DB2_ENABLE_LDAP=NO