Bo's Oracle Station

查看: 1981|回复: 1

8a实验,控制文件恢复完,recover database 报错 求解 RMAN-06004: ORACLE error from recovery catal

[复制链接]

7

主题

20

帖子

117

积分

注册会员

Rank: 2

积分
117
发表于 2017-9-28 18:41:39 | 显示全部楼层 |阅读模式
  1. RMAN>

  2. RMAN> list backup of controlfile;


  3. List of Backup Sets
  4. ===================


  5. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  6. ------- ---- -- ---------- ----------- ------------ ---------------
  7. 139     Full    9.67M      DISK        00:00:03     26-JUL-17      
  8.         BP Key: 140   Status: AVAILABLE  Compressed: NO  Tag: TAG20170726T052247
  9.         Piece Name: +FRA/orcl/autobackup/2017_07_26/s_950332967.264.950332971
  10.   Control File Included: Ckp SCN: 1747327      Ckp time: 26-JUL-17

  11. BS Key  Type LV Size       Device Type Elapsed Time Completion Time
  12. ------- ---- -- ---------- ----------- ------------ ---------------
  13. 188     Full    9.36M      DISK        00:00:02     22-NOV-13      
  14.         BP Key: 196   Status: AVAILABLE  Compressed: NO  Tag: TAG20131122T222515
  15.         Piece Name: +FRA/orcl/autobackup/2013_11_22/s_832199115.269.832199117
  16.   Control File Included: Ckp SCN: 848078       Ckp time: 22-NOV-13

  17. RMAN> alter database mount;

  18. database mounted
  19. released channel: ORA_DISK_1
  20. released channel: ORA_DISK_2
  21. released channel: ORA_DISK_3
  22. released channel: ORA_DISK_4
  23. released channel: ORA_DISK_5
  24. released channel: ORA_DISK_6
  25. released channel: ORA_DISK_7
  26. released channel: ORA_DISK_8
  27. released channel: ORA_SBT_TAPE_1
  28. released channel: ORA_SBT_TAPE_2

  29. RMAN> alter database open;

  30. RMAN-00571: ===========================================================
  31. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  32. RMAN-00571: ===========================================================
  33. RMAN-03002: failure of alter db command at 09/28/2017 00:28:22
  34. ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

  35. RMAN> alter database open resetlogs;

  36. RMAN-00571: ===========================================================
  37. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  38. RMAN-00571: ===========================================================
  39. RMAN-03002: failure of alter db command at 09/28/2017 00:28:35
  40. ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
  41. ORA-01110: data file 1: '+DATA/orcl/datafile/system.265.950292089'

  42. RMAN> recover database;

  43. Starting recover at 28-SEP-17
  44. Starting implicit crosscheck backup at 28-SEP-17
  45. allocated channel: ORA_DISK_1
  46. channel ORA_DISK_1: SID=147 device type=DISK
  47. allocated channel: ORA_DISK_2
  48. channel ORA_DISK_2: SID=23 device type=DISK
  49. allocated channel: ORA_DISK_3
  50. channel ORA_DISK_3: SID=146 device type=DISK
  51. allocated channel: ORA_DISK_4
  52. channel ORA_DISK_4: SID=22 device type=DISK
  53. allocated channel: ORA_DISK_5
  54. channel ORA_DISK_5: SID=148 device type=DISK
  55. allocated channel: ORA_DISK_6
  56. channel ORA_DISK_6: SID=21 device type=DISK
  57. allocated channel: ORA_DISK_7
  58. channel ORA_DISK_7: SID=145 device type=DISK
  59. allocated channel: ORA_DISK_8
  60. channel ORA_DISK_8: SID=20 device type=DISK
  61. Finished implicit crosscheck backup at 28-SEP-17

  62. Starting implicit crosscheck copy at 28-SEP-17
  63. using channel ORA_DISK_1
  64. using channel ORA_DISK_2
  65. using channel ORA_DISK_3
  66. using channel ORA_DISK_4
  67. using channel ORA_DISK_5
  68. using channel ORA_DISK_6
  69. using channel ORA_DISK_7
  70. using channel ORA_DISK_8
  71. Finished implicit crosscheck copy at 28-SEP-17

  72. searching for all files in the recovery area
  73. cataloging files...
  74. cataloging done

  75. List of Cataloged Files
  76. =======================
  77. File Name: +fra/ORCL/AUTOBACKUP/2010_07_29/s_725595150.271.949874531
  78. File Name: +fra/ORCL/AUTOBACKUP/2010_07_28/s_725502190.344.949962897
  79. File Name: +fra/ORCL/AUTOBACKUP/2010_07_28/s_725502877.338.949954755
  80. File Name: +fra/ORCL/AUTOBACKUP/2010_07_28/s_725573392.301.949936481
  81. File Name: +fra/ORCL/AUTOBACKUP/2010_07_28/s_725574181.291.949922427
  82. File Name: +fra/ORCL/AUTOBACKUP/2010_07_28/s_725583390.362.950043657
  83. File Name: +fra/ORCL/AUTOBACKUP/2010_07_27/s_725491391.320.949951267
  84. File Name: +fra/ORCL/AUTOBACKUP/2010_07_27/s_725498954.396.950282547
  85. File Name: +fra/ORCL/AUTOBACKUP/2010_07_27/s_725500675.376.950185481
  86. File Name: +fra/ORCL/AUTOBACKUP/2017_07_26/s_950332967.264.950332971
  87. File Name: +fra/ORCL/AUTOBACKUP/2017_07_25/s_950291994.294.950292275
  88. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_1.359.950012463
  89. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_2.358.950006881
  90. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_3.356.950002903
  91. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_4.355.950002809
  92. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_5.354.950002805
  93. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_6.353.950002803
  94. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_7.352.950002779
  95. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_8.351.950000223
  96. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_9.350.950000147
  97. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_10.349.950000123
  98. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_11.348.950000069
  99. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_12.347.950000047
  100. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_13.285.949878049
  101. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_14.284.949875561
  102. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_15.283.949875329
  103. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_16.282.949875263
  104. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_20.278.949875001
  105. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_18.280.949875151
  106. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_19.279.949875095
  107. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_21.277.949874937
  108. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_22.276.949874881
  109. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_25.345.950275305
  110. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_24.274.949874727
  111. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_25.273.949874673
  112. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_26.275.949874819
  113. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_24.272.949874609
  114. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_1.398.725595357
  115. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_2.399.725595361
  116. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_3.400.725595371
  117. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_4.401.725595371
  118. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_5.406.725607297
  119. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_6.407.725607301
  120. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_7.408.725607307
  121. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_8.409.725607309
  122. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_9.410.725607311
  123. File Name: +fra/ORCL/ARCHIVELOG/2010_07_29/thread_1_seq_10.411.725607315
  124. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_1.374.950159091
  125. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_2.373.950158987
  126. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_3.372.950157989
  127. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_4.371.950156313
  128. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_5.370.950137237
  129. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_6.367.950133777
  130. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_7.365.950112065
  131. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_5.364.950098743
  132. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_6.363.950076025
  133. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_1.339.949954759
  134. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_1.332.949953383
  135. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_2.323.949952295
  136. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_3.310.949950093
  137. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_4.309.949950091
  138. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_5.308.949950087
  139. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_6.267.949950085
  140. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_8.307.949950075
  141. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_7.306.949950071
  142. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_7.304.949936491
  143. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_8.303.949936487
  144. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_9.302.949936483
  145. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_1.299.949936473
  146. File Name: +fra/ORCL/ARCHIVELOG/2010_07_28/thread_1_seq_1.287.949919395
  147. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_110.261.832198955
  148. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_111.394.950278629
  149. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_112.393.950278475
  150. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_113.392.950278419
  151. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_114.391.950278269
  152. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_115.390.950278099
  153. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_116.389.950277753
  154. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_117.258.950275759
  155. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_118.387.950273657
  156. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_119.386.950261041
  157. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_120.384.950246023
  158. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_121.383.950243615
  159. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_122.381.950225583
  160. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_123.379.950220473
  161. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_124.369.950135293
  162. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_125.368.950134089
  163. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_126.357.950003297
  164. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_127.346.950000593
  165. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_128.343.949956289
  166. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_129.342.949955087
  167. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_130.329.949953225
  168. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_131.305.949949773
  169. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_132.260.949936853
  170. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_133.298.949935481
  171. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_134.296.949932945
  172. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_135.295.949931439
  173. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_136.293.949930643
  174. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_135.289.949920369
  175. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_136.269.832199119
  176. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_137.397.950282547
  177. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_2.257.950275299
  178. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_3.259.950275195
  179. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_4.388.950274059
  180. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_5.385.950256325
  181. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_6.382.950239583
  182. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_7.380.950223621
  183. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_5.378.950220159
  184. File Name: +fra/ORCL/ARCHIVELOG/2010_07_27/thread_1_seq_6.377.950207611
  185. File Name: +fra/ORCL/ARCHIVELOG/2017_07_26/thread_1_seq_108.263.950341471
  186. File Name: +fra/ORCL/ARCHIVELOG/2017_07_26/thread_1_seq_109.262.950356459
  187. File Name: +fra/ORCL/ARCHIVELOG/2017_07_25/thread_1_seq_104.311.950285255

  188. using channel ORA_DISK_1
  189. using channel ORA_DISK_2
  190. using channel ORA_DISK_3
  191. using channel ORA_DISK_4
  192. using channel ORA_DISK_5
  193. using channel ORA_DISK_6
  194. using channel ORA_DISK_7
  195. using channel ORA_DISK_8
  196. RMAN-00571: ===========================================================
  197. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  198. RMAN-00571: ===========================================================
  199. RMAN-03002: failure of recover command at 09/28/2017 00:29:28
  200. RMAN-06004: ORACLE error from recovery catalog database: RMAN-20011: target database incarnation is not current in recovery catalog

  201. RMAN> recover database;

  202. Starting recover at 28-SEP-17
  203. using channel ORA_DISK_1
  204. using channel ORA_DISK_2
  205. using channel ORA_DISK_3
  206. using channel ORA_DISK_4
  207. using channel ORA_DISK_5
  208. using channel ORA_DISK_6
  209. using channel ORA_DISK_7
  210. using channel ORA_DISK_8
  211. released channel: ORA_DISK_1
  212. released channel: ORA_DISK_2
  213. released channel: ORA_DISK_3
  214. released channel: ORA_DISK_4
  215. released channel: ORA_DISK_5
  216. released channel: ORA_DISK_6
  217. released channel: ORA_DISK_7
  218. released channel: ORA_DISK_8
  219. RMAN-00571: ===========================================================
  220. RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  221. RMAN-00571: ===========================================================
  222. RMAN-03002: failure of recover command at 09/28/2017 00:29:58
  223. RMAN-06004: ORACLE error from recovery catalog database: RMAN-20011: target database incarnation is not current in recovery catalog
复制代码


回复

使用道具 举报

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2017-10-11 11:08:17 | 显示全部楼层
环境做好后,再做一遍吧。环境有问题。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-4-26 03:56 , Processed in 0.037962 second(s), 24 queries .

快速回复 返回顶部 返回列表