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 > problems with db2 catalog/restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-22-08, 16:26
jyoung jyoung is offline
Registered User
 
Join Date: Jul 2005
Posts: 31
problems with db2 catalog/restore

Some background -
Last night I applied fix pack 16 for db2 8.1. My current version was 8.1.1.56 and the new version was 8.1.1.144. Needles to say my application had problems and I was informed by the vendor that they only support upto fix pack 12. I restored the system with the mksysb I took prior to the upgrade, but now I am having problems with the database not being catalog etc. I tried to do a list db directory on <path> and received the following error:
Code:
SQL10004C  An I/O error occurred while accessing the database directory.
SQLSTATE=58031
I did a list db directory and that did return information including the local database directory for the db that I am having trouble with.

I thought I could do a restore, but I am getting similar errors. Could anyone please help me get my databases back to normal. Thank you.
Reply With Quote
  #2 (permalink)  
Old 08-22-08, 16:33
jyoung jyoung is offline
Registered User
 
Join Date: Jul 2005
Posts: 31
I guess what I am asking is what would be the best way to get this database restored and cataloged in the same directory. Thank you.
Reply With Quote
  #3 (permalink)  
Old 08-23-08, 04:39
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
if you have a backup, you could remove the file below sqllib/instance/SQLNODIR
and restore db or try catalog db on /xxx
there seems to be a problem with the file
__________________
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
  #4 (permalink)  
Old 08-24-08, 15:40
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
I know my answer is not addressing your question, but if you have problems with a newer FixPak, it would mean something is not backward compatible and you should try to figure out what caused the regression. In other words, FixPaks shouldn't break anything that has been working before.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #5 (permalink)  
Old 08-24-08, 18:40
sundaram sundaram is offline
Registered User
 
Join Date: Mar 2006
Posts: 104
Hi,

We faced somewhat similar issues when restoring db. We then restored the backup with re-direct option - ( new db name, new catalog entries..). This seem to fix our issues.


Our Db2 runs on windows 2003. We also noticed if we login using windows terminal services session and dropped a DB, we have to log out and login back an dthen perform restore. Terminal services session seem to hold on to resources and drop and restore under same Terminal service login session gave an error message similar to the one you have mentioned.


Regards

Hari kumar

Last edited by sundaram; 08-24-08 at 18:44.
Reply With Quote
  #6 (permalink)  
Old 08-25-08, 07:32
jyoung jyoung is offline
Registered User
 
Join Date: Jul 2005
Posts: 31
Thank you for your responses. I ended up contacting IBM support and they talked me through what I had to do. We ended up doing what przytula_guy suggested and that worked. Stolze, you are correct that the application does not work with Fixpack 16. I also ended up doing a oslevel restore to get back to my previous release. I will do more research the next time I decide to do an upgrade. Thank you.
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