TA的每日心情 | 开心 2023-8-9 11:05 |
---|
|
安装emagent得前提是oms server和agent得两端得/etc/hosts要添加主机名解析,否侧就是下下面的报错:
按装报错:
- rm: /oracle/app/oracle/emagent/agent_13.4.0.0.0/lib/libirc.a: No such file or directory
- cp: /oracle/app/oracle/emagent/agent_13.4.0.0.0/sysman/install/libirc.a: No such file or directory
- chmod: /oracle/app/oracle/emagent/agent_13.4.0.0.0/lib/libirc.a: No such file or directory
- Finished post install
- Plugin txt:
- Inside if , is empty
- oracle.sysman.oh|13.4.0.0.0| |agentPlugin
- oracle.sysman.oh|13.4.0.0.0| |discoveryPlugin
- /oracle/app/oracle/emagent/agent_13.4.0.0.0/oracle_common/jdk/jre/bin/java -classpath /oracle/app/oracle/emagent/agent_13.4.0.0.0/jlib/agentInstaller.jar:/oracle/app/oracle/emagent/agent_13.4.0.0.0/oui/modules/OraInstaller.jar:/oracle/app/oracle/emagent/agent_13.4.0.0.0/oui/modules/installer-launch.jar oracle.sysman.agent.installer.AgentPluginInstaller /oracle/app/oracle/emagent/agent_13.4.0.0.0 /oracle/app/oracle/emagent/plugins
- /oracle/app/oracle/emagent/agent_13.4.0.0.0/oracle_common/jdk/jre/bin/java -classpath /oracle/app/oracle/emagent/agent_13.4.0.0.0/oui/modules/OraInstaller.jar:/oracle/app/oracle/emagent/agent_13.4.0.0.0/oui/modules/emCfg.jar:/oracle/app/oracle/emagent/agent_13.4.0.0.0/jlib/agentInstaller.jar oracle.sysman.agent.installer.AgentFreshInstaller /oracle/app/oracle/emagent/agent_13.4.0.0.0 /oracle/app/oracle/emagent/agent_inst /oracle/app/oracle/emagent RESPONSE_FILE=/oracle/app/oracle/emagent/agentInstall.rsp $args
- The AgentFreshInstaller is starting now
- Oraclehome : ../oracle/app/oracle/emagent/agent_13.4.0.0.0
- InstanceHome : /oracle/app/oracle/emagent/agent_inst
- Agent Base Directory : /oracle/app/oracle/emagent
- The oraclehome /oracle/app/oracle/emagent/agent_13.4.0.0.0
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: /oracle/app/oracle/emagent/agent_13.4.0.0.0
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: /oracle/app/oracle/emagent/agent_inst
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: /oracle/app/oracle/emagent
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: RESPONSE_FILE=/oracle/app/oracle/emagent/agentInstall.rsp
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: AGENT_BASE_DIR=/oracle/app/oracle/emagent
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: RESPONSE_FILE=/oracle/app/oracle/emagent/agent.rsp
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: -ignorePrereqs
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: OMS_HOST=oem13
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: EM_UPLOAD_PORT=4903
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: b_startAgent=true
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: ORACLE_HOSTNAME=fxyjdb
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: EM_INSTALL_TYPE="AGENT"
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: ORACLE_HOME=/oracle/app/oracle/emagent/agent_13.4.0.0.0
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: OMS_HOST=oem13
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: EM_UPLOAD_PORT=4903
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: b_startAgent=true
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: ORACLE_HOSTNAME=fxyjdb
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: EM_INSTALL_TYPE="AGENT"
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: ORACLE_HOME=/oracle/app/oracle/emagent/agent_13.4.0.0.0
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: RESPONSE_FILE=/oracle/app/oracle/emagent/agent.rsp
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: EMCTLCFG_MODE=NONE
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: OMS_HOST=oem13
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: EM_UPLOAD_PORT=4903
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: b_startAgent=true
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: ORACLE_HOSTNAME=fxyjdb
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: EM_INSTALL_TYPE="AGENT"
- Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
- INFO: ORACLE_HOME=/oracle/app/oracle/emagent/agent_13.4.0.0.0
- log loction is setlog
- Writing the following contents into /oracle/app/oracle/emagent/agent_13.4.0.0.0/install/oragchomelist
- /oracle/app/oracle/emagent/agent_13.4.0.0.0:/oracle/app/oracle/emagent/agent_inst
- Creating directory /oracle/app/oracle/emagent/agent_13.4.0.0.0/install/tmp completed successfully.
- File /etc/oragchomelist exists.
- File /etc/oragchomelist is writable.
- Index :-1 for line : /oracle/app/oracle/agent/core/12.1.0.3.0:/oracle/app/oracle/agent/agent_inst
- Appending the following contents : /oracle/app/oracle/emagent/agent_13.4.0.0.0:/oracle/app/oracle/emagent/agent_inst to file:/etc/oragchomelist
- The value of chainInstall : false forceConfigure : false skipValidation : false
- Validating oms host & port with url: https://oem13:4903/empbs/genwallet
- Validating oms host & port with url: http://oem13:4903/empbs/genwallet
- The status is 0
- Validated the oms host and port :- oem13----4903
- Getting Inet Addresses for host fxyjdb
- Getting Inet Addresses for host fxyjdb
- ** Agent Port Check completed successfully.**
- Validated the agent port :- ----1830
- shared agent value is :false
- Agent configuration has failed
- /oracle/app/oracle/emagent/agent_13.4.0.0.0/cfgtoollogs/agentDeploy/agentDeploy_2020-11-10_16-01-43-PM.log
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Waiting for agent targets to get promoted...
- Promoting agent and its related targets to Management Service failed probably due to target type meta version present on the agent is not present on the OMS.Make sure that the plug-in version deployed on agents is the same as that of the version on the OMS. Also, the agent should be on the same bundle patch version as that of the OMS.For more details, check <AGENT_INST>/sysman/log/gcagent.log on agent and emoms_pbs.log on the OMS.
- Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
- /oracle/app/oracle/emagent/agent_inst/bin/emctl start agent
- /oracle/app/oracle/emagent/agent_inst/bin/emctl config agent addinternaltargets
复制代码
secure.log报错:
- 2020-11-11 17:10:03,397 [main] INFO agent.SecureAgentCmd main.320 - emdWalletSrcUrl: https://10.1.6.140:4903/em/wallets/emd
- 2020-11-11 17:10:03,404 [main] INFO agent.SecureAgentCmd secureAgent.413 - Querying HTTPS Upload Port of the OMS
- 2020-11-11 17:10:03,404 [main] INFO agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
- 2020-11-11 17:10:04,143 [main] INFO agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
- 2020-11-11 17:10:04,144 [main] INFO agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
- 2020-11-11 17:10:04,144 [main] INFO agent.SecureAgentCmd getResponseContent.1032 - Response body: 4903
- 2020-11-11 17:10:04,144 [main] INFO agent.SecureAgentCmd getResponseHeader.1008 - Response Status Code: 200
- 2020-11-11 17:10:04,145 [main] INFO agent.SecureAgentCmd queryOMSHostAndPort.969 - OMS Secure Port: 4903
- 2020-11-11 17:10:04,145 [main] INFO agent.SecureAgentCmd secureAgent.435 - Requesting an Oracle Wallet and Agent Key from the OMS...
- 2020-11-11 17:10:04,147 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.538 - Performing INIT
- 2020-11-11 17:10:04,148 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.539 - Agent Host: jkdb1
- 2020-11-11 17:10:04,148 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.540 - Agent Port: 1830
- 2020-11-11 17:10:04,148 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.541 - Agent Version: 13.4.0.0.0
- 2020-11-11 17:10:04,148 [main] INFO agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
- 2020-11-11 17:10:04,197 [main] INFO agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
- 2020-11-11 17:10:04,197 [main] INFO agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
- 2020-11-11 17:10:04,199 [main] INFO agent.SecureAgentCmd getResponseContent.1032 - Response body: -4653454881761951079
- 2020-11-11 17:10:04,199 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.567 - INIT operation succeded
- 2020-11-11 17:10:04,200 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.577 - Performing AUTH
- 2020-11-11 17:10:04,200 [main] INFO agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
- 2020-11-11 17:10:04,754 [main] INFO agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
- 2020-11-11 17:10:04,755 [main] INFO agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
- 2020-11-11 17:10:04,755 [main] INFO agent.SecureAgentCmd getResponseContent.1032 - Response body: AUTHOK
- 2020-11-11 17:10:04,755 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.600 - AUTH operation succeded
- 2020-11-11 17:10:04,755 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.639 - Downloading from https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/ewallet.p12 to /home/oracle/app/emagent/agent_inst/sysman/config/server/ewallet.p12
- 2020-11-11 17:10:04,755 [main] INFO agent.SecureAgentCmd downloadFile.1209 - Download URL source: https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/ewallet.p12
- 2020-11-11 17:10:04,755 [main] INFO agent.SecureAgentCmd downloadFile.1210 - Download destination: /home/oracle/app/emagent/agent_inst/sysman/config/server/ewallet.p12
- 2020-11-11 17:10:04,756 [main] INFO agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/ewallet.p12
- 2020-11-11 17:10:04,789 [main] INFO agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
- 2020-11-11 17:10:04,790 [main] INFO agent.SecureAgentCmd storeAgentKey.1128 - Writing agent key in repoconn.ora
- 2020-11-11 17:10:04,797 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.648 - Downloading from https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64LocalCertificate.txt to /home/oracle/app/emagent/agent_inst/sysman/config/b64LocalCertificate.txt
- 2020-11-11 17:10:04,797 [main] INFO agent.SecureAgentCmd downloadFile.1209 - Download URL source: https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64LocalCertificate.txt
- 2020-11-11 17:10:04,797 [main] INFO agent.SecureAgentCmd downloadFile.1210 - Download destination: /home/oracle/app/emagent/agent_inst/sysman/config/b64LocalCertificate.txt
- 2020-11-11 17:10:04,797 [main] INFO agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64LocalCertificate.txt
- 2020-11-11 17:10:04,821 [main] INFO agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
- 2020-11-11 17:10:04,822 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.653 - Downloading from https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64InternetCertificate.txt to /home/oracle/app/emagent/agent_inst/sysman/config/b64InternetCertificate.txt
- 2020-11-11 17:10:04,822 [main] INFO agent.SecureAgentCmd downloadFile.1209 - Download URL source: https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64InternetCertificate.txt
- 2020-11-11 17:10:04,822 [main] INFO agent.SecureAgentCmd downloadFile.1210 - Download destination: /home/oracle/app/emagent/agent_inst/sysman/config/b64InternetCertificate.txt
- 2020-11-11 17:10:04,823 [main] INFO agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64InternetCertificate.txt
- 2020-11-11 17:10:04,860 [main] INFO agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
- 2020-11-11 17:10:04,865 [main] INFO agent.SecureAgentCmd secureAgent.467 - Finding CN in OMS cert to form UploadURL
- 2020-11-11 17:10:04,865 [main] INFO agent.SecureAgentCmd secureAgent.475 - Hostname to be used to form UploadURL: oem13
- 2020-11-11 17:10:04,865 [main] INFO agent.SecureAgentCmd secureAgent.479 - Computed Upload url :https://oem13:4903/empbs/upload
- 2020-11-11 17:10:04,865 [main] INFO agent.SecureAgentCmd secureAgent.480 - Checking if HTTPS Upload URL is accessible from the agent...
- 2020-11-11 17:10:04,865 [main] INFO agent.SecureAgentCmd secureAgent.481 - Accessing: https://oem13:4903/empbs/upload
- 2020-11-11 17:10:04,879 [main] ERROR agent.SecureAgentCmd main.389 - Failed to secure the Agent:
- java.net.UnknownHostException: oem13: Temporary failure in name resolution
- at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
- at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
- at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
- at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
- at java.net.InetAddress.getAllByName(InetAddress.java:1193)
- at java.net.InetAddress.getAllByName(InetAddress.java:1127)
- at HTTPClient.HTTPConnection$25.run(HTTPConnection.java:6066)
- at java.security.AccessController.doPrivileged(Native Method)
- at HTTPClient.HTTPConnection.privilegedInetAddressGetAllByName(HTTPConnection.java:6063)
- at HTTPClient.HTTPConnection.getSocketWithConnectTimeout(HTTPConnection.java:3924)
- at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3873)
- at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4668)
- at HTTPClient.HTTPConnection.access$3500(HTTPConnection.java:216)
- at HTTPClient.HTTPConnection$12.run(HTTPConnection.java:4642)
- at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:1083)
- at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5707)
- at HTTPClient.HTTPConnection.connect(HTTPConnection.java:4637)
- at oracle.sysman.emctl.secure.agent.SecureAgentCmd.checkUpload(SecureAgentCmd.java:701)
- at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:483)
- at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:367)
- [11-11-2020 17:10:04] USERINFO ::Securing agent... Failed.
- [11-11-2020 17:10:08] USERINFO ::Agent is already stopped... Done.
- [11-11-2020 17:10:08] USERINFO ::Securing agent... Started.
- 2020-11-11 17:10:12,360 [main] INFO agent.SecureAgentCmd main.320 - emdWalletSrcUrl: https://10.1.6.140:4903/em/wallets/emd
- 2020-11-11 17:10:12,366 [main] INFO agent.SecureAgentCmd secureAgent.413 - Querying HTTPS Upload Port of the OMS
- 2020-11-11 17:10:12,366 [main] INFO agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
- 2020-11-11 17:10:12,766 [main] INFO agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
- 2020-11-11 17:10:12,766 [main] INFO agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
- 2020-11-11 17:10:12,766 [main] INFO agent.SecureAgentCmd getResponseContent.1032 - Response body: 4903
- 2020-11-11 17:10:12,766 [main] INFO agent.SecureAgentCmd getResponseHeader.1008 - Response Status Code: 200
- 2020-11-11 17:10:12,767 [main] INFO agent.SecureAgentCmd queryOMSHostAndPort.969 - OMS Secure Port: 4903
- 2020-11-11 17:10:12,767 [main] INFO agent.SecureAgentCmd secureAgent.435 - Requesting an Oracle Wallet and Agent Key from the OMS...
- 2020-11-11 17:10:12,768 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.538 - Performing INIT
- 2020-11-11 17:10:12,768 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.539 - Agent Host: jkdb1
- 2020-11-11 17:10:12,769 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.540 - Agent Port: 1830
- 2020-11-11 17:10:12,769 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.541 - Agent Version: 13.4.0.0.0
- 2020-11-11 17:10:12,769 [main] INFO agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
- 2020-11-11 17:10:12,805 [main] INFO agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
- 2020-11-11 17:10:12,805 [main] INFO agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
- 2020-11-11 17:10:12,806 [main] INFO agent.SecureAgentCmd getResponseContent.1032 - Response body: -2487114375686118266
- 2020-11-11 17:10:12,806 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.567 - INIT operation succeded
- 2020-11-11 17:10:12,807 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.577 - Performing AUTH
- 2020-11-11 17:10:12,807 [main] INFO agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
- 2020-11-11 17:10:12,903 [main] INFO agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
- 2020-11-11 17:10:12,903 [main] INFO agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
- 2020-11-11 17:10:12,903 [main] INFO agent.SecureAgentCmd getResponseContent.1032 - Response body: AUTHOK
- 2020-11-11 17:10:12,903 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.600 - AUTH operation succeded
- 2020-11-11 17:10:12,904 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.639 - Downloading from https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/ewallet.p12 to /home/oracle/app/emagent/agent_inst/sysman/config/server/ewallet.p12
- 2020-11-11 17:10:12,904 [main] INFO agent.SecureAgentCmd downloadFile.1209 - Download URL source: https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/ewallet.p12
- 2020-11-11 17:10:12,904 [main] INFO agent.SecureAgentCmd downloadFile.1210 - Download destination: /home/oracle/app/emagent/agent_inst/sysman/config/server/ewallet.p12
- 2020-11-11 17:10:12,904 [main] INFO agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/ewallet.p12
- 2020-11-11 17:10:12,936 [main] INFO agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
- 2020-11-11 17:10:12,937 [main] INFO agent.SecureAgentCmd storeAgentKey.1128 - Writing agent key in repoconn.ora
- 2020-11-11 17:10:12,944 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.648 - Downloading from https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64LocalCertificate.txt to /home/oracle/app/emagent/agent_inst/sysman/config/b64LocalCertificate.txt
- 2020-11-11 17:10:12,944 [main] INFO agent.SecureAgentCmd downloadFile.1209 - Download URL source: https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64LocalCertificate.txt
- 2020-11-11 17:10:12,944 [main] INFO agent.SecureAgentCmd downloadFile.1210 - Download destination: /home/oracle/app/emagent/agent_inst/sysman/config/b64LocalCertificate.txt
- 2020-11-11 17:10:12,944 [main] INFO agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64LocalCertificate.txt
- 2020-11-11 17:10:12,977 [main] INFO agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
- 2020-11-11 17:10:12,978 [main] INFO agent.SecureAgentCmd secureAgentWithOMS.653 - Downloading from https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64InternetCertificate.txt to /home/oracle/app/emagent/agent_inst/sysman/config/b64InternetCertificate.txt
- 2020-11-11 17:10:12,978 [main] INFO agent.SecureAgentCmd downloadFile.1209 - Download URL source: https://10.1.6.140:4903/empbs/wallets/agent.jkdb1/b64InternetCertificate.txt
- 2020-11-11 17:10:12,978 [main] INFO agent.SecureAgentCmd downloadFile.1210 - Download destination: /home/oracle/app/emagent/agent_inst/sysman/config/b64InternetCertificate.txt
- 2020-11-11 17:10:12,979 [main] INFO agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64InternetCertificate.txt
- 2020-11-11 17:10:13,014 [main] INFO agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
- 2020-11-11 17:10:13,021 [main] INFO agent.SecureAgentCmd secureAgent.467 - Finding CN in OMS cert to form UploadURL
- 2020-11-11 17:10:13,021 [main] INFO agent.SecureAgentCmd secureAgent.475 - Hostname to be used to form UploadURL: oem13
- 2020-11-11 17:10:13,021 [main] INFO agent.SecureAgentCmd secureAgent.479 - Computed Upload url :https://oem13:4903/empbs/upload
- 2020-11-11 17:10:13,021 [main] INFO agent.SecureAgentCmd secureAgent.480 - Checking if HTTPS Upload URL is accessible from the agent...
- 2020-11-11 17:10:13,022 [main] INFO agent.SecureAgentCmd secureAgent.481 - Accessing: https://oem13:4903/empbs/upload
- 2020-11-11 17:10:13,034 [main] ERROR agent.SecureAgentCmd main.389 - Failed to secure the Agent:
- java.net.UnknownHostException: oem13: Temporary failure in name resolution
- at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
- at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
- at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
- at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
- at java.net.InetAddress.getAllByName(InetAddress.java:1193)
- at java.net.InetAddress.getAllByName(InetAddress.java:1127)
- at HTTPClient.HTTPConnection$25.run(HTTPConnection.java:6066)
- at java.security.AccessController.doPrivileged(Native Method)
- at HTTPClient.HTTPConnection.privilegedInetAddressGetAllByName(HTTPConnection.java:6063)
- at HTTPClient.HTTPConnection.getSocketWithConnectTimeout(HTTPConnection.java:3924)
- at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3873)
- at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4668)
- at HTTPClient.HTTPConnection.access$3500(HTTPConnection.java:216)
- at HTTPClient.HTTPConnection$12.run(HTTPConnection.java:4642)
- at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:1083)
- at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5707)
- at HTTPClient.HTTPConnection.connect(HTTPConnection.java:4637)
- at oracle.sysman.emctl.secure.agent.SecureAgentCmd.checkUpload(SecureAgentCmd.java:701)
- at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:483)
- at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:367)
- [11-11-2020 17:10:13] USERINFO ::Securing agent... Failed.
复制代码
|
|