2009년 3월 22일 일요일

ORA-01089: immediate shutdown in progress - no operations are permitted

오라클 프로세스 강제 KILL 후 증상 [ ORA-01017 ]
환경 : Oracle 8i, AIX Unix
증상 : shut down/ 혹은 immediate 으로 down 중에 db가 정상적으로
내려가지 않는 사태가 발생하고, Unix kill(-9) command 를 통해서
강제로 오라클 백그라운드 프로세스를 종료 후에 디비를 재기동 하고자 하면,
아래와 같은 증상을 발견할 수 있다.
[ 테스트 장비 구축상황이었습니다. 라이브면 이러면 안되겠죠 ^^; 좀기다리세요 ]

>sqlplus ' / as sysdba'
SQL*Plus: Release 8.1.7.0.0 - Production on Sat Feb 4 19:23:58 2006
(c) Copyright 2000 Oracle Corporation. All rights reserved.
ERROR:
ORA-01089: immediate shutdown in progress - no operations are permitted
Enter user-name:
ERROR:
ORA-01017: invalid username/password; logon denied

이와같은 증상은 프로세스를 종료 되었으나, 오라클 관련 메모리가 아직 Clear 되지 않았을
때 있니다. 우선 아래와 같이 프로세스 및 메모리가 클리어 되었는지 확인 하세요.
ps -ef | grep oracle
ipcs -mb |grep oracle
m 2883616 0xbfd6e4b4 --rw-r----- oracle dba 358973440
ipcrm -m 2883616 [ 해당 메모리를 클리어 하기 ]
sqlplus ' / as sysdba'

SQL*Plus: Release 8.1.7.0.0 - Production on Sat Feb 4 20:07:11 2006

(c) Copyright 2000 Oracle Corporation. All rights reserved.

Connected to an idle instance.
정상 확인



##############################################################################

기타 명령어
:/ipms/dbwine> ipcs -sb | grep test
s 1441805 0x53006000 --ra-ra-ra- test dba 1
:/ipms/dbwine> ipcrm -s 1441805
:/ipms/dbwine> ipcs -sb | grep test

ipcs -qb | grep test

댓글 없음:

댓글 쓰기