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

What if Oracle10g RAC runs root.sh Times wrong?

2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "what to do if Oracle10g RAC runs root.sh Times wrong". Interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what to do if Oracle10g RAC runs root.sh Times wrong".

There are some considerations for configuration in this case. Otherwise, an error will be reported when executing the root.sh command:

[root@rac1 init.d] # / u01/app/oracle/product/crs/root.sh

WARNING: directory'/ u01According to an oracle is not owned by root

WARNING: directory'/ u01According to Oracle'is not owned by root

WARNING: directory'/ u01amp app' is not owned by root

WARNING: directory'/ u01' is not owned by root

Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory

Setting up NS directories

PROT-1: Failed to initialize ocrconfig

Failed to upgrade Oracle Cluster Registry configuration

There are several reasons for this problem:

(1) Bug

In this case, refer to:

Executing root.sh errors with "Failed To Upgrade Oracle Cluster Registry Configuration" [ID 466673.1]

(2) permissions of raw devices

Crwxrwxr-x 1 oracle oinstall 162, 4 Aug 22 11:19 raw4

Crwxrwxr-x 1 oracle oinstall 162, 3 Aug 22 11:19 raw3

Crw-r- 1 root oinstall 162, 1 Aug 22 14:53 raw1

Crw-r--r-- 1 oracle oinstall 162, 2 Aug 22 14:55 raw2

Permissions should be set as follows:

Chown root.oinstall / dev/raw/raw [1-2]

Chown oracle.oinstall / dev/raw/raw [3-5]

Chmod 775 / dev/raw/raw [1-2]

Chmod 775 / dev/raw/raw [3-5]

You can set it in the rules of udev, or you can add permissions to / etc/rc.d/rc.local.

(3) read and write problems of raw equipment

The problem encountered this time is mainly caused by bug (p4679769)

After downloading the patch, overwrite the clsfmt.bin file in the crs/bin directory

Clear the raw of ocr and voting disk and run. / root.sh again to return to normal

At this point, I believe you have a deeper understanding of "what to do when Oracle10g RAC runs the root.sh Times wrong". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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