Get the App
SLTechnology News&Howtos  ›  Database  › 

What if Oracle10g RAC runs root.sh Times wrong?

Shulou Source: shulou.com Published: 2022-05-31 18:49:49 11月17日 Update

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!

Tags: Run problem what to do Times permissions content situation file equipment learning practical deeper matter interest again reason command practicality practicality simple operation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Technology MariaDB Docker Shulou Information