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!

OEM Agent started but will not secure or upload

693909Mar 31 2009 — edited Apr 6 2009
I've recently installed Grid 10.2.0.3 (with the hope of patching up to 10.2.0.4). Unfortunately the configuration assistant is failing on the agent configuration.

This is from the agent config files:

INFO: oracle.sysman.top.agent:Securing the agent
INFO: oracle.sysman.top.agent:Securing the agent...
INFO: oracle.sysman.top.agent:Executing Command: /opt/oracle/product/10.2.0.4/agent10g/bin/emctl secure agent
INFO: oracle.sysman.top.agent:Requested Operation Completed with Status = 4
INFO: oracle.sysman.top.agent:Requested Operation /opt/oracle/product/10.2.0.4/agent10g/bin/emctl secure agent has failed to perform with Status = 4
STDERR=

stty: standard input: Invalid argument
stty: standard input: Invalid argument
STDOUT=

Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent is already stopped... Done.
Securing agent... Started.
Requesting an HTTPS Upload URL from the OMS... Done.
Requesting an Oracle Wallet and Agent Key from the OMS... Failed.
Failed to contact the OMS at the HTTP URL set in /opt/oracle/product/10.2.0.4/agent10g/sysman/config/emd.properties
The Agent has not been secured.

Instead of failing here, the configuration assistant continues on until it attempts to create the default website, where it finally fails with an ORA-01403: no data found. Which I can only assume is a hangover from the original agent issues.

I then carried out the following:

oracle@ok005pa:/opt/oracle/product/10.2.0.4/agent10g>emctl status agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.3.0
OMS Version : 10.2.0.3.0
Protocol Version : 10.2.0.2.0
Agent Home : /opt/oracle/product/10.2.0.4/agent10g
Agent binaries : /opt/oracle/product/10.2.0.4/agent10g
Agent Process ID : 17017
Parent Process ID : 17000
Agent URL : http://myhost:3872/emd/main/
Repository URL : http://myhost:4890/em/upload/
Started at : 2009-04-01 15:20:36
Started by user : oracle
Last Reload : 2009-04-01 15:20:36
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 335
Size of XML files pending upload(MB) : 30.80
Available disk space on upload filesystem : 80.17%
Last attempted heartbeat to OMS : 2009-04-01 16:10:08
Last successful heartbeat to OMS : unknown
---------------------------------------------------------------
Agent is Running and Ready

emctl status agent -secure
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Checking the security status of the Agent at location set in /opt/oracle/product/10.2.0.4/agent10g/sysman/config/emd.properties... Done.
Agent is unsecure at HTTP Port 3872.
Checking the security status of the OMS at http://myhost:4890/em/upload/... Done.
OMS is secure on HTTPS Port 4898

So my oms and agent are both unsecure which should be ok?

emctl upload agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..

Attempting to secure the agent also fails.
It would seem that communication with the OMS and the agent is the issue - my agent and oms are on the same server.

emagent.trc
--------------------------
2009-04-01 16:13:08 Thread-3868449696 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository
2009-04-01 16:13:08 Thread-3868449696 ERROR pingManager: nmepm_pingReposURL: Did not receive a response header from repository

I'm not sure where to go from here so am hoping that someone can help. I've been reading documentation for a couple of days and haven't been able to find a solution.

Thanks

Edited by: user2674468 on 01-Apr-2009 13:53

Edited by: user2674468 on 01-Apr-2009 15:19
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 4 2009
Added on Mar 31 2009
11 comments
10,477 views