ORA-011033 해결 방법: ORACLE 초기화 또는 셧다운 진행 중
에 접속하려고 할 때ORACLE
TAD(Quest Software) 또는 기타 수단을 통한 사용자(Oracle Enterprise Manager
) 다음의 에러가 표시됩니다.
ORA-011033: ORACLE initialization or shutdown in progress
몇 번의 검색 후, 나는 다음과 같은 조언을 찾았고, 효과가 있었다.
SQL> startup mount
ORACLE Instance started
SQL> recover database
Media recovery complete
SQL> alter database open;
Database altered
이 문제에 대한 저의 해결 방법은 다음과 같습니다.
SQL> Startup mount
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown abort
ORACLE instance shut down.
SQL>
SQL> startup mount
ORACLE instance started.
Total System Global Area 1904054272 bytes
Fixed Size 2404024 bytes
Variable Size 570425672 bytes
Database Buffers 1325400064 bytes
Redo Buffers 5824512 bytes
Database mounted.
SQL> Show parameter control_files
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
control_files string C:\APP\USER\ORADATA\ORACLEDB\C
ONTROL01.CTL, C:\APP\USER\FAST
_RECOVERY_AREA\ORACLEDB\CONTRO
L02.CTL
SQL> select a.member,a.group#,b.status from v$logfile a ,v$log b where a.group#=
b.group# and b.status='CURRENT'
2
SQL> select a.member,a.group#,b.status from v$logfile a ,v$log b where a.group#=
b.group# and b.status='CURRENT';
MEMBER
--------------------------------------------------------------------------------
GROUP# STATUS
---------- ----------------
C:\APP\USER\ORADATA\ORACLEDB\REDO03.LOG
3 CURRENT
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 1904054272 bytes
Fixed Size 2404024 bytes
Variable Size 570425672 bytes
Database Buffers 1325400064 bytes
Redo Buffers 5824512 bytes
Database mounted.
SQL> recover database using backup controlfile until cancel;
ORA-00279: change 4234808 generated at 01/21/2014 18:31:05 needed for thread 1
ORA-00289: suggestion :
C:\APP\USER\FAST_RECOVERY_AREA\ORACLEDB\ARCHIVELOG\2014_01_22\O1_MF_1_108_%U_.AR
C
ORA-00280: change 4234808 for thread 1 is in sequence #108
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
C:\APP\USER\ORADATA\ORACLEDB\REDO03.LOG
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;
Database altered.
효과가 있었습니다.
Oracle의 튜토리얼에 따라 12c 데이터베이스를 설치했을 때도 비슷한 문제가 있었습니다.이 지침은 PLUGGABLE DATABASE(PDB)를 작성하도록 독자에게 지시합니다.
문제
sqlplus hr/hr@pdborcl
이 됩니다.
해결 방법
-
dabase에 로그인 합니다.
sqlplus SYS/Oracle_1@pdborcl AS SYSDBA
-
데이터베이스 변경:
alter pluggable database pdborcl open read write;
-
다시 로그인:
sqlplus hr/hr@pdborcl
그것은 나에게 효과가 있었다.
여기 있는 문서
이 에러는, 데이타베이스가 기동 또는 정지하고 있는 정상적인 상황에서도 발생할 수 있습니다.일반적으로 부팅 시 부팅이 완료될 때까지 기다린 후 평소처럼 연결할 수 있습니다.에러가 해소되지 않는 경우는, (Windows 박스상에서) 데이터베이스가 기동하지 않고 서비스가 기동하는 경우가 있습니다.이는 부팅 문제 또는 서비스가 데이터베이스를 자동으로 시작하도록 구성되지 않았기 때문일 수 있습니다.이 경우 sysdba로 연결하고 "startup" 명령을 사용하여 데이터베이스를 물리적으로 시작해야 합니다.
위에서 로한크랙그, 무쿨고엘, NullSoulException의 답을 조합해서 썼어요.그러나 추가 오류가 발생했습니다.
ORA-01157: 데이터 파일 문자열을 식별/잠글 수 없음 - DBWR 추적 파일 참조
여기서 답을 찾았습니다.http://nimishgarg.blogspot.com/2014/01/ora-01157-cannot-identifylock-data-file.html
위의 게시물이 삭제될 경우를 대비해 여기에 명령어도 포함시켰습니다.
C:\>sqlplus sys/sys as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Tue Apr 30 19:07:16 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 778387456 bytes
Fixed Size 1384856 bytes
Variable Size 520097384 bytes
Database Buffers 251658240 bytes
Redo Buffers 5246976 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 11 – see DBWR trace file
ORA-01110: data file 16: 'E:\oracle\app\nimish.garg\oradata\orcl\test_ts.dbf'
SQL> select NAME from v$datafile where file#=16;
NAME
--------------------------------------------------------------------------------
E:\ORACLE\APP\NIMISH.GARG\ORADATA\ORCL\TEST_TS.DBF
SQL> alter database datafile 16 OFFLINE DROP;
Database altered.
SQL> alter database open;
Database altered.
모두들 날 구해줘서 고마워!
피시
하드 디스크(HDD)의 빈 영역이 부족하기 때문일 수도 있습니다.설치는 성공하지만 시작 시 Oracle은 필요한 파일을 생성할 수 없으며 위의 오류 메시지와 함께 실패합니다.
나는 이것이 누군가에게 도움이 되기를 바란다, 나는 이렇게 문제를 해결했다.
데이터베이스가 열려 있지 않아 문제가 발생했습니다.명령 시작 시 데이터베이스가 열립니다.
명령으로 해결할 수 있는 문제alter database open
어떤 경우에는alter database open resetlogs
$ sqlplus / sysdba
SQL> startup
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 8628936 bytes
Variable Size 624952632 bytes
Database Buffers 436207616 bytes
Redo Buffers 3952640 bytes
Database mounted.
Database opened.
SQL> conn user/pass123
Connected.
저도 같은 문제에 직면했어요.해당 DB 인스턴스의 Oracle 서비스를 다시 시작했는데 오류가 사라졌습니다.
있지 것은 가 local_listener에 입니다.sqlplus / as sysdba
있는지 show parameter local_listener
있는 명령어로 ALTER SYSTEM SET LOCAL_LISTENER='<LISTENER_NAME_GOES_HERE>'
언급URL : https://stackoverflow.com/questions/53676/how-to-resolve-ora-011033-oracle-initialization-or-shutdown-in-progress
'programing' 카테고리의 다른 글
전체 경로 제거, 파일 이름만 유지 (0) | 2023.02.09 |
---|---|
wp미디어업로더를사용한업로드파일경로가필드에표시되지않았습니다. (0) | 2023.02.09 |
iFrame의 각도, onLoad 함수 (0) | 2023.02.09 |
Spring Boot에서 각 사용자의 환율 제한을 설정하려면 어떻게 해야 합니까? (0) | 2023.02.09 |
TypeScript에서 가져오기 및 설정 (0) | 2023.02.09 |