Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Oracle Study-- Oracle 11gR2 RAC crs startup failure (CRS-4000)

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Oracle Study-- Oracle 11gR2 RAC crs startup failure (CRS-4000)

System environment:

Operating system: RedHat EL5

Cluster: Oracle 11gR2 Grid

Oracle: Oracle 11gR2

The following error occurs when starting a CRS for node:

[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.

View the cause of the error:

1. Hostname

[root@node1 node1] # hostname

Node1

2. View the hosts file

[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

As can be seen from the above, the hostname should be wqy1, and it should be an error in the hostname, which leads to the failure of CRS startup!

3. Modify the hostname again

[root@node1 node1] # vi / etc/sysconfig/network

NETWORKING=yes

NETWORKING_IPV6=no

HOSTNAME=wqy1

[root@node1 node1] # hostname wqy1

4. Restart 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

-at this point, the problem has been solved!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report