{"id":761,"date":"2012-04-17T23:30:54","date_gmt":"2012-04-17T15:30:54","guid":{"rendered":"https:\/\/yangtingkun.net\/?p=761"},"modified":"2012-04-20T00:04:56","modified_gmt":"2012-04-19T16:04:56","slug":"%e6%81%a2%e5%a4%8d%e5%af%bc%e8%87%b4ora-600kccfhb_1%e9%94%99%e8%af%af","status":"publish","type":"post","link":"https:\/\/yangtingkun.net\/?p=761","title":{"rendered":"\u6062\u590d\u5bfc\u81f4ORA-600(kccfhb_1)\u9519\u8bef"},"content":{"rendered":"<p><a href=\"https:\/\/yangtingkun.net\/?p=690\"><\/a>\u8fd9\u7bc7\u6587\u7ae0\u4ecd\u7136\u662fRMAN-600\u9519\u8bef\u7684\u540e\u7eed\u7cfb\u5217\u3002<br \/>\nRMAN-600(8201)\u9519\u8bef\uff1a<a href=\"https:\/\/yangtingkun.net\/?p=690\">https:\/\/yangtingkun.net\/?p=690<\/a><br \/>\nRMAN-600(8201)\u9519\u8bef\u7684\u91cd\u73b0\uff1a<a href=\"https:\/\/yangtingkun.net\/?p=716\">https:\/\/yangtingkun.net\/?p=716<\/a><br \/>\n\u6062\u590d\u6570\u636e\u5e93\u51fa\u73b0ORA-38727\uff1a<a href=\"https:\/\/yangtingkun.net\/?p=759\">https:\/\/yangtingkun.net\/?p=759<\/a><br \/>\n\u5f53\u63a7\u5236\u6587\u4ef6\u91cc\u5b58\u5728\u66f4\u5927RESETLOGS\u7684ORPHAN\u65f6\uff0cOracle\u572810.2.0.3\u53ca\u4ee5\u524d\u7248\u672c\u662f\u5b58\u5728bug\u7684\uff0c\u5f00\u59cb\u4ec5\u4ec5\u8ba4\u4e3a\u8fd9\u4e2a\u95ee\u9898\u5f71\u54cdCATALOG\u6a21\u5f0f\u7684\u5907\u4efd\u3002\u4f46\u662f\u6d4b\u8bd5\u53d1\u73b0\uff0c\u5bf9\u4e8e\u6570\u636e\u5e93\u7684\u6062\u590d\u540c\u6837\u5b58\u5728\u5f71\u54cd\u3002<br \/>\n\u5982\u679c\u6570\u636e\u5e93\u7684FLASHBACK\u51fa\u4e8e\u6253\u5f00\u72b6\u6001\uff0c\u90a3\u4e48\u6062\u590d\u64cd\u4f5c\u5c31\u4f1a\u62a5\u9519ORA-38727\u9519\u8bef\uff0c\u800c\u5982\u679cFLASHBACK\u5904\u4e8e\u5173\u95ed\u72b6\u6001\uff0c\u6062\u590d\u64cd\u4f5c\u5c31\u53ef\u80fd\u78b0\u5230ORA-600(kccfhb_1)\u9519\u8bef\u3002<\/p>\n<pre lang='SQL'>[orat1@hpserver2 ~]$ sqlplus \/ as sysdba\r\nSQL*Plus: Release 10.2.0.3.0 - Production on Mon Apr 16 10:58:58 2012\r\nCopyright (c) 1982, 2006, Oracle.  All Rights Reserved.\r\nConnected to:\r\nOracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production\r\nWith the Partitioning, OLAP and Data Mining options\r\nSQL> set pages 100 lines 140\r\nSQL> alter database recover tablespace tbs011;\r\nalter database recover tablespace tbs011\r\n*\r\nERROR at line 1:\r\nORA-00283: recovery session canceled due to errors\r\nORA-00600: internal error code, arguments: [kccfhb_1], [4], [], [], [], [], [], []\r\nSQL> shutdown immediate\r\nDatabase closed.\r\nDatabase dismounted.\r\nORACLE instance shut down.\r\nSQL> startup mount\r\nORACLE instance started.\r\nTotal System Global Area  314572800 bytes\r\nFixed Size                  2072384 bytes\r\nVariable Size             150995136 bytes\r\nDatabase Buffers          155189248 bytes\r\nRedo Buffers                6316032 bytes\r\nDatabase mounted.\r\nSQL> recover tablespace tbs010;\r\nORA-00283: recovery session canceled due to errors\r\nORA-01110: data file 7: '\/t1\/orat1\/oradata\/test10g_s\/tbs010.dbf'\r\nORA-01157: cannot identify\/lock data file 7 - see DBWR trace file\r\nORA-01110: data file 7: '\/t1\/orat1\/oradata\/test10g_s\/tbs010.dbf'\r\nSQL> host \r\n[orat1@hpserver2 ~]$ rman target \/\r\nRecovery Manager: Release 10.2.0.3.0 - Production on Mon Apr 16 11:14:16 2012\r\nCopyright (c) 1982, 2005, Oracle.  All rights reserved.\r\nconnected to target database: TEST10G (DBID=1030910857, not open)\r\nRMAN> restore tablespace tbs010;\r\nStarting restore at 16-APR-12\r\nusing target database control file instead of recovery catalog\r\nallocated channel: ORA_DISK_1\r\nchannel ORA_DISK_1: sid=155 devtype=DISK\r\nskipping datafile 7; already restored to file \/t1\/orat1\/oradata\/test10g_s\/tbs010.dbf\r\nrestore not done; all files readonly, offline, or already restored\r\nFinished restore at 16-APR-12\r\nRMAN> recover tablespace tbs010;\r\nStarting recover at 16-APR-12\r\nusing channel ORA_DISK_1\r\nRMAN-00571: ===========================================================\r\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\r\nRMAN-00571: ===========================================================\r\nRMAN-03002: failure of recover command at 04\/16\/2012 11:14:38\r\nRMAN-06067: RECOVER DATABASE required with a backup or created control file\r\nRMAN> restore tablespace tbs010 force;\r\nStarting restore at 16-APR-12\r\nusing channel ORA_DISK_1\r\nchannel ORA_DISK_1: starting datafile backupset restore\r\nchannel ORA_DISK_1: specifying datafile(s) to restore from backup set\r\nrestoring datafile 00007 to \/t1\/orat1\/oradata\/test10g_s\/tbs010.dbf\r\nchannel ORA_DISK_1: reading from backup piece \/t1\/orat1\/flash_recovery_area\/BOSTON\/backupset\/2012_04_16\/o1_mf_nnndf_TAG20120416T101406_7rq03jy8_.bkp\r\nchannel ORA_DISK_1: restored backup piece 1\r\npiece handle=\/t1\/orat1\/flash_recovery_area\/BOSTON\/backupset\/2012_04_16\/o1_mf_nnndf_TAG20120416T101406_7rq03jy8_.bkp tag=TAG20120416T101406\r\nchannel ORA_DISK_1: restore complete, elapsed time: 00:00:02\r\nFinished restore at 16-APR-12\r\nRMAN> recover tablespace tbs010;\r\nStarting recover at 16-APR-12\r\nusing channel ORA_DISK_1\r\nRMAN-00571: ===========================================================\r\nRMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============\r\nRMAN-00571: ===========================================================\r\nRMAN-03002: failure of recover command at 04\/16\/2012 11:16:25\r\nRMAN-06067: RECOVER DATABASE required with a backup or created control file\r\nRMAN> recover database;\r\nStarting recover at 16-APR-12\r\nusing channel ORA_DISK_1\r\nstarting media recovery\r\narchive log thread 1 sequence 67 is already on disk as file \/t1\/orat1\/oradata\/test10g_s\/redo03.log\r\narchive log thread 1 sequence 68 is already on disk as file \/t1\/orat1\/oradata\/test10g_s\/redo01.log\r\narchive log thread 1 sequence 69 is already on disk as file \/t1\/orat1\/oradata\/test10g_s\/redo02.log\r\narchive log filename=\/t1\/orat1\/oradata\/test10g_s\/redo03.log thread=1 sequence=67\r\narchive log filename=\/t1\/orat1\/oradata\/test10g_s\/redo01.log thread=1 sequence=68\r\narchive log filename=\/t1\/orat1\/oradata\/test10g_s\/redo02.log thread=1 sequence=69\r\nmedia recovery complete, elapsed time: 00:00:02\r\nFinished recover at 16-APR-12\r\nRMAN> exit\r\n\r\nRecovery Manager complete.\r\n[orat1@hpserver2 ~]$ exit\r\nexit\r\nSQL> alter database open;\r\nalter database open\r\n*\r\nERROR at line 1:\r\nORA-01589: must use RESETLOGS or NORESETLOGS option for database open\r\n\r\nSQL> alter database open resetlogs;\r\nDatabase altered.\r\nSQL> ALTER SESSION SET NLS_DATE_FORMAT = 'YYYY-MM-DD HH24:MI:SS';                                                 \r\nSession altered.\r\nSQL> SELECT INCARNATION#, RESETLOGS_CHANGE#, RESETLOGS_TIME, STATUS, RESETLOGS_ID FROM V$DATABASE_INCARNATION;\r\nINCARNATION# RESETLOGS_CHANGE# RESETLOGS_TIME      STATUS  RESETLOGS_ID\r\n------------ ----------------- ------------------- ------- ------------\r\n           1                 1 2012-03-31 16:09:45 PARENT     779386185\r\n           2            251422 2012-04-01 14:32:15 PARENT     779466735\r\n           3            252146 2012-04-01 15:09:56 PARENT     779468996\r\n           4            263286 2012-04-05 16:16:26 ORPHAN     779818586\r\n           5            306405 2012-04-16 11:18:50 CURRENT    780751130\r\nSQL> EXIT\r\nDisconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production\r\nWith the Partitioning, OLAP and Data Mining options\r\n[orat1@hpserver2 ~]$ rman target \/ catalog RCAT_USER\/rcat_password\r\nRecovery Manager: Release 10.2.0.3.0 - Production on Mon Apr 16 11:25:10 2012\r\nCopyright (c) 1982, 2005, Oracle.  All rights reserved.\r\nconnected to target database: TEST10G (DBID=1030910857)\r\nconnected to recovery catalog database\r\nRMAN> unregister database;\r\ndatabase name is \"TEST10G\" and DBID is 1030910857\r\nDo you really want to unregister the database (enter YES or NO)? yes\r\ndatabase unregistered from the recovery catalog\r\nRMAN> register database;\r\ndatabase registered in recovery catalog\r\nstarting full resync of recovery catalog\r\nfull resync complete\r\nRMAN> show all;\r\nRMAN configuration parameters are:\r\nCONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default\r\nCONFIGURE BACKUP OPTIMIZATION OFF; # default\r\nCONFIGURE DEFAULT DEVICE TYPE TO DISK; # default\r\nCONFIGURE CONTROLFILE AUTOBACKUP OFF; # default\r\nCONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default\r\nCONFIGURE DEVICE TYPE DISK PARALLELISM 5 BACKUP TYPE TO BACKUPSET;\r\nCONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default\r\nCONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default\r\nCONFIGURE MAXSETSIZE TO UNLIMITED; # default\r\nCONFIGURE ENCRYPTION FOR DATABASE OFF; # default\r\nCONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default\r\nCONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default\r\nCONFIGURE SNAPSHOT CONTROLFILE NAME TO '\/t1\/orat1\/product\/10.2.0\/db_1\/dbs\/snapcf_test10g_s.f'; # default\r\nRMAN><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u8fd9\u4e2a\u6b65\u9aa4\u5176\u5b9e\u548c\u4e0a\u4e00\u7bc7ORA-38727\u9519\u8bef\u5b8c\u5168\u4e00\u6837\uff0c\u867d\u7136\u53ea\u662f\u4e00\u4e2a\u8868\u7a7a\u95f4\u7684\u6062\u590d\uff0cOracle\u4e5f\u5fc5\u987b\u5f3a\u5236\u5173\u95ed\u6570\u636e\u5e93\u6267\u884c\u5168\u6570\u636e\u5e93\u7684\u6062\u590d\uff0c\u800c\u4e14\u6700\u7ec8\u53ea\u80fdRESETLOGS\u65b9\u5f0f\u6253\u5f00\u6570\u636e\u5e93\u3002<br \/>\n\u968f\u7740OPEN RESETLOGS\u64cd\u4f5c\u7684\u5b8c\u6210\uff0cRMAN-600(8201)\u9519\u8bef\u4ea7\u751f\u7684\u6761\u4ef6\u4e5f\u4e0d\u518d\u5b58\u5728\uff0c\u56e0\u6b64CATALOG\u7684\u521b\u5efa\u5f97\u4ee5\u6210\u529f\uff0c\u63a7\u5236\u6587\u4ef6\u4e2d\u9690\u85cf\u7684\u95ee\u9898\u540c\u65f6\u5f97\u4ee5\u89e3\u51b3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u4ecd\u7136\u662fRMAN-600\u9519\u8bef\u7684\u540e\u7eed\u7cfb\u5217\u3002 RMAN-600(8201)\u9519\u8bef\uff1ahttps:\/\/yangtingkun.net\/?p=690 RMAN-600(8201)\u9519\u8bef\u7684\u91cd\u73b0\uff1ahttps:\/\/yangtingkun.net\/?p=716 \u6062\u590d\u6570\u636e\u5e93\u51fa\u73b0ORA-38727\uff1ahttps:\/\/yangtingkun.net\/?p=759 \u5f53\u63a7\u5236\u6587\u4ef6\u91cc\u5b58\u5728\u66f4\u5927RESETLOGS\u7684ORPHAN\u65f6\uff0cOracle\u572810.2.0.3\u53ca\u4ee5\u524d\u7248\u672c\u662f\u5b58\u5728bug\u7684\uff0c\u5f00\u59cb\u4ec5\u4ec5\u8ba4\u4e3a\u8fd9\u4e2a\u95ee\u9898\u5f71\u54cdCATALOG\u6a21\u5f0f\u7684\u5907\u4efd\u3002\u4f46\u662f\u6d4b\u8bd5\u53d1\u73b0\uff0c\u5bf9\u4e8e\u6570\u636e\u5e93\u7684\u6062\u590d\u540c\u6837\u5b58\u5728\u5f71\u54cd\u3002 \u5982\u679c\u6570\u636e\u5e93\u7684FLASHBACK\u51fa\u4e8e\u6253\u5f00\u72b6\u6001\uff0c\u90a3\u4e48\u6062\u590d\u64cd\u4f5c\u5c31\u4f1a\u62a5\u9519ORA-38727\u9519\u8bef\uff0c\u800c\u5982\u679cFLASHBACK\u5904\u4e8e\u5173\u95ed\u72b6\u6001\uff0c\u6062\u590d\u64cd\u4f5c\u5c31\u53ef\u80fd\u78b0\u5230ORA-600(kccfhb_1)\u9519\u8bef\u3002 [orat1@hpserver2 ~]$ sqlplus \/ as sysdba SQL*Plus: Release 10.2.0.3.0 &#8211; Production on Mon Apr 16 10:58:58 2012 Copyright (c) 1982, 2006, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 &hellip; <a href=\"https:\/\/yangtingkun.net\/?p=761\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[567,158,632,629,628,8,151,596,486,566,598],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2yiY3-ch","_links":{"self":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/761"}],"collection":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=761"}],"version-history":[{"count":1,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/761\/revisions"}],"predecessor-version":[{"id":762,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=\/wp\/v2\/posts\/761\/revisions\/762"}],"wp:attachment":[{"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yangtingkun.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}