Tuesday, September 15, 2009

PRKS-1009 : Failed to start ASM instance

# After applying rollup patches to ASM home ASM won't start. Get the following errors :-

[test-oranode-10.cmc.local:CRS]$ srvctl start asm -n test-oranode-10
PRKS-1009 : Failed to start ASM instance "+ASM1" on node "test-oranode-10", [PRKS-1009 : Failed to start ASM instance "+ASM1" on node "test-oranode-10", [test-oranode-10:ora.test-oranode-10.ASM1.asm:/opt/oracle/product/11.1.0/asm/bin/racgwrap[57]: %ORACLE_HOME%/bin/racgmain: not found.
CRS-0215: Could not start resource 'ora.test-oranode-10.ASM1.asm'.]]
[PRKS-1009 : Failed to start ASM instance "+ASM1" on node "test-oranode-10", [test-oranode-10:ora.test-oranode-10.ASM1.asm:/opt/oracle/product/11.1.0/asm/bin/racgwrap[57]: %ORACLE_HOME%/bin/racgmain: not found.
CRS-0215: Could not start resource 'ora.test-oranode-10.ASM1.asm'.]]

# Fix from Metalink 740319.1

cd ASM ORACLE_HOME/bin
cp racgwrap racgwrap.orig

Modify racgwrap script to ensure the ORACLE_HOME is correct.

Change from:

ORACLE_HOME=%ORACLE_HOME%

ORACLE_BASE=%ORACLE_BASE%

To full ORACLE_HOME path e.g.

ORACLE_HOME=/opt/oracle/product/11.1.0/asm

ORACLE_BASE=/opt/oracle/product