oracle版本为11.2.0.3,系统版本为Centos Linux 6.6 X86_64,安装完成grid软件后,一切正常,没有报错,但是使用sqlplus / as sysasm后提示连接到空闲进程

[grid@oracle dbs]$ sqlplus / as sysasm;SQL*Plus: Release 11.2.0.3.0 Production on Mon Apr 25 15:08:06 2016Copyright (c) 1982, 2011, Oracle.  All rights reserved.Connected to an idle instance.SQL> startup mount;
ORA-15149: another ASM instance found running on the host

检查css状态

[grid@oracle ~]$ crs_stat -t
Name           Type           Target    State     Host
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    oracle
ora....ER.lsnr ora....er.type ONLINE    ONLINE    oracle
ora.asm        ora.asm.type   ONLINE    ONLINE    oracle
ora.cssd       ora.cssd.type  ONLINE    ONLINE    oracle
ora.diskmon    ora....on.type OFFLINE   OFFLINE
ora.evmd       ora.evm.type   ONLINE    ONLINE    oracle
ora.ons        ora.ons.type   OFFLINE   OFFLINE
ora.orcl.db    ora....se.type ONLINE    ONLINE    oracle

发现ora.diskmon为offline状态,查阅资料后发现从11.2.0.3版本开始默认diskmon在非exadata上是禁用状态

11.2.0.3 Grid Infrastructure diskmon Will be Offline by Default in Non-Exadata Environment [ID 1346881.1]

百般折腾看是否有办法启用ora.diskmon,设置auto_start为1也没有效果,检查asm进程

[grid@oracle grid]$ ps -ef|grep asm_
grid      25991      1  0 14:56 ?        00:00:00 asm_pmon_+ASM
grid      25993      1  0 14:56 ?        00:00:00 asm_psp0_+ASM
grid      26019      1  2 14:56 ?        00:00:18 asm_vktm_+ASM
grid      26023      1  0 14:56 ?        00:00:00 asm_gen0_+ASM
grid      26025      1  0 14:56 ?        00:00:00 asm_diag_+ASM
grid      26027      1  0 14:56 ?        00:00:00 asm_dia0_+ASM
grid      26029      1  0 14:56 ?        00:00:00 asm_mman_+ASM
grid      26031      1  0 14:56 ?        00:00:00 asm_dbw0_+ASM
grid      26033      1  0 14:56 ?        00:00:00 asm_lgwr_+ASM
grid      26035      1  0 14:56 ?        00:00:00 asm_ckpt_+ASM
grid      26037      1  0 14:56 ?        00:00:00 asm_smon_+ASM
grid      26039      1  0 14:56 ?        00:00:00 asm_rbal_+ASM
grid      26041      1  0 14:56 ?        00:00:00 asm_gmon_+ASM
grid      26043      1  0 14:56 ?        00:00:00 asm_mmon_+ASM
grid      26045      1  0 14:56 ?        00:00:00 asm_mmnl_+ASM
grid      29065  25763  0 15:10 pts/4    00:00:00 grep asm_

检查监听状态

[grid@oracle ~]$ lsnrctl statusLSNRCTL for Linux: Version 11.2.0.3.0 - Production on 25-APR-2016 14:56:58Copyright (c) 1991, 2011, Oracle.  All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date                25-APR-2016 14:55:38
Uptime                    0 days 0 hr. 1 min. 20 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/grid/network/admin/listener.ora
Listener Log File         /u01/app/diag/tnslsnr/oracle/listener/alert/log.xml
Listening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle.study)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully

监听状态正常

检查参数文件init+asm.ora也没发现问题

[grid@oracle dbs]$ cat init+asm.ora
*.asm_power_limit=1
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'
*.asm_diskstring='/dev/asm-disk*'

最后检查.bash_profile文件配置

[grid@oracle dbs]$ cat ~/.bash_profile
# .bash_profile# Get the aliases and functions
if [ -f ~/.bashrc ]; then. ~/.bashrc
fi# User specific environment and startup programsORACLE_BASE=/u01/app; export ORACLE_BASE
ORACLE_HOME=/u01/app/grid; export ORACLE_HOME
ORACLE_SID=+asm; export ORACLE_SID
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
PATH=$PATH:$HOME/bin:$ORACLE_HOME/binexport PATH

ORACLE_SID为小写的+asm,而实际进程中的为大写+ASM,oracle区分大小写,改为大写后再连接后就正常了

[grid@oracle grid]$ export ORACLE_SID=+ASM
[grid@oracle grid]$ sqlplus / as sysasm;SQL*Plus: Release 11.2.0.3.0 Production on Mon Apr 25 15:11:28 2016Copyright (c) 1982, 2011, Oracle.  All rights reserved.Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Automatic Storage Management optionSQL> show parameter diskgroupNAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
asm_diskgroups                       string

连接后OK

转载于:https://blog.51cto.com/francis198/1767902

安装grid后启动asm报ORA-15149错误相关推荐

  1. RAC 安装patch 后启动实例 报错 ORA-00439 feature not enabled- Real Application Clusters 解决方法...

    朋友说对windows RAC 打上Patch后,有个节点实例不能启动, 其他进程正常. ORA-00439: feature not enabled: Real Application Cluste ...

  2. 【亲测有效】Centos安装完成docker后启动docker报错docker: unrecognized service的两种解决方案

    使用yum install docker安装完后启动不了,报错如下: [root@Sakura ~]# service docker start docker: unrecognized servic ...

  3. linux安装tomcat后启动报错Cannot find ./catalina.sh的解决方法

    linux安装tomcat后启动报错: Cannot find ./catalina.sh The file is absent or does not have execute permission ...

  4. 【亲测有效】Centos安装完成docker后启动docker报错docker: unrecognized service的两种解决方案...

    今天在学习Docker的时候 使用yum install docker安装完后启动不了,报错如下: [root@Sakura ~]# service docker start docker: unre ...

  5. windows安装docker后启动报错无法下载镜像文件Error with pre-create check: “Get https://github-production-release-ass

    windows 安装docker后启动保错无法下载镜像文件Error with pre-create check: "Get https://github-production-releas ...

  6. 安装centos后 启动mysqld显示mysqld: 未被识别的服务 解决方法

    安装centos后 启动mysqld显示mysqld: 未被识别的服务 解决方法 参考文章: (1)安装centos后 启动mysqld显示mysqld: 未被识别的服务 解决方法 (2)https: ...

  7. 安装Jenkins后 启动时失败的问题解决

    安装Jenkins后 启动时失败的问题解决 参考文章: (1)安装Jenkins后 启动时失败的问题解决 (2)https://www.cnblogs.com/playboysnow/p/540820 ...

  8. 安装WPS后office出现报错的情况

    安装WPS后office出现报错的情况 如:Excel无法打开文件xxx.xlsx,因为文件格式或文件扩展名无效.请确定文件未损坏,并且文件扩展名与文件的格式匹配 转载自:https://www.dr ...

  9. ASP.NET.CORE发布后启动网站出现500.19-0x8007000d错误解决方法

    本项目使用的是netcoreapp2.2,缺少的XML文件是swagger.发布采用的是文件系统.依赖框架. 我第一次发布asp.net.core的后台,发布后启动网站出现500.19错误-0x800 ...

最新文章

  1. 使用php读写mysql数据库并显示到网页上
  2. MIT:大脑如何跟踪运动中的物体?
  3. python使用符号 表示单行注释-Pyhton 单行、多行注释符号使用方法及规范
  4. MySQL表注释和字段注释
  5. 必须要改变这样的生活
  6. 6a标准 api_【阀门标准】API SPEC 6A CHINESE-2010中文版.pdf
  7. lm723大电流可调电源电路图_TE:大电流电源连接器
  8. iphone开发JSON库之BSJSONAdditions
  9. 【渝粤教育】广东开放大学 人工智能 形成性考核 (55)
  10. 计算机应用基础知道,谁知道计算机应用基础练习题的答案?
  11. linux,下载与安装
  12. Eclipse Debug不能热部署解决
  13. Linux之进程通信20160720
  14. 2012年7月19日 解一元二次方程
  15. Golang 实现本地身份证归属地查询
  16. AES加密算法软件实现-Java
  17. 未来教育计算机二级答案,未来教育计算机二级操作题答案.docx
  18. 关于Word目录英文自动大写无法更改问题的处理办法
  19. npm安装报错: errno ETIMEDOUT network request toXXX failed, reason: connect ETIMEDOUT
  20. Pixelmator for mac(图片编辑处理工具) v3.8.1激活版

热门文章

  1. Oracle数据库的基本语法
  2. python requests模块_Python 爬虫教程 requests 模块
  3. centos系统盘满了 如何清理_教你5步把系统盘迁移至SSD,让你的电脑加速,瞬间提升10倍!...
  4. Kali Linux常用服务配置教程安装及配置DHCP服务
  5. Swift3.0语言教程替换子字符串
  6. 查看java内存_怎么查看java虚拟机存储空间使用情况
  7. python安装cv2模块_pythonimportcv2importError:DLLloadfailed:找不到指定模块
  8. 基于深度学习网络的运动想象BCI系统及其应用
  9. APK在AndroidManifest.xml常用权限总结
  10. 斯坦福前校长John Hennessy、张亚勤等一众大佬云集,共探最前沿技术 | CNCC2020