redhat6.5中Rac11g安裝錯誤筆記
以下的錯誤都是我安裝RAC11g遇到的錯誤。現記錄如下:
0.安裝參考步驟: http://o-casey.blog.163.com/blog/static/659391472013112111429321/
參考書籍:參考book 《構建最高可用Oracle資料庫系統:Oracle 11gR2 RAC管理、維護與效能優
1.安裝的環境是什麼?
Red Hat Enterprise Linux Server release 6.5 x86_64
grid 11.2.0.3
openfiler:2.99
2.遇到的問題一:
未能建立磁碟組GRIDDGVOT, 返回訊息如下:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'ORCL:VOT' matches no disks
Configuration of ASM ... failed
see asmca logs at /u01/app/grid/cfgtoollogs/asmca for details
錯誤原因:一個原因是,diskrecovery ,使用的是“ODCL:XXXX”,這種形式。其實這種asm磁碟定址據說有bug。我後來是用這個定址:
asm_diskstring /dev/oracleasm/disks 。這樣的定址是沒有問題的,就可以建立diskgroup了。另外一個原因是,
共享磁碟用的是openfiler,沒有配置Network ACL.如下圖:
3.遇到的問題二:
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1,
這個報錯可以忽略,請看紅色解答:
[grid@rac1 ~]$ oerr crs 4402
4402, 0, "The CSS daemon was started in exclusive mode but found an active CSS daemon on node %s, number %s, and is terminating"
// *Cause: The CSS daemon was started in exclusive mode, which requires
// that the clusterware stack is down on all other nodes to ensure
// data integrity. A CSS daemon was detected on another node,
// so the CSS daemon on this node is terminating.
// *Action: If this message displays as part of the install process, no
// action is required, otherwise stop the Oracle clusterware
// stack that is running on the indicated node. The name and number
// of the active node may be unknown.
4.預檢查的時候報錯:
task resolv.conf integrity警告
Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
File "/etc/resolv.conf" does not have both domain and search entries defined
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
domain entry in file "/etc/resolv.conf" is consistent across nodes
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
search entry in file "/etc/resolv.conf" is consistent across nodes
Checking DNS response time for an unreachable node
Node Name Status
------------------------------------ ------------------------
rac2 failed
rac1 failed
PRVF-5637 : DNS response time could not be checked on following nodes: rac2,rac1
我用nslookup scan dns,有返回值,這個錯誤忽略。
[root@rac2 rac2]# nslookup scan-cluster.weconex.com
Server: 172.16.0.79
Address: 172.16.0.79#53
Name: scan-cluster.weconex.com
Address: 172.16.0.75
5.預檢查的時候報錯:
rac device check for asm失敗
這個錯誤提示一大推,我的建議是:可以忽略。
6.提示沒有安裝pdksh ,當下載安裝的時候報錯
[root@bidevelop4 Packages]# rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm
warning: pdksh-5.2.14-37.el5_8.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
error: Failed dependencies:
pdksh conflicts with ksh-20100621-16.el6.x86_64
解決辦法:
[root@bidevelop4 Packages]# rpm -qa | grep ksh
ksh-20100621-16.el6.x86_64
[root@bidevelop4 Packages]# rpm -e ksh-20100621-16.el6.x86_64
[root@bidevelop4 Packages]# rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm
7.節點1執行root.sh 報錯如下:
8.
0.安裝參考步驟: http://o-casey.blog.163.com/blog/static/659391472013112111429321/
參考書籍:參考book 《構建最高可用Oracle資料庫系統:Oracle 11gR2 RAC管理、維護與效能優
1.安裝的環境是什麼?
Red Hat Enterprise Linux Server release 6.5 x86_64
grid 11.2.0.3
openfiler:2.99
2.遇到的問題一:
未能建立磁碟組GRIDDGVOT, 返回訊息如下:
ORA-15018: diskgroup cannot be created
ORA-15031: disk specification 'ORCL:VOT' matches no disks
Configuration of ASM ... failed
see asmca logs at /u01/app/grid/cfgtoollogs/asmca for details
錯誤原因:一個原因是,diskrecovery ,使用的是“ODCL:XXXX”,這種形式。其實這種asm磁碟定址據說有bug。我後來是用這個定址:
asm_diskstring /dev/oracleasm/disks 。這樣的定址是沒有問題的,就可以建立diskgroup了。另外一個原因是,
共享磁碟用的是openfiler,沒有配置Network ACL.如下圖:
3.遇到的問題二:
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac1,
這個報錯可以忽略,請看紅色解答:
[grid@rac1 ~]$ oerr crs 4402
4402, 0, "The CSS daemon was started in exclusive mode but found an active CSS daemon on node %s, number %s, and is terminating"
// *Cause: The CSS daemon was started in exclusive mode, which requires
// that the clusterware stack is down on all other nodes to ensure
// data integrity. A CSS daemon was detected on another node,
// so the CSS daemon on this node is terminating.
// *Action: If this message displays as part of the install process, no
// action is required, otherwise stop the Oracle clusterware
// stack that is running on the indicated node. The name and number
// of the active node may be unknown.
4.預檢查的時候報錯:
task resolv.conf integrity警告
Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
File "/etc/resolv.conf" does not have both domain and search entries defined
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
domain entry in file "/etc/resolv.conf" is consistent across nodes
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
search entry in file "/etc/resolv.conf" is consistent across nodes
Checking DNS response time for an unreachable node
Node Name Status
------------------------------------ ------------------------
rac2 failed
rac1 failed
PRVF-5637 : DNS response time could not be checked on following nodes: rac2,rac1
我用nslookup scan dns,有返回值,這個錯誤忽略。
[root@rac2 rac2]# nslookup scan-cluster.weconex.com
Server: 172.16.0.79
Address: 172.16.0.79#53
Name: scan-cluster.weconex.com
Address: 172.16.0.75
5.預檢查的時候報錯:
rac device check for asm失敗
這個錯誤提示一大推,我的建議是:可以忽略。
6.提示沒有安裝pdksh ,當下載安裝的時候報錯
[root@bidevelop4 Packages]# rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm
warning: pdksh-5.2.14-37.el5_8.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
error: Failed dependencies:
pdksh conflicts with ksh-20100621-16.el6.x86_64
解決辦法:
[root@bidevelop4 Packages]# rpm -qa | grep ksh
ksh-20100621-16.el6.x86_64
[root@bidevelop4 Packages]# rpm -e ksh-20100621-16.el6.x86_64
[root@bidevelop4 Packages]# rpm -ivh pdksh-5.2.14-37.el5_8.1.x86_64.rpm
7.節點1執行root.sh 報錯如下:
Failed to create keys in the OLR, rc = 127, Message:
/opt/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory
執行如下操作,就可以在此執行root.sh了
[root@rac1 ~]# cd /lib64
[root@rac1 lib64]# ls libcap*
libcap-ng.so.0 libcap-ng.so.0.0.0 libcap.so.2 libcap.so.2.16
[root@rac1 lib64]# ln -s libcap.so.2.16 libcap.so.1
8.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30393770/viewspace-2052083/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Memcached筆記——(一)安裝&常規錯誤&監控筆記
- hadoop安裝中錯誤Hadoop
- Oracle安裝錯誤Oracle
- pymssql安裝錯誤SQL
- jive安裝錯誤
- hadoop 安裝錯誤記錄(持續更新)Hadoop
- cocoapods安裝錯誤
- CentOS安裝pillow錯誤CentOS
- 【RAC】RAC安裝錯誤手工解除安裝
- RedHat6.5 安裝Oracle 12c RACRedhatOracle
- MySQL 安裝常見錯誤MySql
- onethink安裝提示錯誤
- 安裝golang tour,提示錯誤Golang
- mysql 原始碼安裝過程中錯誤總結MySql原始碼
- Manjaro安裝筆記JAR筆記
- laravel安裝筆記Laravel筆記
- ZooKeeper安裝筆記筆記
- 安裝出錯,說jiveHome驗證錯誤
- WordPress 線上安裝或更新錯誤
- 安裝.NET Core遇到的錯誤
- PHP安裝後錯誤處理PHP
- Hadoop安裝錯誤總結Hadoop
- sendEmail安裝使用及錯誤排查AI
- RAC安裝時碰到的錯誤
- 安裝RAC常見小錯誤
- drupal7安裝中文錯誤
- [記錄]關於安裝VMware workstation 時我遇到的錯誤
- 黑洞筆記:在VMWARE中安裝X-WINDOW(不用安裝VMTOOL)(轉)筆記
- Go 的錯誤處理策略 筆記Go筆記
- 安裝PHP ImageMagick筆記PHP筆記
- Ubuntu安裝docker筆記UbuntuDocker筆記
- influxdb 筆記: 安裝UX筆記
- disconf 安裝筆記筆記
- solr安裝使用筆記Solr筆記
- VMware中安裝ORACLE RAC出現的CRS錯誤總結Oracle
- MacOs 安裝擴充套件錯誤列表Mac套件
- linux安裝thefuck報gcc錯誤LinuxGC
- ruby2.2安裝錯誤一則