SlideShare a Scribd company logo
A Recovery Case:control file lost Sidney Chen 2011-Apr-05
Control file is missing, alter database mount failed
SQL> startup ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size                   731872 bytes Variable Size            1493172224 bytes Database Buffers         2063597568 bytes Redo Buffers                2371584 bytes ORA-00205: error in identifying controlfile, check alert log for more info
confirm the control file are lost from alert log
Sun Apr  3 10:13:48 2011 Errors in file /export/home/icssprd/admin/bdump/icssprd_lgwr_326.trc: ORA-00210: cannot open the specified controlfile ORA-00202: controlfile: '/export/home/icssprd/data/data02/icssprd_ctrl01.ctl' ORA-27041: unable to open file HPUX-ia64 Error: 2: No such file or directory Additional information: 3 Sun Apr  3 10:13:48 2011 LGWR: terminating instance due to error 210 Instance terminated by LGWR, pid = 326 Mon Apr  4 10:15:50 2011
create control file Manually
CREATE CONTROLFILE REUSE DATABASE "ICSSPRD" RESETLOGS  ARCHIVELOG     MAXLOGFILES 48     MAXLOGMEMBERS 4     MAXDATAFILES 1024     MAXINSTANCES 1     MAXLOGHISTORY 4084 LOGFILE   GROUP 1 (     '/export/home/icssprd/data/data01/icssprd_redo_01a.rdo',     '/export/home/icssprd/data/data12/icssprd_redo_01b.rdo'   ) SIZE 1000M, 	. 	. 	.   GROUP 8 (     '/export/home/icssprd/data/data10/icssprd_redo_08a.rdo',     '/export/home/icssprd/data/data16/icssprd_redo_08b.rdo'   ) SIZE 1000M DATAFILE   '/export/home/icssprd/data/data01/icssprd_system_01.dbf',   '/export/home/icssprd/data/data14/icssprd_rbs_01.dbf', 	. 	. 	.   '/export/home/icssprd/data/data34/icssprd_css_ref_data_04.dbf',   '/export/home/icssprd/data/data34/icssprd_css_ref_indx_05.dbf' CHARACTER SET US7ASCII
"Alter database open resetlogs" failed due to ora-00600 2662
Mon Apr  4 12:27:07 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr  4 12:27:08 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr  4 12:27:08 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 15737 ORA-1092 signalled during: Alter database open... Mon Apr  4 12:32:09 2011 USER: terminating instance due to error 1092 Instance terminated by USER, pid = 15737
ORA-600 [2662] "Block SCN is ahead of Current SCN" ORA-600 [2662] [a] [b] [c] [d] [e] ARGUMENTS: Arg [a]  Current SCN WRAP Arg [b]  Current SCN BASE Arg [c]  dependent SCN WRAP Arg [d]  dependent SCN BASE  Arg [e]  Where present this is the DBA where the dependent SCN came from.
ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Current SCN WRAP=8 Current SCN Base = 1439299167 dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Current SCN Base < dependent SCN BASE
When scn base up to  4 * 1024 * 1024 * 1024  SCN Wrap = SCN Wrap + 1 SCN Base reset to 1
ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL N'; N = 1024*1024*1024
N=? dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Set Current SCN WRAP =9 N = (8+1) * 4 = 36
Wrongly Set level=1 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; ALTER DATABASE OPEN;
SQL> startup mount; ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size                   731872 bytes Variable Size            1493172224 bytes Database Buffers         2063597568 bytes Redo Buffers                2371584 bytes Database mounted. SQL> ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; Session altered. SQL> ALTER DATABASE OPEN; ALTER DATABASE OPEN * ERROR at line 1: ORA-01113: file 1 needs media recovery ORA-01110: data file 1: '/export/home/icssprd/data/data01/icssprd_system_01.dbf'
Mon Apr  4 14:12:18 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr  4 14:12:19 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr  4 14:12:19 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 25729 ORA-1092 signalled during: ALTER DATABASE OPEN...
1073741824 = 1024 * 1024 * 1024
Adjust LEVEL to 36 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 36'; ALTER DATABASE OPEN;
Errors in file /export/home/icssprd/admin/udump/icssprd_ora_6821.trc: ORA-00607: Internal error occurred while making a change to a data block ORA-00600: internal error code, arguments: [4194], [52], [33], [], [], [], [], [] Error 607 happened during db open, shutting down database USER: terminating instance due to error 607 Instance terminated by USER, pid = 6821 ORA-1092 signalled during: ALTER DATABASE OPEN...
Hidden Parameter _corrupted_rollback_segments ._corrupted_rollback_segments='rbs01','rbs02','rbs03','rbs04','rbs05','rbs06','rbs07','rbs08','rbs09','rbs10','rbs11','rbs12','rbs_batch1','rbs_batch2','rbs_batch3'
$ORACLE_HOME/dbs/initicssprd.ora rollback_segments      = (rbs01,rbs02,rbs03,rbs04,rbs05,rbs06,rbs07,rbs08,rbs09,rbs10,rbs11,rbs12,rbs_batch1,rbs_batch2,rbs_batch3)
If the undo management is auto undo_management         = auto
[Itanium] oracle@qadb01:/export/home/icssprd/data/data01> strings icssprd_system_01.dbf | grep _SYSSMU | cut -d $ -f 1 | sort -u _SYSSMU16 _SYSSMU17 _SYSSMU18 _SYSSMU19 _SYSSMU20 _SYSSMU21 _SYSSMU22 _SYSSMU23 _SYSSMU24 _SYSSMU25
  create new undo tablespace, swtch default undo tablespace, drop the obsolete undo tablespace
Reference Oracle Diag:如何处理ORA-600 2662错误 http://www.eygle.com/archives/2005/12/oracle_diagnostics_howto_deal_2662_error.html http://goo.gl/UobE7 https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=281429.1

More Related Content

What's hot

Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Sandesh Rao
 
Install oracle database 12c software on windows
Install oracle database 12c software on windowsInstall oracle database 12c software on windows
Install oracle database 12c software on windows
Biju Thomas
 
12c installation
12c installation12c installation
12c installation
Osama Mustafa
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
mohammed shahnawaz ahmed
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Sandesh Rao
 
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
Marco Vigelini
 
Finding Evil In DNS Traffic
Finding  Evil In DNS TrafficFinding  Evil In DNS Traffic
Finding Evil In DNS Traffic
real_slacker007
 
Capturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQLCapturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQL
Padraig O'Sullivan
 
Esm rel notes_v5.2
Esm rel notes_v5.2Esm rel notes_v5.2
Esm rel notes_v5.2
Protect724
 
CV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_EngCV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_Eng
Dao Xuan Thai
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
K Kumar Guduru
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12c
uzzal basak
 
Hardening solaris
Hardening solarisHardening solaris
Hardening solaris
Femi Adeyemi
 
Tde oracle customer_demo
Tde oracle customer_demoTde oracle customer_demo
Tde oracle customer_demo
Viaggio Italia
 
2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-final2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-final
Markus Flechtner
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4
Mahamudul Hasan
 
Clase 09 03-2013
Clase 09 03-2013Clase 09 03-2013
Clase 09 03-2013
sayajeff
 

What's hot (17)

Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
Troubleshooting Tips and Tricks for Database 19c - Sangam 2019
 
Install oracle database 12c software on windows
Install oracle database 12c software on windowsInstall oracle database 12c software on windows
Install oracle database 12c software on windows
 
12c installation
12c installation12c installation
12c installation
 
Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4Physical_Standby_Database_R12.2.4
Physical_Standby_Database_R12.2.4
 
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020Troubleshooting Tips and Tricks for Database 19c   ILOUG Feb 2020
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
 
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
The first bug on Oracle Database 12c: how to create a pdb by cloning a remote...
 
Finding Evil In DNS Traffic
Finding  Evil In DNS TrafficFinding  Evil In DNS Traffic
Finding Evil In DNS Traffic
 
Capturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQLCapturing, Analyzing, and Optimizing your SQL
Capturing, Analyzing, and Optimizing your SQL
 
Esm rel notes_v5.2
Esm rel notes_v5.2Esm rel notes_v5.2
Esm rel notes_v5.2
 
CV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_EngCV_Dao Xuan Thai_Eng
CV_Dao Xuan Thai_Eng
 
12c (12.1) Database installation on Solaris 11(11.2)
12c (12.1) Database  installation on Solaris 11(11.2)12c (12.1) Database  installation on Solaris 11(11.2)
12c (12.1) Database installation on Solaris 11(11.2)
 
Schema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12cSchema replication using oracle golden gate 12c
Schema replication using oracle golden gate 12c
 
Hardening solaris
Hardening solarisHardening solaris
Hardening solaris
 
Tde oracle customer_demo
Tde oracle customer_demoTde oracle customer_demo
Tde oracle customer_demo
 
2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-final2017 10-oow-fma-application-containers-v01-final
2017 10-oow-fma-application-containers-v01-final
 
Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4Oracle 18c installation on Oracle Enterprise Linux 7.4
Oracle 18c installation on Oracle Enterprise Linux 7.4
 
Clase 09 03-2013
Clase 09 03-2013Clase 09 03-2013
Clase 09 03-2013
 

Similar to Recovery case: All the Control file are lost

使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子
maclean liu
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
Jason Arneil
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
Chien Chung Shen
 
8i standby
8i standby8i standby
8i standby
Anil Pandey
 
Less04 instance
Less04 instanceLess04 instance
Less04 instance
Imran Ali
 
Build a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and GlueBuild a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and Glue
Maxym Kharchenko
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
Guatemala User Group
 
Less04 Instance
Less04 InstanceLess04 Instance
Less04 Instance
vivaankumar
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
sdrhr
 
br_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.docbr_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.doc
Lucky Ally
 
Les 06 Perform Rec
Les 06 Perform RecLes 06 Perform Rec
Les 06 Perform Rec
vivaankumar
 
Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017
Brendan Tierney
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11g
Maris Elsins
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
Francisco Alvarez
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01
Karam Abuataya
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11g
fcamachob
 
Change DB Name
Change DB NameChange DB Name
Change DB Name
Anar Godjaev
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
Kernel Training
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architecture
Martin Berger
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
Paulo Fagundes
 

Similar to Recovery case: All the Control file are lost (20)

使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子使用Prm恢复受损的oracle数据表几个例子
使用Prm恢复受损的oracle数据表几个例子
 
Adventures in Dataguard
Adventures in DataguardAdventures in Dataguard
Adventures in Dataguard
 
Oracle Database Management Basic 1
Oracle Database Management Basic 1Oracle Database Management Basic 1
Oracle Database Management Basic 1
 
8i standby
8i standby8i standby
8i standby
 
Less04 instance
Less04 instanceLess04 instance
Less04 instance
 
Build a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and GlueBuild a DataWarehouse for your logs with Python, AWS Athena and Glue
Build a DataWarehouse for your logs with Python, AWS Athena and Glue
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Less04 Instance
Less04 InstanceLess04 Instance
Less04 Instance
 
database backup and recovery
database backup and recoverydatabase backup and recovery
database backup and recovery
 
br_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.docbr_test_lossof-datafile_10g.doc
br_test_lossof-datafile_10g.doc
 
Les 06 Perform Rec
Les 06 Perform RecLes 06 Perform Rec
Les 06 Perform Rec
 
Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017Ireland OUG Meetup May 2017
Ireland OUG Meetup May 2017
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11g
 
Oracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
 
11thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp0111thingsabout11g 12659705398222 Phpapp01
11thingsabout11g 12659705398222 Phpapp01
 
11 Things About11g
11 Things About11g11 Things About11g
11 Things About11g
 
Change DB Name
Change DB NameChange DB Name
Change DB Name
 
Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning Oracle Oracle Performance Tuning
Oracle Oracle Performance Tuning
 
Oracle RDBMS architecture
Oracle RDBMS architectureOracle RDBMS architecture
Oracle RDBMS architecture
 
Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 

Recently uploaded

Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
Zilliz
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

Infrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI modelsInfrastructure Challenges in Scaling RAG with Custom AI models
Infrastructure Challenges in Scaling RAG with Custom AI models
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 

Recovery case: All the Control file are lost

  • 1. A Recovery Case:control file lost Sidney Chen 2011-Apr-05
  • 2. Control file is missing, alter database mount failed
  • 3. SQL> startup ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size 731872 bytes Variable Size 1493172224 bytes Database Buffers 2063597568 bytes Redo Buffers 2371584 bytes ORA-00205: error in identifying controlfile, check alert log for more info
  • 4. confirm the control file are lost from alert log
  • 5. Sun Apr 3 10:13:48 2011 Errors in file /export/home/icssprd/admin/bdump/icssprd_lgwr_326.trc: ORA-00210: cannot open the specified controlfile ORA-00202: controlfile: '/export/home/icssprd/data/data02/icssprd_ctrl01.ctl' ORA-27041: unable to open file HPUX-ia64 Error: 2: No such file or directory Additional information: 3 Sun Apr 3 10:13:48 2011 LGWR: terminating instance due to error 210 Instance terminated by LGWR, pid = 326 Mon Apr 4 10:15:50 2011
  • 7. CREATE CONTROLFILE REUSE DATABASE "ICSSPRD" RESETLOGS ARCHIVELOG MAXLOGFILES 48 MAXLOGMEMBERS 4 MAXDATAFILES 1024 MAXINSTANCES 1 MAXLOGHISTORY 4084 LOGFILE GROUP 1 ( '/export/home/icssprd/data/data01/icssprd_redo_01a.rdo', '/export/home/icssprd/data/data12/icssprd_redo_01b.rdo' ) SIZE 1000M, . . . GROUP 8 ( '/export/home/icssprd/data/data10/icssprd_redo_08a.rdo', '/export/home/icssprd/data/data16/icssprd_redo_08b.rdo' ) SIZE 1000M DATAFILE '/export/home/icssprd/data/data01/icssprd_system_01.dbf', '/export/home/icssprd/data/data14/icssprd_rbs_01.dbf', . . . '/export/home/icssprd/data/data34/icssprd_css_ref_data_04.dbf', '/export/home/icssprd/data/data34/icssprd_css_ref_indx_05.dbf' CHARACTER SET US7ASCII
  • 8. "Alter database open resetlogs" failed due to ora-00600 2662
  • 9. Mon Apr 4 12:27:07 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr 4 12:27:08 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_15737.trc: ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Mon Apr 4 12:27:08 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 15737 ORA-1092 signalled during: Alter database open... Mon Apr 4 12:32:09 2011 USER: terminating instance due to error 1092 Instance terminated by USER, pid = 15737
  • 10. ORA-600 [2662] "Block SCN is ahead of Current SCN" ORA-600 [2662] [a] [b] [c] [d] [e] ARGUMENTS: Arg [a] Current SCN WRAP Arg [b] Current SCN BASE Arg [c] dependent SCN WRAP Arg [d] dependent SCN BASE Arg [e] Where present this is the DBA where the dependent SCN came from.
  • 11. ORA-00600: internal error code, arguments: [2662], [8], [1439299167], [8], [1441267038], [25165833], [], [] Current SCN WRAP=8 Current SCN Base = 1439299167 dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Current SCN Base < dependent SCN BASE
  • 12. When scn base up to 4 * 1024 * 1024 * 1024 SCN Wrap = SCN Wrap + 1 SCN Base reset to 1
  • 13. ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL N'; N = 1024*1024*1024
  • 14. N=? dependent SCN WRAP=8 dependent SCN BASE= 1441267038 Set Current SCN WRAP =9 N = (8+1) * 4 = 36
  • 15. Wrongly Set level=1 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; ALTER DATABASE OPEN;
  • 16. SQL> startup mount; ORACLE instance started. Total System Global Area 3559873248 bytes Fixed Size 731872 bytes Variable Size 1493172224 bytes Database Buffers 2063597568 bytes Redo Buffers 2371584 bytes Database mounted. SQL> ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 1'; Session altered. SQL> ALTER DATABASE OPEN; ALTER DATABASE OPEN * ERROR at line 1: ORA-01113: file 1 needs media recovery ORA-01110: data file 1: '/export/home/icssprd/data/data01/icssprd_system_01.dbf'
  • 17. Mon Apr 4 14:12:18 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr 4 14:12:19 2011 Errors in file /export/home/icssprd/admin/udump/icssprd_ora_25729.trc: ORA-00600: internal error code, arguments: [2256], [0], [1073741824], [8], [1439319171], [], [], [] Mon Apr 4 14:12:19 2011 Error 600 happened during db open, shutting down database USER: terminating instance due to error 600 Instance terminated by USER, pid = 25729 ORA-1092 signalled during: ALTER DATABASE OPEN...
  • 18. 1073741824 = 1024 * 1024 * 1024
  • 19. Adjust LEVEL to 36 startup mount; ALTER SESSION SET EVENTS '10015 TRACE NAME ADJUST_SCN LEVEL 36'; ALTER DATABASE OPEN;
  • 20. Errors in file /export/home/icssprd/admin/udump/icssprd_ora_6821.trc: ORA-00607: Internal error occurred while making a change to a data block ORA-00600: internal error code, arguments: [4194], [52], [33], [], [], [], [], [] Error 607 happened during db open, shutting down database USER: terminating instance due to error 607 Instance terminated by USER, pid = 6821 ORA-1092 signalled during: ALTER DATABASE OPEN...
  • 21. Hidden Parameter _corrupted_rollback_segments ._corrupted_rollback_segments='rbs01','rbs02','rbs03','rbs04','rbs05','rbs06','rbs07','rbs08','rbs09','rbs10','rbs11','rbs12','rbs_batch1','rbs_batch2','rbs_batch3'
  • 22. $ORACLE_HOME/dbs/initicssprd.ora rollback_segments = (rbs01,rbs02,rbs03,rbs04,rbs05,rbs06,rbs07,rbs08,rbs09,rbs10,rbs11,rbs12,rbs_batch1,rbs_batch2,rbs_batch3)
  • 23. If the undo management is auto undo_management = auto
  • 24. [Itanium] oracle@qadb01:/export/home/icssprd/data/data01> strings icssprd_system_01.dbf | grep _SYSSMU | cut -d $ -f 1 | sort -u _SYSSMU16 _SYSSMU17 _SYSSMU18 _SYSSMU19 _SYSSMU20 _SYSSMU21 _SYSSMU22 _SYSSMU23 _SYSSMU24 _SYSSMU25
  • 25. create new undo tablespace, swtch default undo tablespace, drop the obsolete undo tablespace
  • 26. Reference Oracle Diag:如何处理ORA-600 2662错误 http://www.eygle.com/archives/2005/12/oracle_diagnostics_howto_deal_2662_error.html http://goo.gl/UobE7 https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=281429.1