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 migration rc=2 Problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-19-10, 13:22
nemeth81 nemeth81 is offline
Registered User
 
Join Date: Feb 2010
Posts: 6
Database migration rc=2 Problem

Hi Gurus,
During the migration of the DB, I am facing the following problem.

D:\SQLLIB\BIN>Db2 migrate db D73
SQL1704N Database migration failed. Reason code "2".

There is one host with 2 db2 instances = 2 database. DB binaries has migrated to 9.5, one of the DB can be migrate, but with the another I am facing this problem.

Could you help me, what could be the problem?
DB is not in roll forward pending state.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 02-19-10, 13:45
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Code:
$ db2 "? sql1704"


SQL1704N Database migration failed.  Reason code
          "<reason-code>".

Explanation:

Database migration failed. The reason codes are as follows:

...

 2 database is not migrateable.  The database could be in one of
the following states:

o   backup pending state

o   roll-forward pending state

o   transaction inconsistent state

o   HADR has marked the database inconsistent
Reply With Quote
  #3 (permalink)  
Old 02-19-10, 13:51
nemeth81 nemeth81 is offline
Registered User
 
Join Date: Feb 2010
Posts: 6
Thanks, I am checking it. None of the above mentioned.
No hadr in, no backup, and no rollforward pending.
any other idea?
Reply With Quote
  #4 (permalink)  
Old 02-19-10, 13:57
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Code:
db2 get db cfg for <yourdb> | findstr "consistent pending"
Reply With Quote
  #5 (permalink)  
Old 02-19-10, 14:39
nemeth81 nemeth81 is offline
Registered User
 
Join Date: Feb 2010
Posts: 6
Thanks, The query did not get back result.
Maybe it could be an authorisation problem ?
One host with 2 db. Q73, and D73.
during the installation of the 9.5, I am using db2q73 user.
I can migrate the Q73, it is working fine. I can't migrate the D73.
maybe the problem with the users?
how could I check it, fix it?
thanks
Reply With Quote
  #6 (permalink)  
Old 02-19-10, 14:39
nemeth81 nemeth81 is offline
Registered User
 
Join Date: Feb 2010
Posts: 6
Thanks, The query did not get back result.
Maybe it could be an authorisation problem ?
One host with 2 db. Q73, and D73.
during the installation of the 9.5, I am using db2q73 user.
I can migrate the Q73, it is working fine. I can't migrate the D73.
maybe the problem with the users?
how could I check it, fix it?
thanks
Reply With Quote
  #7 (permalink)  
Old 02-19-10, 14:48
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by nemeth81 View Post
The query did not get back result.
What query? Can you see the database configuration parameters?
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