Oracle OEM13C添加主机监控遇到一些问题汇总

Oracle OEM13C添加主机监控遇到一些问题汇总

想通过OEM监控主机,即OS的信息。

OS可以是Nginx、Redis等非Oracle产品的服务器。

现在记录下遇到的一些问题。

PS:报错的时候如果直观从网页控制台看不出问题所在,记得仔细看OMS的日志信息。另外目标端也有日志可以参考。

问题1

目标监控主机版本CentOS 7的系统。

在“远程先决条件检查详细信息”中,前3行的检查项被跳过。

分别是:

  1. 软件在当前操作系统中是否经过认证?
  2. 当前操作系统上是否安装了所需的程序包
  3. 软件是否与当前操作系统兼容

如下图圈出来的三项会显示直接被跳过,

在目标监控主机的临时目录中的日志可以看出报错找不到lsb_release命令。

安装yum install redhat-lsb-core -y后就可以正常执行而不会被跳过。

不过我在CentOS 6或者RedHat 6的服务器,无论有没有lsb_release命令都可以正常执行这3个先决条件。

由于我只有这个CentOS7需要添加监控,没法继续研究下去。

总之,遇到报错看日志,根据日志进行下一步操作吧。

问题2

目标监控主机版本CentOS 7的系统。

当时没截图到,可以看下边提供的日志。

oem推送客户端时候的oem上的日志如下:

2021-10-18_12-05-13:INFO:/usr/bin/sudo -u oracle  /bin/sh -c 'cd /u01/app/oem13c/agent/ADATMP_2021-10-18_09-09-43-AM;/u01/app/oem13c/agent/ADATMP_2021-10-18_09-09-43-AM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=Nginx01 AGENT_BASE_DIR=/u01/app/oem13c/agent OMS_HOST=oem13c EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oem13c/agent/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force AGENT_PORT=3872' execution was successful on host Nginx01
2021-10-18_12-05-14:INFO:exit-code: 0
2021-10-18_12-05-14:INFO:Action description 在主机 Nginx01 上执行命令 /usr/bin/sudo -K 
2021-10-18_12-05-14:INFO:Attempt :1 pty required false  with no inputs
2021-10-18_12-05-15:INFO:/usr/bin/sudo -K execution was successful on host Nginx01
2021-10-18_12-05-15:INFO:output: 
2021-10-18_12-05-15:INFO:error-stream: 
2021-10-18_12-05-15:INFO:exit-code: 0
2021-10-18_12-05-15:INFO:Pattern Agent Configuration completed successfully not Found
2021-10-18_12-05-15:INFO:Install Success Message not found in install log
2021-10-18_12-05-15:INFO: ACTION 在主机 Nginx01 上执行命令 /u01/app/oem13c/agent/ADATMP_2021-10-18_09-09-43-AM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=Nginx01 AGENT_BASE_DIR=/u01/app/oem13c/agent OMS_HOST=oem13c EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oem13c/agent/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force AGENT_PORT=3872
2021-10-18_12-05-15:INFO: OUT null
2021-10-18_12-05-15:INFO: ERR 不可用
2021-10-18_12-05-15:INFO: EXIT CODE0
2021-10-18_12-05-15:INFO:InvocationTargetException Exception
2021-10-18_12-05-15:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:2869)
        at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:49)
        at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
        at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
Caused by: CommandException: err: 不可用 out: null exitcode: 0
 stacktrace: 
oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall13c(BaseDeployerOps.java:1111)
oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall(BaseDeployerOps.java:844)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:2869)
oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:49)
oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)

        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall13c(BaseDeployerOps.java:1111)
        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall(BaseDeployerOps.java:844)
        ... 8 more

2021-10-18_12-05-15:INFO:=========Command Exception :错误消息:不可用<br><br> 退出代码 :0
2021-10-18_12-05-15:INFO:Updating Action Installwith Status FAILED and error Message :错误消息:不可用<br><br> 退出代码 :0 and problem 在主机 Nginx01 上执行命令 /u01/app/oem13c/agent/ADATMP_2021-10-18_09-09-43-AM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=Nginx01 AGENT_BASE_DIR=/u01/app/oem13c/agent OMS_HOST=oem13c EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oem13c/agent/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force AGENT_PORT=3872 失败 and recommendation 修复错误的原因并重试此操作
2021-10-18_12-05-15:INFO:=================action status is not empty FAILED
2021-10-18_12-05-15:INFO:Breaking since the action has failed
2021-10-18_12-05-15:INFO:Skipping action SecureAgent since some previous step has failed
2021-10-18_12-05-15:INFO:Skipping action RunRootSH since some previous step has failed
2021-10-18_12-05-15:INFO:Not Skipping action CollectLog since some previous step has failed
2021-10-18_12-05-15:INFO:sudo exists value true
2021-10-18_12-05-15:INFO:sudo privilege value true
2021-10-18_12-05-15:INFO:==SUDO EXISTS true SUDO PRIV true
2021-10-18_12-05-15:INFO:====CALLING ACTIONdoCollectLog
2021-10-18_12-05-15:INFO:updating status IN_PROGRESS for action name CollectLog with key: CollectLog
2021-10-18_12-05-15:INFO:Action 安装和配置 failed so copy cfgToolLogs directory

百度没找到解决办法,通过MOS搜索到一篇文档:EM 13c: Agent Push Method Install Fails with Printing Exception :CommandException: err: null out: null exitcode: 1 (文档 ID 2407502.1)

跟我遇到的报错是一样的,原因是缺少了/etc/oraInst.loc这个文件,root用户手工创建:

vi /etc/oraInst.loc
inventory_loc=/u01/app/oraInventory
inst_group=oinstall

在重试即可解决这个错误。

值得一提的是,在CentOS 6或者RedHat 6的服务器上边同样没有那个文件,虽然推送日志也会报错,不过并不会停止而是继续直到最后成功,并且会自动生成该文件。

问题3

日志如下:

2021-10-18_15-02-21:INFO: ACTION 在主机 Nginx01 上执行命令 cd /u01/app/oem13c/agent/ADATMP_2021-10-18_14-29-46-PM;/u01/app/oem13c/agent/ADATMP_2021-10-18_14-29-46-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=Nginx01 AGENT_BASE_DIR=/u01/app/oem13c/agent OMS_HOST=oem13c EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oem13c/agent/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force AGENT_PORT=3872
2021-10-18_15-02-21:INFO: OUT null
2021-10-18_15-02-21:INFO: ERR  The Oracle Management Server (OMS) host and port specified via OMS_HOST and EM_UPLOAD_PORT is not available.  Pass in a valid hostname and port number for the OMS to successfully deploy the agent. 
2021-10-18_15-02-21:INFO: EXIT CODE1
2021-10-18_15-02-21:INFO:InvocationTargetException Exception
2021-10-18_15-02-21:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:2869)
        at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:49)
        at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
        at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
Caused by: CommandException: err:  The Oracle Management Server (OMS) host and port specified via OMS_HOST and EM_UPLOAD_PORT is not available.  Pass in a valid hostname and port number for the OMS to successfully deploy the agent.  out: null exitcode: 1
 stacktrace: 
null
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1662)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractiveUsingRunAs(DeployerOps.java:1310)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractiveUsingRunAs(DeployerOps.java:1198)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:905)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:859)
        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall13c(BaseDeployerOps.java:1097)
        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doInstall(BaseDeployerOps.java:844)
        ... 8 more

2021-10-18_15-02-21:INFO:=========Command Exception :错误消息: The Oracle Management Server (OMS) host and port specified via OMS_HOST and EM_UPLOAD_PORT is not available.  Pass in a valid hostname and port number for the OMS to successfully deploy the agent. <br><br> 退出代码 :1
2021-10-18_15-02-21:INFO:Updating Action Installwith Status FAILED and error Message :错误消息: The Oracle Management Server (OMS) host and port specified via OMS_HOST and EM_UPLOAD_PORT is not available.  Pass in a valid hostname and port number for the OMS to successfully deploy the agent. <br><br> 退出代码 :1 and problem 在主机 Nginx01 上执行命令 cd /u01/app/oem13c/agent/ADATMP_2021-10-18_14-29-46-PM;/u01/app/oem13c/agent/ADATMP_2021-10-18_14-29-46-PM/agentDeploy.sh -ignorePrereqs ORACLE_HOSTNAME=Nginx01 AGENT_BASE_DIR=/u01/app/oem13c/agent OMS_HOST=oem13c EM_UPLOAD_PORT=4903 AGENT_INSTANCE_HOME=/u01/app/oem13c/agent/agent_inst b_doDiscovery=false START_AGENT=false b_forceInstCheck=true -force AGENT_PORT=3872 失败 and recommendation 修复错误的原因并重试此操作
2021-10-18_15-02-21:INFO:=================action status is not empty FAILED
2021-10-18_15-02-21:INFO:Breaking since the action has failed
2021-10-18_15-02-21:INFO:Skipping action SecureAgent since some previous step has failed
2021-10-18_15-02-21:INFO:Skipping action RunRootSH since some previous step has failed
2021-10-18_15-02-21:INFO:Not Skipping action CollectLog since some previous step has failed
2021-10-18_15-02-21:INFO:sudo exists value true
2021-10-18_15-02-21:INFO:sudo privilege value true
2021-10-18_15-02-21:INFO:==SUDO EXISTS true SUDO PRIV true
2021-10-18_15-02-21:INFO:====CALLING ACTIONdoCollectLog
2021-10-18_15-02-21:INFO:updating status IN_PROGRESS for action name CollectLog with key: CollectLog
2021-10-18_15-02-21:INFO:Action 安装和配置 failed so copy cfgToolLogs directory
2021-10-18_15-02-21:INFO:Perform Copy CfgToolLogs :true
2021-10-18_15-02-21:INFO:Dir Name/u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs
2021-10-18_15-02-21:INFO:Running cmd /bin/sh -c 'if [ -d /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs ] ; then exit 0; else exit 1; fi' on node Nginx01
2021-10-18_15-02-21:INFO:Action description 在主机 Nginx01 上执行命令 /bin/sh -c 'if [ -d /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs ] ; then exit 0; else exit 1; fi' 
2021-10-18_15-02-21:INFO:Attempt :1 pty required false  with no inputs
2021-10-18_15-02-22:INFO:/bin/sh -c 'if [ -d /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs ] ; then exit 0; else exit 1; fi' execution was successful on host Nginx01
2021-10-18_15-02-22:INFO:output: 
2021-10-18_15-02-22:INFO:error-stream: 
2021-10-18_15-02-22:INFO:exit-code: 0
2021-10-18_15-02-22:INFO:Dir /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs exists on remote node and hence copying it
2021-10-18_15-02-22:INFO:Addparam scratchpath is :null
2021-10-18_15-02-22:INFO:Using root utl given by user /usr/bin/sudo -u %RUNAS% %COMMAND%
2021-10-18_15-02-22:INFO:Action description 在主机 Nginx01 上执行命令 /usr/bin/sudo -K 
2021-10-18_15-02-22:INFO:Attempt :1 pty required false  with no inputs
2021-10-18_15-02-24:INFO:/usr/bin/sudo -K execution was successful on host Nginx01
2021-10-18_15-02-24:INFO:output: 
2021-10-18_15-02-24:INFO:error-stream: 
2021-10-18_15-02-24:INFO:exit-code: 0
2021-10-18_15-02-24:INFO:pdp command with shell out /usr/bin/sudo -u oracle  /bin/sh -c '(cd /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs && /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip -q -r /tmp/remoteArchivesNginx012021-10-18_03-02-22-PM.zip * -x oui/*** OPatch/*** oracle_common/***)'
2021-10-18_15-02-24:INFO:Action description 在主机 Nginx01 上执行命令 /usr/bin/sudo -u oracle  /bin/sh -c '(cd /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs && /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip -q -r /tmp/remoteArchivesNginx012021-10-18_03-02-22-PM.zip * -x oui/*** OPatch/*** oracle_common/***)' 
2021-10-18_15-02-24:INFO:Attempt :1 pty required false  with inputs
2021-10-18_15-02-25:INFO:/usr/bin/sudo -u oracle  /bin/sh -c '(cd /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs && /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip -q -r /tmp/remoteArchivesNginx012021-10-18_03-02-22-PM.zip * -x oui/*** OPatch/*** oracle_common/***)' execution failed on host Nginx01
2021-10-18_15-02-25:INFO: OUT null
2021-10-18_15-02-25:INFO: ERR /bin/sh: /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip: No such file or directory

2021-10-18_15-02-25:INFO: EXIT CODE127
2021-10-18_15-02-25:INFO: ACTION 在主机 Nginx01 上执行命令 (cd /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs && /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip -q -r /tmp/remoteArchivesNginx012021-10-18_03-02-22-PM.zip * -x oui/*** OPatch/*** oracle_common/***) 
2021-10-18_15-02-25:INFO:InvocationTargetException Exception
2021-10-18_15-02-25:INFO:Printing Exception :java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.executeActions(BaseDeployerOps.java:2869)
        at oracle.sysman.core.agentpush.ui.deployer.NewAgentDeployer.deploy(NewAgentDeployer.java:49)
        at oracle.sysman.core.agentpush.ui.deployfwk.DeploymentWorker.run(DeploymentWorker.java:26)
        at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
Caused by: CommandException: err: /bin/sh: /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip: No such file or directory
 out: null exitcode: 127
 stacktrace: 
null
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractive(DeployerOps.java:1662)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractiveUsingRunAs(DeployerOps.java:1310)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCommandOnNodeInteractiveUsingRunAs(DeployerOps.java:1186)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:907)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.executeCmdOnNode(DeployerOps.java:854)
        at oracle.sysman.core.agentpush.ui.deployer.DeployerOps.copyDirFromNode(DeployerOps.java:731)
        at oracle.sysman.core.agentpush.ui.deployer.BaseDeployerOps.doCollectLog(BaseDeployerOps.java:1916)
        ... 8 more

2021-10-18_15-02-25:INFO:=========Command Exception :错误消息:/bin/sh: /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip: No such file or directory
<br><br> 退出代码 :127
2021-10-18_15-02-25:INFO:Updating Action CollectLogwith Status FAILED and error Message :错误消息:/bin/sh: /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip: No such file or directory
<br><br> 退出代码 :127 and problem 在主机 Nginx01 上执行命令 (cd /u01/app/oem13c/agent/agent_13.3.0.0.0/cfgtoollogs && /u01/app/oem13c/agent/agent_13.3.0.0.0/bin/zip -q -r /tmp/remoteArchivesNginx012021-10-18_03-02-22-PM.zip * -x oui/*** OPatch/*** oracle_common/***)  失败 and recommendation 不可用

一共是两个报错抛出,搜索第一个报错关键字“The Oracle Management Server (OMS) host and port specified via OMS_HOST and EM_UPLOAD_PORT is not available.”,有mos文档:EM 12C, EM13c: Enterprise Manager Cloud Control Agent Silent Installation Fails while Validating OMS Host and Port (文档 ID 1368010.1)

根据文档,需要确认几个步骤:

1) OMS should be up and running

这个确认没问题。

2) ping <OMS_Hostname>

从需要监控的主机ping oem的机器没问题

3) From Agent machine, execute the below

wget http://<OMS_Hostname>:<EM_UPLOAD_PORT>/empbs/genwallet
or
wget https://<OMS_Hostname>:<EM_UPLOAD_PORT>/empbs/genwallet

      Anyone of the above should be able to connected to OMS machine.

这个是让你确认端口能不能通,日志里边有EM_UPLOAD_PORT=4903这个信息,我当时wget去尝试的结果没保存到,用telnet也没保存到。

不过这一步无论是wget或者telnet去测试端口4903都有问题。

联系网管走流程开通后就没问题了,连带着另外一个报错都没出现了。

问题4

以下路径不正确或未定义:“路径:/usr/bin/ssh(SSH_PATH),/usr/bin/scp(SCP_PATH)"。

英文报错关键字(专门mos搜的样板方便被百度到):

EM 12c: Agent Deployment on AIX fails with "Remote Validatons: Shell Path Validation Failed" (文档 ID 1466665.1)

Remote Validatons: Remote Path check Failed
Cause: The following paths are incorrect or not defined: "Path: /usr/bin/ssh (SSH_PATH), /usr/bin/scp (SCP_PATH)"
Recommendation: Check the property values in the following files in this order, ssPaths_.properties or sPaths.properties, in "/OMS_ORACLE_HOME/oui/prov/resources" directory.

 

日志差不多一样的提示报错就不贴了。

根据提示找不到/usr/bin/ssh和/usr/bin/scp,在目标机器上果然找不到。

which发现路径变为了:

/usr/local/ssh/bin/ssh

/usr/local/ssh/bin/scp

根据截图里边的建议,修改oem服务器上这个位置的文件(找到对应平台的ssPaths_<platform>.properties):

vi /u01/app/oem13c/middleware/oui/prov/resources/ssPaths_linuxx64.properties 
#SSH_PATH=/usr/bin/ssh
SSH_PATH=/usr/local/ssh/bin/ssh
#SCP_PATH=/usr/bin/scp
SCP_PATH=/usr/local/ssh/bin/scp

继续就不会报错了。

记得推送完后改回去。

问题5

错误消息:PROV-16011:java.net.ConnectException:Connection refused(Connection refused)

退出代码:0

我这里的原因是网络策略限制,oem使用scp传输文件到目标端上访问的是目标端的22端口,网络限制导致无法访问。

找网管提申请开通。

另外还可以先检查目标端防火墙,22端口是否处于监听状态等。

问题6

刚准备推送客户端直接就报初始化失败,没有其他额外的信息。

这个时候看日志!!!

在OMS的服务器上,位置通常是/u01/app/oem13c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2021-10-19_15-16-18-PM/applogs/nginx01_deploy.log 

根据基目录和推送时间更改路径。

看日志发现和问题4是一样的问题。

问题7

先决条件没法通过,还是要看日志。

日志内容:

2021-10-19_15-43-31:INFO:resultfile = /u01/app/oem13c/gc_inst/em/EMGC_OMS1/sysman/agentpush/2021-10-19_15-16-18-PM/prereqlogs/productprereq_logs/Nginx01/results/em_prereqs_results.xml
2021-10-19_15-43-31:INFO:DESCRIPTION:此先决条件将测试 Oracle 软件是否已经过当前操作系统的认证。 RESULT: PASSED RESULT TEXT: Expected result: One of enterprise-6,oracle-8,oracle-7,SuSE-11,SuSE-12,redhat-6,redhat-7
Actual Result: redhat-6
Check complete. The overall result of this check is: Passed
2021-10-19_15-43-31:INFO:DESCRIPTION:此先决条件将测试系统中是否有最低要求的程序包。 RESULT: WARNING RESULT TEXT: Checking for make-3.81; found make-1:3.81-23.el6-x86_64.       Passed
Checking for binutils-2.20; found binutils-2.20.51.0.2-5.46.el6-x86_64. Passed
Checking for gcc-4.1.1; found gcc-4.4.7-18.el6-x86_64.  Passed
Checking for libaio-0.3.106; Not found. Failed <<<<
Checking for glibc-common-2.3.4; found glibc-common-2.12-1.209.el6-x86_64.      Passed
Checking for libstdc++-4.1.1; found libstdc++-4.4.7-18.el6-x86_64.      Passed
Checking for sysstat-5.0.5; found sysstat-9.0.4-33.el6-x86_64.  Passed
Check complete. The overall result of this check is: Failed <<<<

目标机器上:/u01/app/oem13c/agent/ADATMP_2021-10-19_15-16-18-PM/prereqlogs/oraInstall2021-10-19_03-27-07PM.out
Check complete: Passed
========================================================
Performing check for Packages_agent
Are the required packages installed on the current operating system?
Checking for make-3.81; found make-1:3.81-23.el6-x86_64.        Passed
Checking for binutils-2.20; found binutils-2.20.51.0.2-5.46.el6-x86_64. Passed
Checking for gcc-4.1.1; found gcc-4.4.7-18.el6-x86_64.  Passed
Checking for libaio-0.3.106; Not found. Failed <<<<
Checking for glibc-common-2.3.4; found glibc-common-2.12-1.209.el6-x86_64.      Passed
Checking for libstdc++-4.1.1; found libstdc++-4.4.7-18.el6-x86_64.      Passed
Checking for sysstat-5.0.5; found sysstat-9.0.4-33.el6-x86_64.  Passed
Check complete. The overall result of this check is: Failed <<<<

将缺少的包安装,重试即可。

原文地址:https://www.cnblogs.com/PiscesCanon/p/15425755.html