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 > script remove subdir in the db2inst1 home folder.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-20-10, 13:10
compuguruchris compuguruchris is offline
Registered User
 
Join Date: Apr 2010
Posts: 7
Red face script remove subdir in the db2inst1 home folder.

I have a script that wiped my /home/db2inst1 subfolders.
It left the database running but not able to do anything from this account to db2.
Restored the path with the slave db servers /home/db2inst1 directory.

It now allows me to do db2 stuff again, however when I try to do an online db backup it gives me the error. ( QL1035N The database is currently in use. SQLSTATE=57019 ).
The consistency ( Database is consistent = NO )
I'm guessing after some searching this might be the problem.

Is there a way of getting the database to check and change state?

I don't want to shutdown db2 until I have a viable db2 backup.

Any help appreciated .

Chris
Reply With Quote
  #2 (permalink)  
Old 06-21-10, 08:50
compuguruchris compuguruchris is offline
Registered User
 
Join Date: Apr 2010
Posts: 7
Anyone know a solution to this problem, before calling db2 support?
Chris
Reply With Quote
  #3 (permalink)  
Old 06-21-10, 09:54
compuguruchris compuguruchris is offline
Registered User
 
Join Date: Apr 2010
Posts: 7
I resolved my issue, the script to backup was set to offline backup. Problem resolved.
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