现象

grid用户使用asmca无法创建asm磁盘,如下图

分析

如图所示,报错说是 Grid Infrastructure 出了问题。那么 Grid Infrastructure 是什么 ?

在安装 Grid 时,会执行一个脚本 /u01/app/11.2.0/grid/root.sh ,该脚本执行内容如下

Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/11.2./grid Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite. Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2./grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-: Node data successfully pinned.
Adding Clusterware entries to upstart data // :: /u01/app/11.2./grid/cdata/data/backup_20150910_160610.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server

注意最后一句,Grid Infrastructure 配置成功。该脚本所配置的内容就是 Grid Infrastructure 。该部分出问题时,该脚本都会给出提示,比如,

如果“Adding Clusterware entries to upstart”没有启动成功,那么脚本就会给出以下提示

To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:

/u01/app/11.2./grid/perl/bin/perl -I/u01/app/11.2./grid/perl/lib -I/u01/app/11.2./grid/crs/install /u01/app/11.2./grid/crs/install/roothas.pl

To configure Grid Infrastructure for a Cluster execute the following command:

/u01/app/11.2./grid/crs/config/config.sh

This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.

意思是如果安装步骤没有问题,只是启动由于某种原因没有成功时,

单机可以执行 /u01/app/11.2.0/grid/crs/install/roothas.pl

集群可以执行 /u01/app/11.2.0/grid/crs/config/config.sh

以启动服务

解决方法

1. 检查确认安装过程是否正确

2. 检查集群服务是否正常启动,如果没有

单机执行 /u01/app/11.2.0/grid/crs/install/roothas.pl

集群执行 /u01/app/11.2.0/grid/crs/config/config.sh

以启动服务

最新文章

  1. No.7__C#_Final
  2. JavaScript数组定义
  3. SVN 修改log信息报错的解决方案
  4. zstu2016校赛圣杯战争
  5. Java中怎样由枚举常量的ordinal值获得枚举常量对象
  6. [原创]旧事重提:只配置参数实现OAuth2登录
  7. iOS/Xcode异常:reason = “The model used to open the store is incompatible with the one used to create the store”
  8. LR错误整理
  9. [UWP]理解及扩展Expander
  10. poj 1797 Heavy Transportation(最大生成树)
  11. The POM for * is invalid
  12. socket , 套接口还是套接字,傻傻分不清楚
  13. 【转载】 mybatis入门系列四之动态SQL
  14. OpenStack-Queens版本缓存yum源的问题
  15. spring mvc 校验@NULL
  16. Shiro介绍
  17. PL/SQL学习笔记之记录
  18. Unity --- MeshRenderer之网格合并
  19. 前端笔记二:CSS盒模型
  20. 使用json要导入什么包

热门文章

  1. 20150820 PROCEDURE 模板
  2. 运行html,css,js好的软件
  3. csharp通过dll调用opencv函数,图片作为参数
  4. Javascript正则表达式笔记
  5. [Django_1_1]第一个app
  6. ASP函数大全
  7. 2016年12月13日 星期二 --出埃及记 Exodus 21:8
  8. JS中innerHTML 和innerText和value的区别
  9. 公共控件Listview
  10. ContentProvider官方教程(9)定义一个provider完整示例:实现方法,定义权限等