Let’s have a look on the steps which we use to resolve the issue “ASMCMD-8102: no connection to ASM; command requires ASM to run”.
[grid@oraclehelpdb1 ~]$ asmcmd
Connected to an idle instance.
ASMCMD> ls
ASMCMD-8102: no connection to ASM; command requires ASM to run
Solution:
[grid@oraclehelpdb1 ~]$ export ORACLE_HOME=/opt/grid/product/11.2.0.3/ [grid@oraclehelpdb1 ~]$ export PATH=/opt/grid/product/11.2.0.3/bin/ [grid@oraclehelpdb1 ~]$ export ORACLE_SID=+ASM [grid@oraclehelpdb1 ~]$ asmcmd ASMCMD> ls DATA/ INDX/
Today’s thought
Treat others the way you want to be treated.
Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Skant Gupta’s LinkedIn: www.linkedin.com/in/skantali/
Joel Perez’s LinkedIn: Joel Perez’s Profile
LinkedIn Group: Oracle Cloud DBAAS
Facebook Page: OracleHelp