您的位置:首页 > 其它

今天装完ASM时遇到的一个比较低级的问题ORA-15149: another ASM instance found running on the host

2013-08-01 14:41 916 查看
问题描述:

[oracle@localhost ~]$ export ORACLE_SID=+ASM

[oracle@localhost ~]$ export ORACLE_HOME=/u01/app/oracle/grid/11.2.0/

[oracle@localhost ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 8月 1 14:35:25 2013

Copyright (c) 1982, 2009, Oracle. All rights reserved.

已连接到空闲例程。

SQL> startup

ORA-15149: another ASM instance found running on the host

SQL>

有一个已经运行的ASM实例那为什么报连接到空闲实例呢???

查看进程:

[oracle@localhost ~]$ ps -ef | grep asm_

oracle 10179 9397 0 14:37 pts/3 00:00:00 grep asm_

oracle 16742 1 0 10:59 ? 00:00:01 asm_pmon_+ASM

oracle 16746 1 0 10:59 ? 00:00:04 asm_vktm_+ASM

oracle 16752 1 0 10:59 ? 00:00:00 asm_gen0_+ASM

oracle 16756 1 0 10:59 ? 00:00:00 asm_diag_+ASM

oracle 16760 1 0 10:59 ? 00:00:00 asm_psp0_+ASM

oracle 16764 1 0 10:59 ? 00:00:04 asm_dia0_+ASM

oracle 16768 1 0 10:59 ? 00:00:00 asm_mman_+ASM

oracle 16772 1 0 10:59 ? 00:00:00 asm_dbw0_+ASM

oracle 16776 1 0 10:59 ? 00:00:00 asm_lgwr_+ASM

oracle 16780 1 0 10:59 ? 00:00:00 asm_ckpt_+ASM

oracle 16784 1 0 10:59 ? 00:00:00 asm_smon_+ASM

oracle 16788 1 0 10:59 ? 00:00:00 asm_rbal_+ASM

oracle 16792 1 0 10:59 ? 00:00:02 asm_gmon_+ASM

oracle 16796 1 0 10:59 ? 00:00:00 asm_mmon_+ASM

oracle 16800 1 0 10:59 ? 00:00:01 asm_mmnl_+ASM

oracle 20920 1 0 12:46 ? 00:00:00 asm_asmb_+ASM

确实全部启动,那是为什么呢???

解决办法:

细心的朋友也许已经看出了问题

那就是环境变量

[oracle@localhost ~]$ export ORACLE_HOME=/u01/app/oracle/grid/11.2.0 -----注意后面没有斜线----用惯Linux的同学习惯用tab键补全,最后面会加一条斜线--但是oracle就不认识你了

[oracle@localhost ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 8月 1 14:39:12 2013

Copyright (c) 1982, 2009, Oracle. All rights reserved.

连接到:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Automatic Storage Management option

SQL>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐