日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

如何诊断crs 安装时 root.sh 脚本执行错误

發布時間:2024/4/17 编程问答 38 豆豆
生活随笔 收集整理的這篇文章主要介紹了 如何诊断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 脚本执行错误的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。