ASMCMD-8102: no connection to ASM; command requires ASM to run

[grid@testdb1 ~]$ asmcmd

Connected to an idle instance.

ASMCMD> ls

ASMCMD-8102: no connection to ASM; command requires ASM to run

 

Solution:

[grid@testdb1 ~]$ export ORACLE_HOME=/opt/grid/product/11.2.0.3/

[grid@testdb1 ~]$ export PATH=/opt/grid/product/11.2.0.3/bin/

[grid@testdb1 ~]$ export ORACLE_SID=+ASM

[grid@testdb1 ~]$ asmcmd

ASMCMD> ls

DATA/

INDX/

 

Comments