redhat7 安装oracle 11g RAC 问题与处理

简介:

redhat7 安装11g rac数据库会遇到多个问题,本文列出了常见问题和处理方法。

1 RHEL7中缺少包compat-libstdc++

(可以在RHEL6中找到,建议安装)

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

SOLUTION:

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.

2 执行root.sh 报错

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

需要安装补丁(p18370031_112040_Linux-x86-64.zip,p19404309_112040_Linux-x86-64.zip)

0201:软件安装之前,安装 p19404309_112040_Linux-x86-64.zip  :

[grid@prod04 rhel7 11204 patch]$ unzip p19404309_112040_Linux-x86-64.zip 

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


0202:执行root.sh 之前,在所有节点安装p18370031_112040_Linux-x86-64.zip:

grid@prod04 rhel7 11204 patch]$ unzip p18370031_112040_Linux-x86-64.zip ^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 11.2.0.3.4

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    : 11.2.0.3.4

OUI version       : 11.2.0.4.0

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]

y

User Responded with: Y

Backing up files...

Patching component oracle.crs, 11.2.0.4.0...

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.

3 Error in invoking target 'agent nmhs' of makefile

error in invoking target 'agent nmhs' of make file ins_emagent.mk while installing Oracle 11.2.0.4 on Linux (文档 ID 2299494.1)

SOLUTION:

Edit $ORACLE_HOME/sysman/lib/ins_emagent.mk, search for the line

$(MK_EMAGENT_NMECTL)

Then replace the line with

$(MK_EMAGENT_NMECTL) -lnnz11

Then click “Retry” button to continue.

相关文章
|
2月前
|
Oracle 关系型数据库 数据库
如何利用 Docker 安装 Oracle 数据库
【2月更文挑战第14天】
116 0
|
2天前
|
Oracle 关系型数据库 Linux
SuSE linux server 11通过SAP来安装oracle11g
SuSE linux server 11通过SAP来安装oracle11g
|
2天前
|
Linux 数据安全/隐私保护 Docker
在centos7虚拟机上安装docker oracle11g
在centos7虚拟机上安装docker oracle11g
|
19天前
|
Oracle 关系型数据库 数据库
Oracle 11gR2学习之一(安装篇)
Oracle 11gR2学习之一(安装篇)
|
23天前
|
存储 Oracle 关系型数据库
Oracle RAC:数据库集群的舞动乐章
【4月更文挑战第19天】Oracle RAC是Oracle提供的高可用性数据库解决方案,允许多个实例共享同一数据库,确保业务连续性和数据完整性。通过集群件和全局缓存服务实现服务器间的协调和通信。RAC提供高可用性,通过故障转移应对故障,同时提升性能,多个实例并行处理请求。作为数据管理员,理解RAC的架构和管理至关重要,以发挥其在数据管理中的最大价值。
|
2月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC
|
2月前
|
存储 Oracle 关系型数据库
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
手把手教你安装Oracle——以oracle 11g为例
|
3月前
|
Oracle 关系型数据库
oracle Hanganalyze no RAC
oracle Hanganalyze no RAC
15 0
|
3月前
|
Oracle 关系型数据库 数据安全/隐私保护
Docker安装oracle11g
Docker安装oracle11g步骤