oracle 11g RACasm无法启动,报错:ASMCMD-8102: no connection to ASM; command requires ASM to run
环境变量如下:
[grid@rac1 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
export TMP=/tmp;
export TMPDIR=$TMP;
export ORACLE_SID=+ASM1;
export ORACLE_BASE=/u01/app/grid;
export ORACLE_HOME=/u01/app/11.2.0/grid;
export NLS_DATE_FORMAT="yy-mm-dd HH24:MI:SS";
export PATH=$ORACLE_HOME/bin:$PATH;
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;
PS查看asm进程,结果如下,不知道为什么有这么多root用户启动的grid相关进程。
[grid@rac1 ~]$ ps -auxH |grep asm*
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root 2770.00.00 0 ?SJun25 0:00 [khungtaskd]
root26170.00.00 0 ?S ls
ASMCMD-8102: no connection to ASM; command requires ASM to run
ASMCMD>