运维联盟俱乐部

 找回密码
 立即注册
查看: 2435|回复: 0

[日常管理] emagent secure时报faild

[复制链接]
  • TA的每日心情
    开心
    2023-8-9 11:05
  • 发表于 2020-11-12 08:48:22 | 显示全部楼层 |阅读模式
    安装emagent得前提是oms server和agent得两端得/etc/hosts要添加主机名解析,否侧就是下下面的报错:
    按装报错:
    1. rm: /oracle/app/oracle/emagent/agent_13.4.0.0.0/lib/libirc.a: No such file or directory
    2. cp: /oracle/app/oracle/emagent/agent_13.4.0.0.0/sysman/install/libirc.a: No such file or directory
    3. chmod: /oracle/app/oracle/emagent/agent_13.4.0.0.0/lib/libirc.a: No such file or directory
    4. Finished post install
    5. Plugin txt:
    6. Inside if ,  is empty
    7. oracle.sysman.oh|13.4.0.0.0| |agentPlugin
    8. oracle.sysman.oh|13.4.0.0.0| |discoveryPlugin
    9. /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  
    10. /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
    11. The AgentFreshInstaller is starting now
    12. Oraclehome : ../oracle/app/oracle/emagent/agent_13.4.0.0.0
    13. InstanceHome : /oracle/app/oracle/emagent/agent_inst
    14. Agent Base Directory : /oracle/app/oracle/emagent
    15. The oraclehome /oracle/app/oracle/emagent/agent_13.4.0.0.0
    16. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    17. INFO: /oracle/app/oracle/emagent/agent_13.4.0.0.0
    18. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    19. INFO: /oracle/app/oracle/emagent/agent_inst
    20. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    21. INFO: /oracle/app/oracle/emagent
    22. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    23. INFO: RESPONSE_FILE=/oracle/app/oracle/emagent/agentInstall.rsp
    24. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    25. INFO: AGENT_BASE_DIR=/oracle/app/oracle/emagent
    26. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    27. INFO: RESPONSE_FILE=/oracle/app/oracle/emagent/agent.rsp
    28. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    29. INFO: -ignorePrereqs
    30. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    31. INFO: OMS_HOST=oem13
    32. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    33. INFO: EM_UPLOAD_PORT=4903
    34. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    35. INFO: b_startAgent=true
    36. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    37. INFO: ORACLE_HOSTNAME=fxyjdb
    38. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    39. INFO: EM_INSTALL_TYPE="AGENT"
    40. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    41. INFO: ORACLE_HOME=/oracle/app/oracle/emagent/agent_13.4.0.0.0
    42. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    43. INFO: OMS_HOST=oem13
    44. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    45. INFO: EM_UPLOAD_PORT=4903
    46. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    47. INFO: b_startAgent=true
    48. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    49. INFO: ORACLE_HOSTNAME=fxyjdb
    50. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    51. INFO: EM_INSTALL_TYPE="AGENT"
    52. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    53. INFO: ORACLE_HOME=/oracle/app/oracle/emagent/agent_13.4.0.0.0
    54. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    55. INFO: RESPONSE_FILE=/oracle/app/oracle/emagent/agent.rsp
    56. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    57. INFO: EMCTLCFG_MODE=NONE
    58. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    59. INFO: OMS_HOST=oem13
    60. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    61. INFO: EM_UPLOAD_PORT=4903
    62. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    63. INFO: b_startAgent=true
    64. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    65. INFO: ORACLE_HOSTNAME=fxyjdb
    66. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    67. INFO: EM_INSTALL_TYPE="AGENT"
    68. Nov 10, 2020 4:01:43 PM oracle.sysman.agent.installer.AgentInstaller parseResponseFile
    69. INFO: ORACLE_HOME=/oracle/app/oracle/emagent/agent_13.4.0.0.0
    70. log loction is setlog
    71. Writing the following contents into /oracle/app/oracle/emagent/agent_13.4.0.0.0/install/oragchomelist
    72. /oracle/app/oracle/emagent/agent_13.4.0.0.0:/oracle/app/oracle/emagent/agent_inst
    73. Creating directory /oracle/app/oracle/emagent/agent_13.4.0.0.0/install/tmp completed successfully.
    74. File /etc/oragchomelist exists.
    75. File /etc/oragchomelist is writable.
    76. Index :-1 for line : /oracle/app/oracle/agent/core/12.1.0.3.0:/oracle/app/oracle/agent/agent_inst
    77. Appending the following contents : /oracle/app/oracle/emagent/agent_13.4.0.0.0:/oracle/app/oracle/emagent/agent_inst to file:/etc/oragchomelist
    78. The value of chainInstall : false forceConfigure : false skipValidation : false
    79. Validating oms host & port with url: https://oem13:4903/empbs/genwallet
    80. Validating oms host & port with url: http://oem13:4903/empbs/genwallet
    81. The status is 0
    82. Validated the oms host and port :- oem13----4903
    83. Getting Inet Addresses for host fxyjdb
    84. Getting Inet Addresses for host fxyjdb
    85. ** Agent Port Check completed successfully.**
    86. Validated the agent port :- ----1830
    87. shared agent value is :false
    88. Agent configuration has failed
    89. /oracle/app/oracle/emagent/agent_13.4.0.0.0/cfgtoollogs/agentDeploy/agentDeploy_2020-11-10_16-01-43-PM.log
    90. Waiting for agent targets to get promoted...
    91. Waiting for agent targets to get promoted...
    92. Waiting for agent targets to get promoted...
    93. Waiting for agent targets to get promoted...
    94. Waiting for agent targets to get promoted...
    95. Waiting for agent targets to get promoted...
    96. Waiting for agent targets to get promoted...
    97. Waiting for agent targets to get promoted...
    98. Waiting for agent targets to get promoted...
    99. Waiting for agent targets to get promoted...
    100. Waiting for agent targets to get promoted...
    101. Waiting for agent targets to get promoted...
    102. Waiting for agent targets to get promoted...
    103. Waiting for agent targets to get promoted...
    104. Waiting for agent targets to get promoted...
    105. Waiting for agent targets to get promoted...
    106. Waiting for agent targets to get promoted...
    107. Waiting for agent targets to get promoted...
    108. Waiting for agent targets to get promoted...
    109. Waiting for agent targets to get promoted...
    110. 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.
    111. Fix the cause of the error and retry the operation (or) manually run the following commands on the remote host
    112. /oracle/app/oracle/emagent/agent_inst/bin/emctl start agent
    113. /oracle/app/oracle/emagent/agent_inst/bin/emctl config agent addinternaltargets
    复制代码



    secure.log报错:

    1. 2020-11-11 17:10:03,397 [main] INFO  agent.SecureAgentCmd main.320 - emdWalletSrcUrl: https://10.1.6.140:4903/em/wallets/emd
    2. 2020-11-11 17:10:03,404 [main] INFO  agent.SecureAgentCmd secureAgent.413 - Querying HTTPS Upload Port of the OMS
    3. 2020-11-11 17:10:03,404 [main] INFO  agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
    4. 2020-11-11 17:10:04,143 [main] INFO  agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
    5. 2020-11-11 17:10:04,144 [main] INFO  agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
    6. 2020-11-11 17:10:04,144 [main] INFO  agent.SecureAgentCmd getResponseContent.1032 - Response body: 4903
    7. 2020-11-11 17:10:04,144 [main] INFO  agent.SecureAgentCmd getResponseHeader.1008 - Response Status Code: 200
    8. 2020-11-11 17:10:04,145 [main] INFO  agent.SecureAgentCmd queryOMSHostAndPort.969 - OMS Secure Port:  4903
    9. 2020-11-11 17:10:04,145 [main] INFO  agent.SecureAgentCmd secureAgent.435 - Requesting an Oracle Wallet and Agent Key from the OMS...
    10. 2020-11-11 17:10:04,147 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.538 - Performing INIT
    11. 2020-11-11 17:10:04,148 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.539 - Agent Host: jkdb1
    12. 2020-11-11 17:10:04,148 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.540 - Agent Port: 1830
    13. 2020-11-11 17:10:04,148 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.541 - Agent Version: 13.4.0.0.0
    14. 2020-11-11 17:10:04,148 [main] INFO  agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
    15. 2020-11-11 17:10:04,197 [main] INFO  agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
    16. 2020-11-11 17:10:04,197 [main] INFO  agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
    17. 2020-11-11 17:10:04,199 [main] INFO  agent.SecureAgentCmd getResponseContent.1032 - Response body: -4653454881761951079
    18. 2020-11-11 17:10:04,199 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.567 - INIT operation succeded
    19. 2020-11-11 17:10:04,200 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.577 - Performing AUTH
    20. 2020-11-11 17:10:04,200 [main] INFO  agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
    21. 2020-11-11 17:10:04,754 [main] INFO  agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
    22. 2020-11-11 17:10:04,755 [main] INFO  agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
    23. 2020-11-11 17:10:04,755 [main] INFO  agent.SecureAgentCmd getResponseContent.1032 - Response body: AUTHOK
    24. 2020-11-11 17:10:04,755 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.600 - AUTH operation succeded
    25. 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
    26. 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
    27. 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
    28. 2020-11-11 17:10:04,756 [main] INFO  agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/ewallet.p12
    29. 2020-11-11 17:10:04,789 [main] INFO  agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
    30. 2020-11-11 17:10:04,790 [main] INFO  agent.SecureAgentCmd storeAgentKey.1128 - Writing agent key in repoconn.ora
    31. 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
    32. 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
    33. 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
    34. 2020-11-11 17:10:04,797 [main] INFO  agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64LocalCertificate.txt
    35. 2020-11-11 17:10:04,821 [main] INFO  agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
    36. 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
    37. 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
    38. 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
    39. 2020-11-11 17:10:04,823 [main] INFO  agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64InternetCertificate.txt
    40. 2020-11-11 17:10:04,860 [main] INFO  agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
    41. 2020-11-11 17:10:04,865 [main] INFO  agent.SecureAgentCmd secureAgent.467 - Finding CN in OMS cert to form UploadURL
    42. 2020-11-11 17:10:04,865 [main] INFO  agent.SecureAgentCmd secureAgent.475 - Hostname to be used to form UploadURL: oem13
    43. 2020-11-11 17:10:04,865 [main] INFO  agent.SecureAgentCmd secureAgent.479 - Computed Upload url :https://oem13:4903/empbs/upload
    44. 2020-11-11 17:10:04,865 [main] INFO  agent.SecureAgentCmd secureAgent.480 - Checking if HTTPS Upload URL is accessible from the agent...
    45. 2020-11-11 17:10:04,865 [main] INFO  agent.SecureAgentCmd secureAgent.481 - Accessing: https://oem13:4903/empbs/upload
    46. 2020-11-11 17:10:04,879 [main] ERROR agent.SecureAgentCmd main.389 - Failed to secure the Agent:
    47. java.net.UnknownHostException: oem13: Temporary failure in name resolution
    48.         at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    49.         at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
    50.         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
    51.         at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
    52.         at java.net.InetAddress.getAllByName(InetAddress.java:1193)
    53.         at java.net.InetAddress.getAllByName(InetAddress.java:1127)
    54.         at HTTPClient.HTTPConnection$25.run(HTTPConnection.java:6066)
    55.         at java.security.AccessController.doPrivileged(Native Method)
    56.         at HTTPClient.HTTPConnection.privilegedInetAddressGetAllByName(HTTPConnection.java:6063)
    57.         at HTTPClient.HTTPConnection.getSocketWithConnectTimeout(HTTPConnection.java:3924)
    58.         at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3873)
    59.         at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4668)
    60.         at HTTPClient.HTTPConnection.access$3500(HTTPConnection.java:216)
    61.         at HTTPClient.HTTPConnection$12.run(HTTPConnection.java:4642)
    62.         at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:1083)
    63.         at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5707)
    64.         at HTTPClient.HTTPConnection.connect(HTTPConnection.java:4637)
    65.         at oracle.sysman.emctl.secure.agent.SecureAgentCmd.checkUpload(SecureAgentCmd.java:701)
    66.         at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:483)
    67.         at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:367)
    68. [11-11-2020 17:10:04] USERINFO ::Securing agent...   Failed.
    69. [11-11-2020 17:10:08] USERINFO ::Agent is already stopped...   Done.
    70. [11-11-2020 17:10:08] USERINFO ::Securing agent...   Started.
    71. 2020-11-11 17:10:12,360 [main] INFO  agent.SecureAgentCmd main.320 - emdWalletSrcUrl: https://10.1.6.140:4903/em/wallets/emd
    72. 2020-11-11 17:10:12,366 [main] INFO  agent.SecureAgentCmd secureAgent.413 - Querying HTTPS Upload Port of the OMS
    73. 2020-11-11 17:10:12,366 [main] INFO  agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
    74. 2020-11-11 17:10:12,766 [main] INFO  agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
    75. 2020-11-11 17:10:12,766 [main] INFO  agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
    76. 2020-11-11 17:10:12,766 [main] INFO  agent.SecureAgentCmd getResponseContent.1032 - Response body: 4903
    77. 2020-11-11 17:10:12,766 [main] INFO  agent.SecureAgentCmd getResponseHeader.1008 - Response Status Code: 200
    78. 2020-11-11 17:10:12,767 [main] INFO  agent.SecureAgentCmd queryOMSHostAndPort.969 - OMS Secure Port:  4903
    79. 2020-11-11 17:10:12,767 [main] INFO  agent.SecureAgentCmd secureAgent.435 - Requesting an Oracle Wallet and Agent Key from the OMS...
    80. 2020-11-11 17:10:12,768 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.538 - Performing INIT
    81. 2020-11-11 17:10:12,768 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.539 - Agent Host: jkdb1
    82. 2020-11-11 17:10:12,769 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.540 - Agent Port: 1830
    83. 2020-11-11 17:10:12,769 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.541 - Agent Version: 13.4.0.0.0
    84. 2020-11-11 17:10:12,769 [main] INFO  agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
    85. 2020-11-11 17:10:12,805 [main] INFO  agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
    86. 2020-11-11 17:10:12,805 [main] INFO  agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
    87. 2020-11-11 17:10:12,806 [main] INFO  agent.SecureAgentCmd getResponseContent.1032 - Response body: -2487114375686118266
    88. 2020-11-11 17:10:12,806 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.567 - INIT operation succeded
    89. 2020-11-11 17:10:12,807 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.577 - Performing AUTH
    90. 2020-11-11 17:10:12,807 [main] INFO  agent.SecureAgentCmd get.980 - Opening: https://10.1.6.140:4903/empbs/genwallet
    91. 2020-11-11 17:10:12,903 [main] INFO  agent.SecureAgentCmd getResponseContent.1022 - Response Status Code: 200
    92. 2020-11-11 17:10:12,903 [main] INFO  agent.SecureAgentCmd getResponseContent.1031 - RESPONSE_STATUS header: OK
    93. 2020-11-11 17:10:12,903 [main] INFO  agent.SecureAgentCmd getResponseContent.1032 - Response body: AUTHOK
    94. 2020-11-11 17:10:12,903 [main] INFO  agent.SecureAgentCmd secureAgentWithOMS.600 - AUTH operation succeded
    95. 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
    96. 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
    97. 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
    98. 2020-11-11 17:10:12,904 [main] INFO  agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/ewallet.p12
    99. 2020-11-11 17:10:12,936 [main] INFO  agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
    100. 2020-11-11 17:10:12,937 [main] INFO  agent.SecureAgentCmd storeAgentKey.1128 - Writing agent key in repoconn.ora
    101. 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
    102. 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
    103. 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
    104. 2020-11-11 17:10:12,944 [main] INFO  agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64LocalCertificate.txt
    105. 2020-11-11 17:10:12,977 [main] INFO  agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
    106. 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
    107. 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
    108. 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
    109. 2020-11-11 17:10:12,979 [main] INFO  agent.SecureAgentCmd downloadFile.1239 - download pathAndQuery /empbs/wallets/agent.jkdb1/b64InternetCertificate.txt
    110. 2020-11-11 17:10:13,014 [main] INFO  agent.SecureAgentCmd downloadFile.1242 - Response Status Code: 200
    111. 2020-11-11 17:10:13,021 [main] INFO  agent.SecureAgentCmd secureAgent.467 - Finding CN in OMS cert to form UploadURL
    112. 2020-11-11 17:10:13,021 [main] INFO  agent.SecureAgentCmd secureAgent.475 - Hostname to be used to form UploadURL: oem13
    113. 2020-11-11 17:10:13,021 [main] INFO  agent.SecureAgentCmd secureAgent.479 - Computed Upload url :https://oem13:4903/empbs/upload
    114. 2020-11-11 17:10:13,021 [main] INFO  agent.SecureAgentCmd secureAgent.480 - Checking if HTTPS Upload URL is accessible from the agent...
    115. 2020-11-11 17:10:13,022 [main] INFO  agent.SecureAgentCmd secureAgent.481 - Accessing: https://oem13:4903/empbs/upload
    116. 2020-11-11 17:10:13,034 [main] ERROR agent.SecureAgentCmd main.389 - Failed to secure the Agent:
    117. java.net.UnknownHostException: oem13: Temporary failure in name resolution
    118.         at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
    119.         at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929)
    120.         at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324)
    121.         at java.net.InetAddress.getAllByName0(InetAddress.java:1277)
    122.         at java.net.InetAddress.getAllByName(InetAddress.java:1193)
    123.         at java.net.InetAddress.getAllByName(InetAddress.java:1127)
    124.         at HTTPClient.HTTPConnection$25.run(HTTPConnection.java:6066)
    125.         at java.security.AccessController.doPrivileged(Native Method)
    126.         at HTTPClient.HTTPConnection.privilegedInetAddressGetAllByName(HTTPConnection.java:6063)
    127.         at HTTPClient.HTTPConnection.getSocketWithConnectTimeout(HTTPConnection.java:3924)
    128.         at HTTPClient.HTTPConnection.getSocket(HTTPConnection.java:3873)
    129.         at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4668)
    130.         at HTTPClient.HTTPConnection.access$3500(HTTPConnection.java:216)
    131.         at HTTPClient.HTTPConnection$12.run(HTTPConnection.java:4642)
    132.         at HTTPClient.HttpClientConfiguration.doAction(HttpClientConfiguration.java:1083)
    133.         at HTTPClient.HTTPConnection.doAction(HTTPConnection.java:5707)
    134.         at HTTPClient.HTTPConnection.connect(HTTPConnection.java:4637)
    135.         at oracle.sysman.emctl.secure.agent.SecureAgentCmd.checkUpload(SecureAgentCmd.java:701)
    136.         at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:483)
    137.         at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:367)
    138. [11-11-2020 17:10:13] USERINFO ::Securing agent...   Failed.
    复制代码




    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    运维联盟俱乐部 ( 冀ICP备19036648号 )

    GMT+8, 2024-5-17 11:59 , Processed in 0.047866 second(s), 21 queries , Gzip On.

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表