centos 7.5安装11.2.0.4 注意事项

举报
snowofsummer 发表于 2021/09/30 08:13:05 2021/09/30
【摘要】 1,root.sh报错 shared libraries: libcap.so.1Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace dire...

1,root.sh报错 shared libraries: libcap.so.1

Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
Failed to create keys in the OLR, rc = 127, Message:
  /u01/app/11.2.0/grid/bin/clscfg.bin: error while loading shared libraries: libcap.so.1: cannot open shared object file: No such file or directory 

Failed to create keys in the OLR at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 7660.
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution faile



### 解决方法

rpm -ivh compat-libcap1-1.10-1.x86_64.rpm 
#./rootcrs.pl -verbose -deconfig -force 

2,节点2asm启动失败

2021-09-29 18:18:10.735: [ora.asm][3645376256]{0:0:209} [start] InstAgent::start: 1 errcode 48189
2021-09-29 18:18:10.735: [ora.asm][3645376256]{0:0:209} [start] InstAgent::start: untrapped error
2021-09-29 18:18:10.735: [ora.asm][3645376256]{0:0:209} [start] InstAgent::start: 2 errcode 48189
2021-09-29 18:18:10.735: [ USRTHRD][3645376256]{0:0:209} InstConnection:~InstConnection: this c812f8c0
2021-09-29 18:18:10.735: [ora.asm][3645376256]{0:0:209} [start] clean {
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] InstAgent::stop_option stop mode immediate option 1
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] InstAgent::stop {
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] getResAttrib: attrib name USR_ORA_OPI value false len 5
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] InstAgent::stop original reason system do shutdown abort
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] ConnectionPool::resetConnection  s_statusOfConnectionMap 00ae9760
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] ConnectionPool::resetConnection sid +ASM2 status  2
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] Gimh::check OH /u01/app/11.2.0/grid SID +ASM2
2021-09-29 18:18:10.736: [ora.asm][3645376256]{0:0:209} [start] GIMH: GIM-00104: Health check failed to connect to instance.
GIM-00090: OS-dependent operation:open failed with status: 2
GIM-00091: OS failure message: No such file or directory
GIM-00092: OS failure occurred at: sskgmsmr_7

## 目录权限错误

#/u01/app/11.2.0/grid 目录权限错误,改为grid:oinstall

chown grid:oinstall /u01/app/11.2.0/grid

3,

rootcrs.pl -deconfig -verbose -force

报错信息

Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perlusr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /u01/app/11.2.0/grid/crs/install) at /u01/app/11.2.0/gd/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.

解决办法:

yum install  perl-Env

【版权声明】本文为华为云社区用户原创内容,转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息, 否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。