Oracle Database Fails to Start with Error ORA-12547 [ID 1307075.1] | To Bottom |
Modified:Nov 30, 2012Type:PROBLEMStatus:PUBLISHEDPriority:3 |
|
In this Document
Symptoms |
Cause |
Solution |
Applies to:
Oracle Server - Enterprise Edition - Version 11.2.0.2 and laterInformation in this document applies to any platform.
***Checked for relevance on 17-Oct-2012***
Symptoms
1. When attempting to startup database,the following error occurs.
ORA-01565: error in identifying file '+DATA1/orcl/spfileorcl.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA1/orcl/spfileorcl.ora
ORA-12547: TNS:lost contact
2. DB alert log:
WARNING: ASM communication error: op 0 state 0x0 (15055)
ERROR: direct connection failure with ASM
NOTE: Deferred communication with ASM instance
Errors in file /opt/oracle/diag/rdbms/orcl/orcl/trace/orcl_pmon_26924.trc:
ORA-15055: unable to connect to ASM instance
ORA-12547: TNS:lost contact
3. ASM instance and required diskgroups are online and no error in ASM alert:
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS Local Resources
--------------------------------------------------------------------------------
ora.DATA1.dg ONLINE ONLINE prod
ora.DATA2.dg ONLINE ONLINE prod
ora.asm ONLINE ONLINE prod Started
Cause
The issue is caused by incorrect permission of $GRID_HOME/bin/oracle and $ORACLE_HOME/bin/oracle, which lead to connection failure to ASM instance:
-rwxr-x--x 1 grid oinstall 200678464 Feb 28 14:54 oracle
ls -al $ORACLE_HOME/bin/oracle
-rwxr-x--x 1 oracle asmadmin 228886191 Feb 28 15:41 oracle
Solution
Oracle binary should have permission of 6751. To correct the permission, as owner of oracle binary:
chmod 6751 oracle
cd $ORACLE_HOME/bin
chmod 6751 oracle
After the change, permission should show:
-rwsr-s--x 1 grid oinstall 203974257 May 11 09:30 oracle
ls -l $ORACLE_HOME/bin/oracle
-rwsr-s--x 1 oracle asmadmin 232399431 May 14 13:47 oracle
Once the permission is fixed, if database still fails to come up, restart Grid Infrastructure.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/66634/viewspace-1060297/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/66634/viewspace-1060297/