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 <<<<

 

將缺少的包安裝,重試即可。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM