Hi All,
I am facing a strange problem with my database. Recently the database instance owner's password got expired. We noticed it some 3-4 days later and by that time the application had already tried connecting to the database for considerable number of times. Once we noticed it we did a password reset for the instance owner back to the old password. After that when I tried to connect to database I received the below error:
"SQL1031N The database directory cannot be found on the indicated file system. SQLSTATE=58031"
I, then googled and found a solution that Uncatalog database and then Catalog it again should fix the issue. Once I did the same I have started getting a new error "SQL1013N The database alias name or database name "XXXX" could not be found. SQLState=42705" for which I am not able to find any solution.
I have tried using the Add Database wizard from db2 control center but it doesnt detect the particular database in instance owner home (though it finds & connects another database present in instance owner's home which wasn't automatically accessed by any app ever since the password expired).
I have even tried restoring the instance owner home directory contents to an older time when the database was getting connected but the error stays the same.
Please help! Thanks in anticipation!