How to resolve ORA-27123 error:
when getting error while starting RAC db, and all the raw device for storage has the right permission and +ASM is up but db refuse to start with below error:
oradb@HOSTNAME01:/dev $ ls -lrt asm-disk*
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk3 -> sde
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk2 -> sdc
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk5 -> sdg
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk4 -> sdf
lrwxrwxrwx 1 root root 3 Mar 6 20:48 asm-disk1 -> sdd
oradb@HOSTNAME01:/dev $
INST_ID GROUP_NUMBER NAME State
---------- ------------ ------------------------- -----------
1 1 DG_01 MOUNTED
1 2 FRA MOUNTED
1 3 OCR_VOTE MOUNTED
INST_ID NAME PATH State HEADER_STATU
---------- ------------------------- ------------------------------ ----------- ------------
1 OCR_VOTE_0000 /dev/asm-disk1 NORMAL MEMBER
1 FRA_0000 /dev/asm-disk5 NORMAL MEMBER
1 OCR_VOTE_0001 /dev/asm-disk2 NORMAL MEMBER
1 OCR_VOTE_0002 /dev/asm-disk3 NORMAL MEMBER
1 DG_01_0000 /dev/asm-disk4 NORMAL MEMBER
OUTPUT OF CRSCTL START AND STARTUP FROM SQLPLUS PROMPT RESPECTIVELY:
--------------------------------------------------------------------
[root@HOSTNAME02 bin]# ./crsctl start res ora.<sid>.db -n <hostname02>
CRS-2672: Attempting to start 'ora.<sid>.db' on '<hostname02>'
CRS-5017: The resource action "ora.<sid>.db start" encountered the following error:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle_home/app/orahome/dbs/initSID_1.ora'
. For details refer to "(:CLSN00107:)" in "/grid_home/app/gridhome/log/<hostname02>/agent/crsd/oraagent_oradb/oraagent_oradb.log".
CRS-2674: Start of 'ora.<sid>.db' on '<hostname02>' failed
CRS-2679: Attempting to clean 'ora.<sid>.db' on '<hostname02>'
CRS-2681: Clean of 'ora.<sid>.db' on '<hostname02>' succeeded
CRS-4000: Command Start failed, or completed with errors.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DG_01/<SID>/spfileSID.ora'
ORA-17503: ksfdopn:2 Failed to open file +DG_01/<SID>/spfileSID.ora
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux-x86_64 Error: 13: Permission denied
SOLUTION:
-------------
login as grid user that owns this binary as below:
sudo su -
#su -grid
$
$chmod 6751 /grid_home/app/gridhome/bin/oracle
oradb@HOSTNAME01:/dev $ ls -lrt asm-disk*
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk3 -> sde
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk2 -> sdc
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk5 -> sdg
lrwxrwxrwx 1 root root 3 Mar 6 20:43 asm-disk4 -> sdf
lrwxrwxrwx 1 root root 3 Mar 6 20:48 asm-disk1 -> sdd
oradb@HOSTNAME01:/dev $
INST_ID GROUP_NUMBER NAME State
---------- ------------ ------------------------- -----------
1 1 DG_01 MOUNTED
1 2 FRA MOUNTED
1 3 OCR_VOTE MOUNTED
INST_ID NAME PATH State HEADER_STATU
---------- ------------------------- ------------------------------ ----------- ------------
1 OCR_VOTE_0000 /dev/asm-disk1 NORMAL MEMBER
1 FRA_0000 /dev/asm-disk5 NORMAL MEMBER
1 OCR_VOTE_0001 /dev/asm-disk2 NORMAL MEMBER
1 OCR_VOTE_0002 /dev/asm-disk3 NORMAL MEMBER
1 DG_01_0000 /dev/asm-disk4 NORMAL MEMBER
OUTPUT OF CRSCTL START AND STARTUP FROM SQLPLUS PROMPT RESPECTIVELY:
--------------------------------------------------------------------
[root@HOSTNAME02 bin]# ./crsctl start res ora.<sid>.db -n <hostname02>
CRS-2672: Attempting to start 'ora.<sid>.db' on '<hostname02>'
CRS-5017: The resource action "ora.<sid>.db start" encountered the following error:
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/oracle_home/app/orahome/dbs/initSID_1.ora'
. For details refer to "(:CLSN00107:)" in "/grid_home/app/gridhome/log/<hostname02>/agent/crsd/oraagent_oradb/oraagent_oradb.log".
CRS-2674: Start of 'ora.<sid>.db' on '<hostname02>' failed
CRS-2679: Attempting to clean 'ora.<sid>.db' on '<hostname02>'
CRS-2681: Clean of 'ora.<sid>.db' on '<hostname02>' succeeded
CRS-4000: Command Start failed, or completed with errors.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DG_01/<SID>/spfileSID.ora'
ORA-17503: ksfdopn:2 Failed to open file +DG_01/<SID>/spfileSID.ora
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
Linux-x86_64 Error: 13: Permission denied
SOLUTION:
-------------
login as grid user that owns this binary as below:
sudo su -
#su -grid
$
$chmod 6751 /grid_home/app/gridhome/bin/oracle
Comments
Post a Comment