如何诊断crs 安装时 root.sh 脚本执行错误
troubleshooting root.sh problem
------*for 10g and 11.1
1.查证公网,私网的节点名是可以互相ping通的
 2.---查证OCR/Voting 文件对oracle 、root用户都是可以读写的,盘的权限
     Dd if=/dev/raw/raw1 of=/dev/null   --验证可读
Pre Install:
  OCR    - root:oinstall   - 640
  Voting - oracle:oinstall - 660
 Post Install:
  OCR    - root:oinstall   - 640
  Voting - oracle:oinstall - 644
In RHAS 4.0, permissions should be added to /etc/rc.d/rc.local.  See 
 Note 293819.1 for more information.
3.在执行root.sh前确保ocr、voting盘是干净的--(第一次安装时)
 Example:清理磁盘头
dd if=/dev/zero of=/dev/traindata_dg/ocrV1064_100m.dbf bs=8192
count=12800
  dd if=/dev/zero of=/dev/traindata_dg/V1064_vote_01_20m.dbf bs=8192
count=2560
4.Verify that the Oracle user has permissions on /var/tmp
(specifically
 /var/tmp/.oracle)
5.Is pam being used? Look for pam_unix messages in the messages
file. The pam configuration might need to be altered to allow the
root.sh to complete. ---pam_unix :传统的密码验证模块
6.Verify that the correct vendor clusterware version is being used
(if vendor clusterware is being used). If on Sun, make sure you are
using the latest UDLM.
 If on Sun, make sure the udlm has the keyword "reentrant".  Example:
> more /var/sadm/pkg/ORCLudlm/pkginfo | grep VERSION
  VERSION=Dev Release 10/29/03, 64bit 3.3.4.7 reentrant
7. Veirfy that crs, css, or evm is not already running ( ps -ef |
grep d.bin )
------debug root.sh------
1.crsctl stop crs (root用户)
2. Backup the entire Oracle Clusterware home.
3.Execute <CRS_HOME>/install/rootdelete.sh on all nodes
4. Execute <CRS_HOME>/install/rootdeinstall.sh on the installing node
5. The following commands should return nothing: 
 * ps -e | grep -i 'ocs[s]d' 
 * ps -e | grep -i 'cr[s]d.bin' 
 * ps -e | grep -i 'ev[m]d.bin' 
 Eventually kill those processes or reboot the node.
6. Remove all files from /tmp/.oracle and /var/tmp/.oracle
7. edit the root.sh and add 'sh -x' before the two commands executed
by it, e.g.
 #!/bin/sh
 sh -x /u01/app/oracle/product/crs102/install/rootinstall
 sh -x /u01/app/oracle/product/crs102/install/rootconfig
 8. collect the output via, e.g.
 script /tmp/rootsh-node1.log 
 ./root.sh 
 exit
9. Please send the rootsh-node1.log to Oracle Support for analyzing.
- In some cases, these messages can be found in the rootsh-
<node_name>.log file:
如何诊断crs 安装时 root.sh 脚本执行错误的更多相关文章
- 安装GRID时跑root.sh脚本报错(ORA-27091: unable to queue I/O)
		在安装GRID过程中,运行root.sh脚本时报如下信息: Adding Clusterware entries to upstart CRS-2672: Attempting to start 'o ... 
- RAC安装GI时运行root.sh脚本结果
		第一节点运行root.sh脚本的结果: # /u01/app//grid/root.sh Performing root user operation for Oracle 11g The follo ... 
- 【RAC】安装cluster软件  在节点2执行root.sh脚本
		安装cluster软件 在节点2执行root.sh脚本 报错如下: Running vipca(silent) for configuring nodeapps /db/oracle/product ... 
- root.sh脚本支持checkpoints文件实现重复运行
		安装集群GRID/GI一般包括三个过程:首先,运行OUI/RunInstaller输入集群配置信息,其次,拷贝/编译集群文件,最后,以root用户运行root.sh脚本配置集群/启动集群,其中运行ro ... 
- sh脚本执行Java程序
		1.不引用Jar包或者资源文件夹 最简单的程序Hello World. 首先创建Hello.java public class Hello { public static void main(Stri ... 
- 12.2.0.1 restart环境执行root.sh  报 CLSRSC-400 错误
		问题描述: 在LINUX 7.5 的环境上安装12.2.0.1 Restart Grid环境,执行root.sh 报 CLSRSC-400 错误 错误如下: 解决办法: 1. 参考(文档ID 136 ... 
- shell脚本执行错误 $'\r':command not found
		shell脚本执行错误 $'\r':command not found Linux下有命令dos2unix 可以用一下命令测试 vi -b filename 我们只要输入dos2unix *.sh就可 ... 
- windows下建立文件的换行符^M导致linux下的shell脚本执行错误的解决方式
		常常在windows下编辑的文件远程传送到linux下的时候每行末尾都会出现^M.这将导致shell脚本执行错误,主要是由于dos下的编辑器和linux下的编辑器对文件末行的回车符处理不一致导致. 主 ... 
- 诊断:RHEL7安装11.2RAC时root.sh错误ohasd failed to start
		RHEL 7.5中安装11gRAC时,在grid infrastructure的root.sh执行时,报错: # /oracle/product/11g/grid/root.sh ... Adding ... 
随机推荐
- 数据库下载word预览功能的研究
			本文参考了这里的一些方法http://tobetobe.blog.51cto.com/1392243/354420 一直想通过缓存来实现,奈何技术不够,走了曲线救国的思路,先下载,然后预览,删除下载文 ... 
- 蓝桥杯  六角形中填置1~12个数字 dfs
			如图[1.png]所示六角形中,填入1~12的数字. 使得每条直线上的数字之和都相同. 图中,已经替你填好了3个数字,请你计算星号位置所代表的数字是多少? 请通过浏览器提交答案,不要填写多余的内容. ... 
- Python常用模块 (2) (loging、configparser、json、pickle、subprocess)
			logging 简单应用 将日志打印到屏幕 import logging logging.debug('debug message') logging.info('info message') log ... 
- 最逼近Mac OS的Linux系统 -- Elementary OS
			也不知道有多少人听说过Elementary OS?elementary Project 最开始只有一个 elementary 主题,之后延伸出了很多项目,形成了 elementary Project ... 
- iOS蓝牙4.0开发例子
			1建立中心角色 1 2 3 #import <CoreBluetooth/CoreBluetooth.h> CBCentralManager *manager; manager = [ ... 
- andorid 控件 Bootstrap3.0风格的控件 精美UI控件库
			Bootstrap是Twitter推出的一个开源的用于前端开发的工具包.它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS/HTML框架.Bootstra ... 
- 全分布式环境下,DataNode不启动的问题解决
			问题出现:机器重启之后,再次在master结点上面执行start-all.sh,发现有一个datanode没有启动,通过jps检查之后,发现slave1上面的datanode进程未启动 原因:每次na ... 
- Java中使用webservice,简化开发(xfire的webservice)
			首先,使用到的jar先导入项目中, xbean-spring-2.8.jar, wsdl4j-1.6.1.jar, commons-httpclient-3.0.jar, commons-codec- ... 
- SQL查询语句47题
			select * from student select * from score --select * from grade select * from course select * from t ... 
- PHP学习笔记十三【二维数组】
			<?php //二维数组 $arr=array(array(1,2,3),array(4,5,6)); $arr1[0]=array(12,34,65); $arr1[1]=array(34,6 ... 
