1.本文简介
本文主要汇总记录在centos或者redhat ,oracle linux系统在7版本以上部署11g版本集群碰到的异常问题
2.异常问题
2.1 OLR was formatted using version 3.
运行root.sh 脚本时 ,抛出异常
*报错特征
Adding
Clusterware entries to inittab
ohasd
failed to start
Failed
to start the Clusterware. Last 20 lines of the alert log follow:
2022-01-07
00:14:00.117:
[client(39969)]CRS-2101:The
OLR was formatted using version 3
*解决方法
RHEL 7 使用systemd而不是initd运行进程和重启进程,而root.sh是通过传统的initd运行ohasd进程,执行root.sh时存在BUG,需要在执行root.sh前安装补丁 18370031 修复
2.2 调出图形化安装集群软件或者DB软件时安装窗口无法正常显示或点击
*报错特征
略
*解决方法
需要手动指定jre路径.
./runInstaller -jreLOC /etc/alternatives/jre_1.8.0
2.3 补丁应用时 解锁目录权限异常
*报错特征
[root@xxx ~]# /u01/app/11.2.0/grid/crs/install/rootcrs.pl -unlock
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /u01/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 703.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 703.
Compilation failed in require at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 305.
BEGIN failed--compilation aborted at /u01/app/11.2.0/grid/crs/install/rootcrs.pl line 305.
*解决方法
因缺少perl 环境导致,需要手动安装Perl包
yum install perl-Env -y
2.4 DB软件安装时抛出 agent nmhs' of makefile ' & “undefined reference to symbol ‘B_DestroyKeyObject
*报错特征
*解决方法
查阅mos ,在文章(Doc ID 1965691.1)中可见介绍因bug引起的异常。点击continue继续部署,部署完成后应用补丁处理异常。
附录:mos 文档部分内容
cause
Unpublished bug 19692824
solution
01) Ignore the undefined symbol error during Oracle 11.2.0.4 installation and proceed further. The software installation will succeed without any further errors.
02) Download and install patch 19692824
本文,持续更新.....