In this Document
Applies to: Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.1.0.2 [Release 12.1] Information in this document applies to any platform.
Symptoms
While starting cluster from the node, below message logged in clusterware alert.log
2015-03-20 15:05:53.252 [ORAAGENT(31078)]CRS-5017: The resource action "ora.asm start" encountered the following error: 2015-03-20 15:05:53.252+ORA-48189: OS command to create directory failed Linux-x86_64 Error: 13: Permission denied Additional information: 2 . For details refer to "(:CLSN00107:)" in "/apps/oracle/diag/crs/rachost1/crs/trace/ohasd_oraagent_grid.trc".
Manual startup of ASM results below error
SYS@+ASM1 > startup; ORA-48189: OS command to create directory failed Linux-x86_64 Error: 13: Permission denied Additional information: 2
Cause
Wrong permission on the ADR directory for asm
The 'asm' directory inside $ORACLE_BASE/diag owned by root.
[grid@rac12cn1 diag]$ ls -l $ORACLE_BASE/diag total 68 drwxrwxr-x 2 grid oinstall 4096 Sep 9 2014 afdboot drwxrwxr-x 2 grid oinstall 4096 Sep 9 2014 apx drwxrwxr-x 3 root root 4096 Sep 9 2014 asm <<<<<<<<<<<<<<<< drwxrwxr-x 2 grid oinstall 4096 Sep 9 2014 asmtool drwxrwxr-x 3 grid oinstall 4096 Sep 9 2014 clients drwxr-x--- 3 grid oinstall 4096 Sep 9 2014 crs
Solution
Correct permissions issue in the ADR directory. The asm folder should be owned by grid user recursively
|