重庆思庄Oracle、Redhat认证学习论坛

标题: EM13C Installation Fails at OMS Start with Error: WebTier Could Not Be Started [打印本页]

作者: 郑全    时间: 2023-7-9 15:15
标题: EM13C Installation Fails at OMS Start with Error: WebTier Could Not Be Started
em13c 13.5 在oracle linux 8.8 上安装,在启动OMS时,会报这个错误:

<OMS_HOME>/ohs/bin/httpd: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory

原因正好是没有安装下面包所导致,按   Doc ID 2790890.1 步骤解决即可
glibc-devel*-i686

附:

EM 13c: Enterprise Manager Cloud Control Installation Fails at OMS Start with Error: WebTier Could Not Be Started (Doc ID 2790890.1)
In this Document
Symptoms
Changes
Cause
Solution
References

APPLIES TO:
Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.
SYMPTOMS

Enterprise Manager (EM) 13.5 Cloud Control installation fails at OMS start with these logged errors:

<gc_inst>/em/EMGC_OMS1/sysman/log/emctl.log


INFO: oracle.sysman.top.oms:Starting OMS ...
INFO: oracle.sysman.top.oms:Executing the command: <OMS_HOME>/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 <gc_inst>/em/EMGC_OMS1/sysman/log/emctl.log for error details
SEVERE: oracle.sysman.top.oms:Starting of OMS failed.

<gc_inst>/user_projects/domains/GCDomain/servers/ohs1/logs/ohs1.log

<2021-07-05 09:03:58> <INFO> <OHS-0> <OMS_HOME>/ohs/bin/httpd: error while loading shared libraries: libclntshcore.so.12.1: cannot open shared object file: No such file or directory>
<2021-07-05 09:03:58> <SEVERE> <OHS-0> <OMS_HOME>/ohs/bin/launch httpd -DOHS_MPM_WORKER -d <gc_inst>/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs1 -k start -f <gc_inst>/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs1/httpd.conf: exit status = 127>
<2021-07-05 09:03:58> <INFO> <OHS-4005> <Check the instance log file for more information: <gc_inst>/user_projects/domains/GCDomain/servers/ohs1/logs/ohs1.log>
<2021-07-05 09:03:58> <SEVERE> <OHS-0> <Failed to start the server ohs1>


CHANGES


CAUSE
The required gcc-4.8.2-16 and glibc-devel-2.17-55-i686 packages are not installed.

The following file is missing:

<OMS_HOME>/lib/libclntshcore.so.12.1






SOLUTION
Work around:

1. Copy the missing file "libclntshcore.so.12.1"

From
===
<Agent_Base_Dir>/agent_<version>/instantclient/

To
==
<OMS_HOME>/lib>

2.  Stop running processes

<OMS_HOME>/bin/./emctl stop oms -all -force

If any of these processes are running, terminate them:

ps -ef | grep java
ps -ef | grep EMGC_OMS1
ps -ef | grep EMGC_ADMINSERVER

kill -9

3. Restart the OMS:

<OMS_HOME>/bin/./emctl start oms

Note: If the issue persists. then it is required to install the missing gcc and glibcpackages and restart the OMS.



If any functional or stability issues arise, it may be necessary to reinstall EM 13.5 once all required packages are in place.






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2