Bo's Oracle Station

【博客文章2021】Clould Control 13c在Oracle Enterprise Linux 8.3以上版本无法安装的解决方案

2021-7-23 15:33| 发布者: admin| 查看: 90| 评论: 0|原作者: Bo Tang

摘要: Clould Control13c在Oracle Enterprise Linux 8.3以上版本无法安装的BUG解决方案
Clould Control 13c在OEL 8.3以上版本无法安装的解决方案

Author: Bo Tang

1. 故障描述:

  Cloud Control 13.5在Oracle Enterprise Linux 8.0/8.1/8.2都能够正确安装成功,但是在8.3以上的版本无法安装成功(在Redhat Linux和CentOS Linux对应的版本上现象完全相同)。 详细的遇到问题的安装过程如下:
  1) 正常进行安装(前9个步骤都是常规操作,跟着安装向导执行即可,已忽略):


  2) 点击“Install”按钮:


  3) 进度条86%出现问题(如果遇到了,不要放弃并关闭此窗口):

  
  分析View Log链接,


  在弹出窗口中的日志的5378行发现:

INFO: oracle.sysman.top.oms:------------------------------------------
INFO: oracle.sysman.top.oms:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emagentSDK.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emCfg.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emInstaller.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/osdt_core.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/osdt_cert.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/oraclepki.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/orapki.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emPluginHelper.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/ngouihelper.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/generalPortQueries.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/ojdbc8.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oracle_common/modules/oracle.help/oracle_ice.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/installcommon-swing_1.0.0b.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/installcommon-flow_1.0.0b.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_de.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_es.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_fr.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_it.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_ja.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_ko.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_pt_BR.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/online_help/em_install_help_zh_CN.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emCoreSDK.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emprereqkit.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emConfig.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oracle_common/modules/oracle.xdk/xml.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oracle_common/modules/oracle.nlsrtl/orai18n-utility.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/stager-launch.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/emocmclnt-14.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/emocmcommon.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/emocmclnt.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/com.bea.core.apache.log4j.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/log4j-core.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oracle_common/regexp.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/emCoreCommon.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/em/agentInstallerPreChecks.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/installer-launch.jar:/tmp/OraInstall2022-01-18_10-09-15AM/oui/modules/xml.jar
INFO: oracle.sysman.top.oms:Starting OMS ...
INFO: oracle.sysman.top.oms:Executing the command: /u01/app/oracle/product/13.5.0/middleware/bin/emctl start oms
INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 13c Release 5  
INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
INFO: oracle.sysman.top.oms:Starting Oracle Management Server...
INFO: oracle.sysman.top.oms:WebTier Could Not Be Started.
INFO: oracle.sysman.top.oms:Error Occurred: WebTier Could Not Be Started.
INFO: oracle.sysman.top.oms:Please check /u01/app/oracle/product/13.5.0/gc_inst/em/EMGC_OMS1/sysman/log/emctl.log for error details
SEVERE: oracle.sysman.top.oms:Starting of OMS failed.
INFO: oracle.sysman.top.oms:Starting export oms config...
INFO: oracle.sysman.top.oms:Executing command: /u01/app/oracle/product/13.5.0/middleware/bin/emctl exportconfig oms -dir  /u01/app/oracle/product/13.5.0/gc_inst/em/EMGC_OMS1/sysman/backup
INFO: oracle.sysman.top.oms:Oracle Enterprise Manager Cloud Control 13c Release 5  
INFO: oracle.sysman.top.oms:Copyright (c) 1996, 2021 Oracle Corporation.  All rights reserved.
INFO: oracle.sysman.top.oms:Enter Enterprise Manager Root (SYSMAN) Password :           Enter Enterprise Manager Root (SYSMAN) Password : ExportConfig started...
INFO: oracle.sysman.top.oms:Backup directory is /u01/app/oracle/product/13.5.0/gc_inst/em/EMGC_OMS1/sysman/backup
INFO: oracle.sysman.top.oms:Machine is Admin Server host. Performing Admin Server backup...
INFO: oracle.sysman.top.oms:Exporting emoms properties...
INFO: oracle.sysman.top.oms:Exporting secure properties...
INFO: oracle.sysman.top.oms:  



2. 解决办法:

  经过分析出错时的日志,发现是/usr/lib64/libk5crypto.so.3这个库文件造成的。这个库与kerberos5加密有关,影响网页服务器。但是令人奇怪的是8.3以上的版本中这个库的版本并没有升级,仍旧是3.1。这说明8.0/8.1/8.2上/usr/lib64/libk5crypto.so.3虽是3.1版本,但是其二进制在8.3以上的版本中发生了些微变化。按照以下方法进行应急操作(由于Linux系统使用的是libk5crypto.so.3.1,与我们这样操作不会冲突,所以最多就是报告“ldconfig: /lib64/libk5crypto.so.3 不是符号链接”而已,对Linux本身的安全性和稳定性不会有影响)。

[root@classroom lib64]# ls -l libk5crypto.so.3
lrwxrwxrwx. 1 root root 18 8月   5 2020 libk5crypto.so.3 -> libk5crypto.so.3.1
[root@classroom lib64]# pwd
/usr/lib64
[root@classroom lib64]# rpm -qf  /usr/lib64/libk5crypto.so.3.1
krb5-libs-1.18.2-5.el8.x86_64
[root@classroom lib64]# md5sum  libk5crypto.so.3.1
f948fb332e0329d6fcebd9f2b6994d8f  libk5crypto.so.3.1
[root@classroom lib64]# rm -f libk5crypto.so.3(是一个符号链接,指向libk5crypto.so.3.1

[root@classroom lib64]# cp 8.0上的libk5crypto.so.3  libk5crypto.so.3
[root@classroom lib64]# md5sum  libk5crypto.so.3
26a1e0966e4f209b28cd086cc545d6e2  libk5crypto.so.3.1
[root@classroom lib64]# chmod 755 libk5crypto.so.3
[root@classroom lib64]# ldconfig
ldconfig: /lib64/libk5crypto.so.3 不是符号链接(可以忽略)

  

   点击之前出错“retry”按钮,即可通过。



路过

雷人

握手

鲜花

鸡蛋

QQ|手机版|Bo's Oracle Station   

GMT+8, 2022-3-22 11:51 , Processed in 0.059665 second(s), 22 queries .

返回顶部