Due to a power given to start the Oracle database: ORA-00333: redo log read block counter 7366 Error 2758

[Introduction] Environmental

System Environment: windows + Oracle 11GR2 + stand-alone + notarhive
 
BACKGROUND Description
Business Feedback Oracle database connections are not being given the information for the ORA-01033 error, feedback database login is not on the front of the consulting engineers appear database server power off and then restart the case:

The error message interpreted as a database or database is starting off 

[oracle@alllinux ~]$ oerr ora 01033
01033, 00000, "ORACLE initialization or shutdown in progress"
// *Cause: An attempt was made to log on while Oracle is being started up
//         or shutdown.
// *Action: Wait a few minutes. Then retry the operation.

[Problem]

According to not connect to database, log database to see if the database exception, see open_mode state to state mount, the attempt to use alter database open, try to open the database, the error message is:

The SQL> ALTER Open Database;
ALTER Open Database
*
Line 1 Error:
ORA-00333: redo log read block counter 7366 Error 2758

Disk IO error described as damage caused by an error when reading the log file, the current database is not open archives, the proposed method is restore backup files or copy other, there is no current database backup;

Query data for this error may modify the implicit parameter _allow_resetlogs_corruption = TRUE try to force a restart

[oracle@oslatm ~]$ oerr ora 00333
00333, 00000, "redo log read error block %s count %s"
// *Cause:  An IO error occurred while reading the log described in the
//          accompanying error.
// *Action: Restore accessibility to file, or get another copy of the file.
[oracle@oslatm ~]$

 

Since there is no backup, we recommend that the current cold standby shutdown the database, where the data directly to the file copy operation, otherwise the subsequent problems can not be restored to its original state;

After cooling to modify the operating parameters ready database:

SQL> create pfile='E:\backup\PFILEHISDB.ora' from spfile;
File has been created.
Add pfile parameter file
_allow_resetlogs_corruption=TRUE
*.undo_management='MANUAL'
*.rollback_segments='SYSTEM'
Meanwhile modify parameters undo, redo things are usually a problem, it means that the transaction did not have to submit complete, it will inevitably undo inconsistent, so just to undo also it changed
 
Try to start the database, operating simultaneously recover
SQL> Mount the Startup pfile = 'E: \ Backup \ PFILEHISDB.ora'
ORACLE instance started.
Total System Global Area 1954160640 bytes
Fixed Size                  2256464 bytes
Variable Size            1207959984 bytes
Database Buffers          738197504 bytes
Redo Buffers                5746688 bytes
数据库装载完毕。
SQL> RECOVER DATABASE until cancel; >>> automatically recover to a point in time
ORA-00279: Change 11817660 (generated 02/26/2020 11:06:42) is necessary for the thread 1
ORA-00289: recommendations:
D: \ APP \ ADMINISTRATOR \ FAST_RECOVERY_AREA \ HISDB \ ARCHIVELOG \ 2020_02_26 \ O1_MF_1
_389_% U_.ARC
ORA-00280: Changing 11,817,660 (for thread 1) in the sequence # 389

Specify log: {<the RET> = Suggested | filename | the AUTO |} the CANCEL
ORA-00308: Unable to open log file
'D: \ the APP \ the ADMINISTRATOR \ PRODUCT \ 11.2.0 \ DBHOME_1 \ the RDBMS \ ARC0000002478_0975754895.000
. 1'
ORA-27041 : Can not open file
OSD-04002: Can not open file
O / S-Error: Can not find the specified file (OS 2) system.

ORA-01547: warning: RECOVER success but OPEN RESETLOGS would get the following error
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: 'E: \ FSZYYDATA \ HISDB \ SYSTEM01.DBF'


SQL> alter database open resetlogs; 
alter database open resetlogs
*
第 1 行出现错误:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [2662], [2888], [676729259], [2888],
[676735192], [12583040], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [2662], [2888], [676729258], [2888],
[676735192], [12583040], [], [], [], [], [], []
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [2662], [2888], [676729256], [2888],
[676735192], [12583040], [], [], [], [], [], []
进程 ID: 1092
会话 ID: 1144 序列号: 5
 
 

Try to use resetlogs open the database when an error occurs:

ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [2662], [2888], [676729259], [2888],

[oracle@oslatm ~]$ oerr ORA 00603
00603, 00000, "ORACLE server session terminated by fatal error"
// *Cause:  An Oracle server session was in an unrecoverable state.
// *Action: Log in to Oracle again so a new server session will be created
//          automatically.  Examine the session trace file for more
//          information.
[oracle@oslatm ~]$

 

Query data is recommended to add parameters * ._ corrupted_rollback_segments = true conducted undo rollback

C:\Users\Administrator>sqlplus / as sysdba
SQL * Plus: Release 11.2.0.3.0 Production on Wednesday February 26 2020 17:29:47
Copyright (c) 1982, 2011, Oracle.  All rights reserved.
Connected to an idle routine.
SQL> the Startup pfile = 'E: \ Backup \ PFILEHISDB.ora'
ORACLE instance started.
Area System, Ltd. Free Join 2,572,144,640 bytes Total
Fixed Size 2257952 bytes
Variable Size 1342180320 bytes
Database Buffers 1,207,959,552 bytes
Redo Buffers 19,746,816 bytes
database loading is completed.
Database has been opened.
SQL>
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ WRITE
SQL>
 
Now start properly, the current period is to start using the product file database, generates the spfile start:
SQL> show parameter pfile
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
spfile                               string
SQL>
SQL> create spfile='D:\app\Administrator\product\11.2.0\dbhome_1\database\SPFILEHISDB.ORA' from pfile='E:\backup\PFILEHISDB.ora';
File has been created.
SQL>
SQL> the shutdown load immediate
Database closed.
Database has been uninstalled.
ORACLE instance shut down.
SQL>
SQL> the Startup
ORACLE instance started.
Area System, Ltd. Free Join 3557584896 bytes Total
Fixed Size 2.26032 million bytes
Variable Size 1.81194 billion bytes
Database Buffers 1,728,053,248 bytes
Redo Buffers 15,331,328 bytes
database loading is completed.
Database has been opened.
SQL>
SQL> open_mode from the SELECT v $ Database;
OPEN_MODE
--------------------
READ WRITE
SQL>
So far the database starts normally, business tests are normal.

 【to sum up】

1, when the database is abnormal repair, recommended backup operations;

2, periodic backup of the database.

 

Guess you like

Origin www.cnblogs.com/zetanchen/p/12370623.html