Alterdatabasebackupcontrofiletotraceas
Alter databasebackup controfile to trace
Alter databasebackup controfile to trace as '/bk/col. SQL ';
Consistency database stop destroys log files and Control Files
Start Database
SQL> startup
Oracle instancestarted.
Total SystemGlobal Area 314572800 bytes
Fixed Size 1219136 bytes
VariableSize 113247680 bytes
DatabaseBuffers 192937984 bytes
RedoBuffers 7168000 bytes
ORA-00205: errorin identifying control file, check alert log for more info
Because no control file exists, a 205 error occurs.
We re-create the control file based on the backup control file information.
Createcontrolfile reuse database "ORCL2" RESETLOGS ARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
# MAXLOGHISTORY 292
LOGFILE
GROUP 1'/u01/tiger/oradata/orcl2/redo01.log' SIZE 50 M,
GROUP 2'/u01/tiger/oradata/orcl2/redo02.log 'SIZE 50 M,
GROUP 3 '/u01/tiger/oradata/orcl2/redo03.log' SIZE 50 M
DATAFILE
'/U01/tiger/oradata/orcl2/system01.dbf ',
'/U01/tiger/oradata/orcl2/tiger. dbf ',
'/U01/tiger/oradata/orcl2/sysaux01.dbf ',
'/U01/tiger/oradata/orcl2/users01.dbf ',
'/U01/tiger/oradata/orcl2/undotbs02.dbf ',
'/U01/tiger/oradata/orcl2/undotbs01 ',
'/U01/tiger/oradata/orcl2/tiger01.dbf'
CHARACTER SETZHS16GBK
;
Because no redo log file exists, the resetlogs parameter is used to restart the database.
Alter databaseopen resetlogs
,