ASMCMD command not connect & not work any ASMCMD command
627444Dec 7 2010 — edited Dec 7 2010Dear All,
I install the 11.2.0.2 Patch Set 1 to make RAC & ASM on linux centos .
This is 2 node RAC.
Every thing working fine like -- cluster , DB and also ASM with sqlplus. Only ASMCMD not work.
But when I try to use ASMCMD command to connect ASM . This show below error & not able to use other asmcmd commands like cp , ls ..
Here also set oracle sid as +ASM and others.
[oracle@udb01 ~]$ asmcmd
Connected to an idle instance.
sh: /u01/app/oracle/product/11.2.0/db_1/bin/clsecho: No such file or directory
ASMCMD> ls
ASMCMD-08102: no connection to ASM; command requires ASM to run
sh: /u01/app/oracle/product/11.2.0/db_1/bin/clsecho: No such file or directory
For your reference--
Output from sqlplus
NAME GROUP_NUMBER DISK_NUMBER MOUNT_S STATE PATH
---------- ------------ ----------- ------- -------- ------------------------------
DATA01 1 0 CACHED NORMAL ORCL:DATA01
DATA03 1 2 CACHED NORMAL ORCL:DATA03
DATA02 1 1 CACHED NORMAL ORCL:DATA02
bash_profile setting
-----------------------------
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:/u01/app/11.2.0/grid/bin/:$PATH; export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
Please advice me, how to solve this issue?
Thanks in advance.