今天装完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>
[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>
相关文章推荐
- ORA-15149: another ASM instance found running on the host
- ORA-15149: another ASM instance found running on the host
- 我遇到的问题:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
- 今天写一个JSP+Oracle的项目,遇到了 Listener refused the connection with the following error:ORA-12519:
- Cannot connect to the Docker daemon. Is the docker daemon running on this host?问题解决
- 今天遇到的一个比较变态的问题
- 问题:Cannot connect to the Docker daemon. Is the docker daemon running on this host?
- 今天遇到的来年各个问题,比较低级,高手勿看。
- 今天在处理GridView分页问题时遇到了一个比较常见的分页出错问题。
- 今天遇到的一个奇怪的vb.net问题
- This generally means that another instance of this process was already running or is hung in the debugger
- 启动服务器的时候遇到的org.hibernate.PropertyNotFoundException: field [set] not found on xx.xxx.xx问题
- 今天遇到一个定义一个枚举变量的问题。
- Docker:Cannot connect to the Docker daemon. Is the docker daemon running on this host
- 初学shell,今天遇到由wget下载到本地的网页源代码的乱码问题,无聊的写了一个转码的脚本
- Cannot connect to the Docker daemon. Is the docker daemon running on this host?
- 第一次写JSP程序可能会碰到的问题:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pa
- Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432?
- 今天遇到一个问题,将fedora磁盘扩展空间后,启动不成功
- swoole:swoole_async_writefile和onManagerStart遇到的一个问题记录