Run root. sh with raw in Redhat5.4RACmultipath and report FailedtoupgradeO

Source: Internet
Author: User
Install OracleRAC10.2.0.1 on LinuxAS5.4 and use the virtual disk partition mapped out by the multi-path software to save OCR and VOTEDISK information. Run root. sh to report error F

Install Oracle RAC 10.2.0.1 on Linux AS 5.4 and use the virtual DISK partition mapped out by the multi-path software to save OCR and vote disk information. Run root. sh to report error F

Install Oracle RAC 10.2.0.1 on Linux AS 5.4 and use the virtual DISK partition mapped out by the multi-path software to save OCR and vote disk information. The error "Failed to upgrade Oracle Cluster Registry configuration" is reported when you run root. sh ".

The error message is as follows:

[Root @ rac11 ~] #/U01/app/oracle/product/10.2.0/crshome_1/root. sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' 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
Failed to upgrade Oracle Cluster Registry configuration

Analyze the ocrconfig. log. The error message is as follows:

[Root @ rac11 ~] # More/u01/app/oracle/product/10.2.0/crshome_1/log/rac11/client/ocrconfig_11282.log
Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996,200 5 Oracle. All rights reserved.
14:36:56. 567: [OCRCONF] [521395072] ocrconfig starts...
14:36:56. 567: [OCRCONF] [521395072] Upgrading OCR data
14:36:56. 572: [OCRCONF] [521395072] OCR already in current version.
14:36:56. 579: [OCRCONF] [521395072] Failed to call clsssinit (21)
14:36:56. 579: [OCRCONF] [521395072] Failed to make a backup copy of OCR
14:36:56. 579: [OCRCONF] [521395072] Exiting [status = failed]...
[Root @ rac11 ~] #

Use dd to clear raw raw1 and raw2 Devices

Dd if =/dev/zero of =/dev/raw/raw1 bs = 8192 K count = 10

Dd if =/dev/zero of =/dev/raw/raw2 bs = 8192 K count = 10

The cleaning result is normal, not the disk cannot be read or the old configuration information is saved.

So I went to the oracle official website and said it was a bug.

Configure raw in RedHat 5.4 RAC multipath and run root. sh to report the error "Failed to upgrade Oracle Cluster Registry configuration.

Use clsfmt. bin to check.

[Root @ rac11 ~] #/U01/app/oracle/product/10.2.0/crshome_1/bin/clsfmt. bin ocr/dev/raw/raw1
Clsfmt: pinned ed unexpected error 4 from skgfifi
Skgfifi: Additional information:-2
Additional information:-2147483648

Oracle's patch package p4679769_10201_linux-x86-64.zip. Replace the clsfmt. binfile In the patch package with the same name file in the system bin directory.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.