ASMCMD does not work from Database Home

(Doc ID 1665639.1)

Last updated on APRIL 26, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

While running the asmcmd from database home, getting below errors

[ 99] ===>> DPOracle::AsmcmdRun {
[ 30] ASMCMD command : /d01/cluster_oraclebin/product/11.2.0/dbhome_1/bin/asmcmd rm -f +DATA/scc/controlfile//ctrl_SCC1_2056.dbf
[ 30] ASMCMD output:
[ 30] ASMCMD error: Connected to an idle instance.
sh: /d01/cluster_oraclebin/product/11.2.0/dbhome_1/bin/clsecho: No such file or directory
Can't exec "/d01/cluster_oraclebin/product/11.2.0/dbhome_1/bin/clsecho": No such file or directory at /d01/cluster_oraclebin/product/11.2.0/dbhome_1/lib/asmcmdshare.pm line 493.
Use of uninitialized value $buf in string ne at /d01/cluster_oraclebin/product/11.2.0/dbhome_1/lib/asmcmdshare.pm line 497.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms