|
我的这个问题也解决了,分享一下吧。
[grid@hjerp ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on 星期三 4月 25 14:50:12 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.
已连接到空闲例程。
SQL> startup
ORA-15149: another ASM instance found running on the host
SQL>
查询ASM进程已经启动
[grid@hjerp grid]$ ps -auxH | grep asm*
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root 22 0.0 0.0 0 0 ? S Apr24 0:00 [async/mgr]
root 48 0.0 0.0 0 0 ? S Apr24 0:00 [khungtaskd]
root 965 0.0 0.0 11320 1304 ? Ss Apr24 0:00 /bin/sh /etc/init.d/init.ohasd run
root 1842 0.0 0.0 78544 3200 ? Ss Apr24 0:00 /usr/libexec/postfix/master
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:01 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:39 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
grid 1942 0.0 1.0 1615756 40508 ? Ssl Apr24 0:00 /grid/product/11.2.0/grid/bin/ohasd.bin reboot
查看自己的环境变量
export ORACLE_BASE=/grid
export ORACLE_HOME=$ORACLE_BASE/product/11.2.3
跟运行的不一样,所以所环境变量改好就行了。 |
|