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 > Database does not exists in local database directory

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-11, 01:20
Roopam Roopam is offline
Registered User
 
Join Date: Dec 2011
Posts: 1
Database does not exists in local database directory

Hi,
I tried to restore a db backup and after restoring when i try to connect to it I get error "SQL1013N The database alias name or database name "TPTOOLM" could not be found. SQLSTATE=42705

I ran command db2 list db directory and got its entry in System Database directory : Database alias = TPTOOLM
Database name = TPTOOLM
Local database directory = /home/db2inst1
Database release level = d.00
Comment =
Directory entry type = Indirect
Catalog database partition number = 0
Alternate server hostname =
Alternate server port number =

But when I run list db directory on <db path> to get the local db directory content I dont get the entry of TPTOOLM db

Please suggest what shall I do to resolve this. Thanks!

Last edited by Roopam; 12-29-11 at 01:42.
Reply With Quote
  #2 (permalink)  
Old 12-29-11, 08:10
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
i would try uncatalog db xx
list db directory on path
catalog db on path to bring it back
if not present with second command - try drop-uncatalog-restore
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
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