Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OMA 12c Installations - Failed to secure the Agent: peer not authenticated

bqpalmaJun 28 2012 — edited Jun 28 2012
Dear all.

After a lot OMA 12c installations I'm facing a new problem that I still can't figure out what's going on. I'm preparing a new server for trainning purposes and had just installed Red Hat Enterprise Linux Server release 5.8 (Tikanga).

Finishing this OS installation I'm trying install OMA 12c cos I'd like to have this server being monitored by my Oracle Enterprise Manager Cloud Control 12c Server via OMS. The problem I have is cos the installation goes through its processes and finishes asking to run root.sh script. But even though it finishing "well", the emctl upload agent and the command emctl pingOMS fail because OMA it's not able to communicate with the OMS server. Having a look at the log files I found that in the secure.log at $AGENT_HOME/sysman/log shows the error below saying that OMA could not be secured.


2008-08-01 12:33:03,925 [main] INFO agent.SecureAgentCmd downloadFile.1024 - Response Status Code: 200
2008-08-01 12:33:03,929 [main] INFO agent.SecureAgentCmd secureAgent.260 - Check if HTTPS Upload URL is accessible from the agent...
2008-08-01 12:33:03,929 [main] INFO agent.SecureAgentCmd secureAgent.261 - Accessing: https://nsaosv0369.localdomain:4901/empbs/upload
2008-08-01 12:33:03,967 [main] ERROR agent.SecureAgentCmd main.212 - Failed to secure the Agent:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificateChain(SSLSessionImpl.java:401)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.checkUpload(SecureAgentCmd.java:495)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.secureAgent(SecureAgentCmd.java:262)
at oracle.sysman.emctl.secure.agent.SecureAgentCmd.main(SecureAgentCmd.java:205)


The point I don't understand is cos I've got some servers being monitored by that OMS server using the same strings I passed to the sillent installation


./agentDeploy.sh AGENT_BASE_DIR="/app/oem12c/agentHome" OMS_HOST="nsaosv0369.localdomain" EM_UPLOAD_PORT="4901"
AGENT_REGISTRATION_PASSWORD="xxxxxxxxxx" AGENT_INSTANCE_HOME="/app/oem12c/agentHome" AGENT_PORT="3872" b_startAgent="true" ORACLE_HOSTNAME="nsaosv0109" s_agentHomeName="agent12gR1" EM_INSTALL_TYPE="AGENT"


The results for the emctl status agent are:

[oracle@nsaosv0109 bin]$ emctl status agent
Oracle Enterprise Manager 12c Cloud Control 12.1.0.1.0
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.1.0
OMS Version : (unknown)
Protocol Version : 12.1.0.1.0
Agent Home : /app/oem12c/agentHome/agent_inst
Agent Binaries : /app/oem12c/agentHome/core/12.1.0.1.0
Agent Process ID : 23038
Parent Process ID : 22972
Agent URL : http://nsaosv0109:3872/emd/main/
Repository URL : https://nsaosv0369.localdomain:4901/empbs/upload/
Started at : 2008-08-01 12:33:05
Started by user : oracle
Last Reload : (none)
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0
Number of XML files pending upload : 1
Size of XML files pending upload(MB) : 0
Available disk space on upload filesystem : 95.73%
Collection Status : Collections enabled
Last attempted heartbeat to OMS : 2008-08-01 12:52:08
Last successful heartbeat to OMS : (none)

---------------------------------------------------------------
Agent is Running and Ready


Could anyone help me out with this issue ?
Thanks in advance


Bruno Palma
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 26 2012
Added on Jun 28 2012
2 comments
6,438 views