OS 환경 : Oracle Linux 8.4 (64bit)
DB 환경 : Oracle Database 19.27.0.0
에러 : LRM-00109: could not open parameter file '/oracle/app/oracle/product/19c/dbs/initORA19DB1.ora'
19c dbca 중 에러 발생
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
PRCR-1079 : Failed to start resource ora.ora19db.db
CRS-5017: The resource action "ora.ora19db.db start" encountered the following error:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/app/oracle/product/19c/dbs/initORA19DB1.ora'
. For details refer to "(:CLSN00107:)" in "/oracle/app/oracle/diag/crs/ora19rac1/crs/trace/crsd_oraagent_oracle.trc".
CRS-2674: Start of 'ora.ora19db.db' on 'ora19rac1' failed
CRS-2632: There are no more servers to try to place resource 'ora.ora19db.db' on that would satisfy its placement policy
CRS-5017: The resource action "ora.ora19db.db start" encountered the following error:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/app/oracle/product/19c/dbs/initORA19DB2.ora'
. For details refer to "(:CLSN00107:)" in "/oracle/app/oracle/diag/crs/ora19rac2/crs/trace/crsd_oraagent_oracle.trc".
CRS-2674: Start of 'ora.ora19db.db' on 'ora19rac2' failed
|
파라미터파일을 못찾고 있다고 나옴
에러에 나온 crsd_oraagent_oracle.trc 확인
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
$ vi /oracle/app/oracle/diag/crs/ora19rac1/crs/trace/crsd_oraagent_oracle.trc
2025-05-17 15:00:58.842 : USRTHRD:4182046464: [ INFO] {1:15391:19693} Thread:InstStartThread: InstStartThread::didUserExceptionOccur excp:(nil)
2025-05-17 15:00:58.842 : USRTHRD:4182046464: [ INFO] {1:15391:19693} Thread:InstStartThread: InstStartThread::didOCIExceptionOccur excp:0x55aa65e92100
2025-05-17 15:00:58.842 : USRTHRD:4182046464: [ INFO] {1:15391:19693} Thread:InstStartThread: InstStartThread::didOCIExceptionOccur excp:0x55aa65e92100
2025-05-17 15:00:58.842 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] InstAgent::start 380 thread exception:ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/app/oracle/product/19c/dbs/initORA19DB1.ora'
2025-05-17 15:00:58.843 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] clsnUtils::error Exception type=2 string=
CRS-5017: The resource action "ora.ora19db.db start" encountered the following error:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle/app/oracle/product/19c/dbs/initORA19DB1.ora'
. For details refer to "(:CLSN00107:)" in "/oracle/app/oracle/diag/crs/ora19rac1/crs/trace/crsd_oraagent_oracle.trc".
2025-05-17 15:00:58.843 : AGFW:4217349888: [ INFO] {1:15391:19693} Agent sending reply for: RESOURCE_START[ora.ora19db.db 1 1] ID 4098:173594
2025-05-17 15:00:58.844 : USRTHRD:4182046464: [ INFO] {1:15391:19693} InstConnection::InstConnection constructor this:0x7f63e803edd0 entry
2025-05-17 15:00:58.844 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] DbAgent:getConnection oracleHome:/oracle/app/oracle/product/19c oracleSid:ORA19DB1 usrOraEnv:ORA_SERVER_THREAD_ENABLED=FALSE ORA_SERVER_BROKER_MODE=BEQ resVersion:19.0.0.0.0
2025-05-17 15:00:58.845 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] InstConnection:InstConnection: init:0x7f63e803edd0 oracleHome:/oracle/app/oracle/product/19c oracleSid:ORA19DB1 instanceType:1 instanceVersion:19.0.0.0.0
2025-05-17 15:00:58.845 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] clsnInstConnection::makeConnectStr UsrOraEnv ,ORA_SERVER_THREAD_ENABLED=FALSE,ORA_SERVER_BROKER_MODE=BEQ,ORACLE_BASE= m_oracleHome /oracle/app/oracle/product/19c Crshome /oracle/app/grid/19c
2025-05-17 15:00:58.845 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] clsnInstConnection::makeConnectStr this:0x7f63e803edd0 connStr:(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/oracle/app/oracle/product/19c/bin/oracle)(ARGV0=oracleORA19DB1)(ENVS='ORACLE_HOME=/oracle/app/oracle/product/19c,ORACLE_SID=ORA19DB1,LD_LIBRARY_PATH=,ORA_SERVER_THREAD_ENABLED=FALSE,ORA_SERVER_BROKER_MODE=BEQ,ORACLE_BASE=')(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))'))(CONNECT_DATA=(SID=ORA19DB1)(ORACLE_HOME=/oracle/app/oracle/product/19c))(SECURITY=(AUTHENTICATION_SERVICE=BEQ)))
2025-05-17 15:00:58.845 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] InstConnection::connectInt 020 this:0x7f63e803edd0 logon_mode:100000 m_oracleSid:ORA19DB1 m_oracleHome:/oracle/app/oracle/product/19c attach
2025-05-17 15:00:58.878 :CLSDYNAM:4182046464: [ora.ora19db.db]{1:15391:19693} [start] ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory
Additional information: 4486
Additional information: 282033643
Process ID: 0
Session ID: 0 Serial number: 0
|
여기서도 파라미터파일을 못찾고 있다고 나옴
dbca 로그 목록 확인
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$ cd /oracle/app/oracle/cfgtoollogs/dbca/ORA19DB
$ ls -ltr
total 30348
-rw-r-----. 1 oracle oinstall 331 May 17 12:49 CreateDB.log
-rw-r-----. 1 oracle oinstall 6821700 May 17 12:50 trace.log_2025-05-14_01-30-24PM
-rw-r-----. 1 oracle oinstall 7498951 May 17 13:29 trace.log_2025-05-17_12-52-50PM
-rw-r-----. 1 oracle oinstall 2599 May 17 13:31 DBDetails.log
-rw-r-----. 1 oracle oinstall 1313150 May 17 13:32 trace.log_2025-05-17_01-30-38PM
-rw-r-----. 1 oracle oinstall 0 May 17 13:41 CreateDBFiles1R.log
-rw-r-----. 1 oracle oinstall 0 May 17 13:59 sqlPlusHelp1R.log
-rw-r-----. 1 oracle oinstall 0 May 17 13:59 CreateClustDBViews1R.log
-rw-r-----. 1 oracle oinstall 6953516 May 17 15:04 trace.log_2025-05-17_01-34-01PM
-rw-r-----. 1 oracle oinstall 0 May 17 15:26 trace.log_2025-05-17_03-22-21PM.lck
-rw-r-----. 1 oracle oinstall 801 May 17 15:27 CreateDB1R.log
-rw-r-----. 1 oracle oinstall 1638390 May 17 15:45 CreateDBCatalog1R.log
-rw-r-----. 1 oracle oinstall 5368 May 17 15:45 lockAccount1R.log
-rw-r-----. 1 oracle oinstall 4009 May 17 15:48 postDBCreation1R.log
-rw-r-----. 1 oracle oinstall 6816610 May 17 15:49 trace.log_2025-05-17_03-22-21PM
|
CreateDB, DBDetails 로그 확인
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$ cat CreateDB.log
LRM-00121: 'nonoe' is not an allowable value for 'audit_trail'
ORA-01078: failure in processing system parameters
select VALUE from v$parameter where name = 'diagnostic_dest'
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
CREATE DATABASE "ORA19DB"
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
$ head -10 DBDetails.log
select value from v$parameter where name='enable_pluggable_database'
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
select name from v$parameter where isdefault='FALSE' union select name from v$system_parameter where ismodified='MODIFIED'
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
|
audit_trail 파라미터에 nonoe로 오타가 있어 에러가 발생했었음
참고로 정상일때는 아래와 같이 나와야함
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$ cat CreateDB.log
ORACLE instance started.
Total System Global Area 1073737800 bytes
Fixed Size 8904776 bytes
Variable Size 620756992 bytes
Database Buffers 440401920 bytes
Redo Buffers 3674112 bytes
/ORA19/app/oracle
$ head -10 DBDetails.log
_undo_autotune
audit_file_dest
audit_trail
compatible
control_files
db_block_size
db_name
db_unique_name
diagnostic_dest
dispatchers
|
해결 방법 : db 생성시 샘플 init 파일을 각노드의 $ORACLE_HOME/dbs로 cp 후 이름 정확하게 변경
db 생성시 script 생성 체크 박스 선택 후 나오는 샘플 init 파일을 각노드의 $ORACLE_HOME/dbs로 cp 후 이름 정확하게 변경
|
1
2
3
4
5
|
$ ls
afiedt.buf CreateDBCatalog.sql CreateDB.sql init.ora mkDir.sql ORA19DB1.sql
CreateClustDBViews.sql CreateDBFiles.sql dbca.rsp lockAccount.sql ORA19DB1.sh postDBCreation.sql
$ cp init.ora $ORACLE_HOME/dbs/initORA19DB1.ora
$ scp init.ora 10.10.10.20:/oracle/app/oracle/product/19c/dbs/initORA19DB2.ora
|
이후 dbca 재진행시 정상적으로 수행됨
원인 : 초기 dbca시 오타로 인한 문제
초기 dbca수행시 audit_trail 파라미터의 값을 NONE으로 설정하려다 오타로 NONOE로 설정해서 dbca중 abort 되었음
이후 다시 수행할때 이전 내용을 어디선가 읽어와서 계속 문제가 생긴듯함
참조 :
'ORACLE > Trouble Shooting' 카테고리의 다른 글
| SQLcl 한글깨짐 문제 (0) | 2025.07.29 |
|---|---|
| SQLcl WARNING: A restricted method in java.lang.System has been called (0) | 2025.07.29 |
| [PILOT-00452] Unable to establish SSH connection to node "nodename" to execute command deinstall (0) | 2025.07.13 |
| oratop 실행시 ORA-01476: divisor is equal to zero (0) | 2025.06.26 |
| ORA-15032: not all alterations performed (0) | 2025.06.20 |