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 > Migration the Instance

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-04, 15:36
csonkazs csonkazs is offline
Registered User
 
Join Date: Mar 2004
Posts: 2
Migration the Instance

Hello,

I have a problem with migration of db2 instance. There are 2 databases; ISK and ADMISK. After "db2stop force" both databases are consistent, but the result of command "db2ckmig -e" is: "Database ISKADM is in an inconsistent state and it must be restarted." Based on OSS note 553963 I deactivated the database ADMISK and executed the command "db2ckmig ADMISK". The db2ckmig was successful.
Afterwards I stopped the db and executed the command "db2imigr -u db2isk db2isk" (as root), but the migration terminated with error: "Database ISKADM is in an inconsistent state and it must be restarted."

How can i migrate the instance in this case ?
Reply With Quote
  #2 (permalink)  
Old 03-02-04, 18:15
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Re: Migration the Instance

Never do a 'force' ... Always stop you applications gracefully ... If you do this way, you will not get inconsistent state error

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 03-03-04, 07:33
csonkazs csonkazs is offline
Registered User
 
Join Date: Mar 2004
Posts: 2
Re:

Hello Sathyaram,

I dropped the database ADMISK, and the migration finished successfully. Later I will recreate the database with command "sddb6ins -i".

Thanks for reply.


Best Regards

Zsolt Csonka
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