redhat7 搭建oracle 11g RAC 问题与处理

01. RHEL7中缺少包compat-libstdc++-33


Installation of Oracle Database Server/Client on RHEL 7/OL7 reports pre-requisite package ‘compat-libstdc++’ missing. (文档 ID 2062336.1)


compat-libstdc++-33-3.2.3 is still required due to bug 22477834.

Install the compat-libstdc++-33-3.2.3 and Proceed with the Database Installation.

02. 执行 报错



Adding Clusterware entries to inittab

ohasd failed to start

Failed to start the Clusterware. Last 20 lines of the alert log follow: 

2018-08-13 10:23:57.571: 

[client(58661)]CRS-2101:The OLR was formatted using version 3.

0201:软件安装之前,安装  :

[grid@prod04 rhel7 11204 patch]$ unzip 

[grid@prod04 rhel7 11204 patch]$  cp b19404309/grid/cvu_prereq.xml /soft/grid/stage/cvu/(安装软件包位置) 

0202:执行 之前,在所有节点安装

grid@prod04 rhel7 11204 patch]$ unzip ^C

[grid@prod04 rhel7 11204 patch]$ cd 18370031/          

[grid@prod04 18370031]$ /u01/app/11.2.0/grid/OPatch/opatch apply

Oracle Interim Patch Installer version

Copyright (c) 2012, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/11.2.0/grid

Central Inventory : /u01/app/oraInventory

   from           : /u01/app/11.2.0/grid/oraInst.loc

OPatch version    :

OUI version       :

Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/18370031_Aug_13_2018_11_02_32/apply2018-08-13_11-02-32AM_1.log

Applying interim patch ‘18370031’ to OH ‘/u01/app/11.2.0/grid’

Verifying environment and performing prerequisite checks…

All checks passed.

Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.

(Oracle Home = ‘/u01/app/11.2.0/grid’)

Is the local system ready for patching? [y|n]


User Responded with: Y

Backing up files…

Patching component,…

Verifying the update…

Patch 18370031 successfully applied

Log file location: /u01/app/11.2.0/grid/cfgtoollogs/opatch/18370031_Aug_13_2018_11_02_32/apply2018-08-13_11-02-32AM_1.log

OPatch succeeded.

03. Error in invoking target ‘agent nmhs’ of makefile

error in invoking target ‘agent nmhs’ of make file while installing Oracle on Linux (文档 ID 2299494.1)


Edit $ORACLE_HOME/sysman/lib/, search for the line


Then replace the line with


Then click “Retry” button to continue.

来自 “ ITPUB博客 ” ,链接:,如需转载,请注明出处,否则将追究法律责任。