Hello World?

ORA-00600 에러 해결 본문

DATABASE/ORACLE

ORA-00600 에러 해결

쮠이 2014. 6. 23. 17:05

어느날 오라클로 접속을 하려다 보니 아래와 같은 에러가 발생하였다

 ora-01033 oracle initialization or shutdown in progress

하여 서비스에서 오라클을 재시작해보아도 해결되지 않았다

구글링해서 찾아봤더니, 컨트롤 파일에서 중대한 에러가 발생하여서 오라클이 실행되지 않는 다는 버그였다

외국 사이트를 돌아보니 다음과 같은 해결 방법이 있었다

 FlashBack

 SQL>Startup mount ;

SQL>Show parameter control_files

SQL>select a.member,a.group#,b.status from v$logfile a ,v$log b where a.group#=b.group#                               

         and b.status='CURRENT'

SQL>Shutdown abort ;

Take a OS Level back of the controlfile

(This is to ensure we have a backup of current state of controlfile)

SQL>Startup mount ;

SQL>recover database using backup controlfile until cancel ;

Enter location of redo log shown as current in Query 1 when prompted for recovery

SQL>Alter database open resetlogs ;

외국블로그에서 찾아냈던 문제였으나 좀더 관심을 가지고 찾아본 바에 의하면 FlashBack 으로

하루전 DB의 내용으로 돌릴수 있다고 한다

상세한 내용은 아래의 사이트 참조를 하기 바람

http://radiocom.kunsan.ac.kr/lecture/oracle/backup_restore/flashback_database.html