当前位置: 首页 > news >正文

如何诊断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:

相关文章:

  • 站长
  • webshell 匿名用户(入侵者)
  • 中国象棋程序的设计与实现–楚汉棋兵(高级版)(源码)
  • 简单排序
  • ios开发之再谈设计模式
  • windows下搭建apache+php+mysql
  • CSS3之元素阴影box-shadow
  • VMware Ubuntu12.04虚拟机安装VMware Tools 使用share folders共享目录
  • Oracle技术支持是如何分析数据库性能问题的
  • 民生银行与阿里巴巴牵手了
  • 谷歌至少3千万美元收购了创业公司Bump
  • hdu4526威威猫系列故事——拼车记
  • 几种将网站设为首页的代码
  • PHP设为桌面的代码 保存到桌面带图标的方法
  • 编译安装 LNMP架构及遇到的问题
  • 【划重点】MySQL技术内幕:InnoDB存储引擎
  • 【前端学习】-粗谈选择器
  • CEF与代理
  • CentOS 7 修改主机名
  • happypack两次报错的问题
  • laravel with 查询列表限制条数
  • LeetCode算法系列_0891_子序列宽度之和
  • oschina
  • PhantomJS 安装
  • PHP面试之三:MySQL数据库
  • python docx文档转html页面
  • React-flux杂记
  • Spring技术内幕笔记(2):Spring MVC 与 Web
  • win10下安装mysql5.7
  • 基于HAProxy的高性能缓存服务器nuster
  • 快速体验 Sentinel 集群限流功能,只需简单几步
  • 每天一个设计模式之命令模式
  • 一些基于React、Vue、Node.js、MongoDB技术栈的实践项目
  • 源码之下无秘密 ── 做最好的 Netty 源码分析教程
  • 在 Chrome DevTools 中调试 JavaScript 入门
  • ​LeetCode解法汇总2808. 使循环数组所有元素相等的最少秒数
  • ​Linux·i2c驱动架构​
  • ​sqlite3 --- SQLite 数据库 DB-API 2.0 接口模块​
  • # 安徽锐锋科技IDMS系统简介
  • # 透过事物看本质的能力怎么培养?
  • #Spring-boot高级
  • #我与Java虚拟机的故事#连载19:等我技术变强了,我会去看你的 ​
  • $redis-setphp_redis Set命令,php操作Redis Set函数介绍
  • (原創) 如何動態建立二維陣列(多維陣列)? (.NET) (C#)
  • (转)ObjectiveC 深浅拷贝学习
  • (转)负载均衡,回话保持,cookie
  • (转载)跟我一起学习VIM - The Life Changing Editor
  • ***测试-HTTP方法
  • ***微信公众号支付+微信H5支付+微信扫码支付+小程序支付+APP微信支付解决方案总结...
  • .NET 3.0 Framework已经被添加到WindowUpdate
  • .NET C#版本和.NET版本以及VS版本的对应关系
  • .NET HttpWebRequest、WebClient、HttpClient
  • .net redis定时_一场由fork引发的超时,让我们重新探讨了Redis的抖动问题
  • .net 程序发生了一个不可捕获的异常
  • .NET 反射的使用