您好,登錄后才能下訂單哦!
Oracle Study之--Oracle 11gR2 RAC crs啟動(dòng)故障(CRS-4000)
系統(tǒng)環(huán)境:
操作系統(tǒng):RedHat EL5
Cluster: Oracle 11gR2 Grid
Oracle: Oracle 11gR2
在啟動(dòng)一個(gè)node的CRS時(shí)出現(xiàn)以下錯(cuò)誤,錯(cuò)誤現(xiàn)象:
[root@node1 ~]# crsctl start crs Failure at scls_scr_getval with code 1 Internal Error Information: Category: -2 Operation: opendir Location: scrsearch2 Other: cant open scr home dir scls_scr_getval System Dependent Information: 2 CRS-4000: Command Start failed, or completed with errors.
查看錯(cuò)誤原因:
1、主機(jī)名
[root@node1 node1]# hostname
node1
2、查看hosts文件
[root@node1 node1]# cat /etc/hosts# Do not remove the following line, or various programs# that require network functionality will fail.
127.0.0.1 localhost ::1 localhost6.localdomain6 localhost6 192.168.8.21 wqy1 10.10.10.101 wqy1-priv 192.168.8.23 wqy1-vip 192.168.8.22 wqy2 10.10.10.102 wqy2-priv 192.168.8.24 wqy2-vip 192.168.8.25 rac-scan 192.168.8.26 wqy3 10.10.10.103 wqy3-priv 192.168.8.27 wqy3-vip
從以上可以了解,主機(jī)名應(yīng)該為wqy1,應(yīng)該是主機(jī)名錯(cuò)誤,導(dǎo)致CRS啟動(dòng)失敗!
3、重新修改主機(jī)名
[root@node1 node1]# vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=wqy1
[root@node1 node1]# hostname wqy1
4、重新啟動(dòng)CRS service
[root@wqy1 ~]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[root@wqy1 ~]# crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
---至此,問(wèn)題得以解決!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。