태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.


댓글 하나가 운영자에겐 커다란 힘이 됩니다!

아래는 스크랩한 내용입니다.
출처 : http://nhmjh.egloos.com/961658

shutdown immediate를 수행하다가 중단을 한 후에, 다시 shutdown을 수행해보니
다음과 같은 현상이 나타났다. ORACLE이 available 하지 않으나, 프로세스는 살아있었다.
이러한 경우에는 shutdown abort 옵션을 사용한다.

1. svrmgrl 실행한다.

[oracle@test oracle]$ svrmgrl

Oracle Server Manager Release 3.1.7.0.0 - Production

Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.

Oracle8i Enterprise Edition Release 8.1.7.0.1 - Production
With the Partitioning option
JServer Release 8.1.7.0.1 - Production

2. 운영체제 권한으로 로그인한다.

SVRMGR> connect internal
Connected.

3. 오라클 shutdown 수행

SVRMGR> shutdown immediate
ORA-01034: ORACLE not available

4. 오라클 startup 수행

SVRMGR> startup
ORA-01081: cannot start already-running ORACLE - shut it down first

5. 다시 shutdown 수행

SVRMGR> shutdown
ORA-01012: not logged on

6. system 계정으로 로그인 시도

SVRMGR> connect system/manager
ORA-01089: immediate shutdown in progress - no operations are permitted

7. 다시 운영체제 권한으로 로그인

SVRMGR> connect internal
Connected.

8. 오라클 shutdown 수행 - abort 옵션으로

SVRMGR> shutdown abort
ORACLE instance shut down.

9. 오라클 프로세스가 모두 죽었음을 확인함.

SVRMGR> !ps -ef|grep ora
oracle 2802 1 0 2004 ? 00:00:00 /home/oracle/OracleHome/bin/tnsl
root 30839 30811 0 16:38 pts/0 00:00:00 su - oracle
oracle 30840 30839 0 16:38 pts/0 00:00:00 -bash
oracle 30874 30840 0 16:38 pts/0 00:00:00 svrmgrl
oracle 30886 30874 0 16:45 ? 00:00:00 [oracle ]
oracle 30887 30874 0 16:45 pts/0 00:00:00 /bin/bash -c ps -ef|grep ora?
oracle 30888 30887 0 16:45 pts/0 00:00:00 ps -ef
oracle 30889 30887 0 16:45 pts/0 00:00:00 grep ora

10. 오라클 startup 재수행

SVRMGR> startup
ORACLE instance started.
Total System Global Area 378806432 bytes
Fixed Size 73888 bytes
Variable Size 163766272 bytes
Database Buffers 209715200 bytes
Redo Buffers 5251072 bytes
Database mounted.
Database opened.

위의 정보가 도움이 되셨나요? 그렇다면 댓글 하나만 남겨주세요.
댓글 하나가 운영자에겐 커다란 힘이 됩니다!

Write your message and submit
« PREV : 1 : ... 92 : 93 : 94 : 95 : 96 : 97 : 98 : 99 : 100 : ... 436 : NEXT »