asmca无法创建ASM磁盘
2015-09-10 16:22
369 查看
现象
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.0/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.0/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-4664: Node data successfully pinned. Adding Clusterware entries to upstart data 2015/09/10 16:06:10 /u01/app/11.2.0/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.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl To configure Grid Infrastructure for a Cluster execute the following command: /u01/app/11.2.0/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
以启动服务
相关文章推荐
- encodeURI encodeURIComponent
- Mouse Without Borders 键鼠公用软件
- HTML中常用meta整理
- HDU 4612 Warm up (强连通,求树的直径)
- SparseArray替代HashMap来提高性能
- Java 反射概述
- 详解MySQL中EXPLAIN解释命令
- Ubuntu51.04如何安装搜狗输入法
- 编译原理:第四节
- SQLite 基本操作(增删改查)
- 将url字符串,转化成对象
- js操作DOM常用方法
- fiddler和wireshark
- 《ArcGIS Runtime SDK for Android开发笔记》——(4)、基于Android Studio构建ArcGIS Android开发环境
- 用Python写了个websocket即时聊天网页(含客户端、服务端代码)
- PHP去除字符串中所有空格
- JAVA+windows Memcached 安装
- 用PHP尝试RabbitMQ(amqp扩展)实现消息的发送和接收
- 各类排序算法的总结
- <<C++编程思想 第2卷>>读后感