Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5442
  • Last Modified:

Oracle EM Agent

I am trying to start Oracle EM Agent in Oracle 11g but something is not ok ....

the log recorded: Abnormal termination

2009-04-29 10:53:58,811 Thread-3044309184 EMAgent started successfully (00702)
2009-04-29 10:57:54,306 Thread-3000564624 <Upload Manager> Exceeded Max allowed Upload data - No of files: 105, Size of upload data: 65.291619MB, Pct(%) of Disk used: 23.13%, Disabling collections (00852)
2009-04-29 10:57:54,360 Thread-3000564624 Disable collector (00406)
2009-04-29 10:58:01,438 Thread-3000564624 <Upload Manager> Unsuccessful Upload attempts for XML file exceeds specified limit=3, Agent will shutdown (00851)
2009-04-29 10:58:01,443 Thread-3044309184 EMAgent abnormal terminating (00704)

Can you help me!?

0
SimpleJ
Asked:
SimpleJ
  • 3
1 Solution
 
mrjoltcolaCommented:
1) Are there any errors in your alert log?

2) Are there any trace files (check for emagent.trc) under your sysman/log

3) You can try increasing the values in sysman/config/emd.properties (UploadMaxBytesXM possibly) but the agent should not exit abnormally
0
 
SimpleJAuthor Commented:
emagent.trc:

2009-04-29 10:57:54,360 Thread-3000564624 WARN  collector: Disable collector
2009-04-29 10:58:01,437 Thread-3000564624 WARN  upload: FxferSend: received fatal error in header from repository: https://oracle-ga:1158/em/upload/
FATAL_ERROR::500|ORA-20603: Updating timezone region of a target is not supported. Use mgmt_target.set_agent_tzrgn() API to modify the timezone region.(target name = oracle-ga:3938)(target type = oracle_emd)(new tzrgn = Europe/Ljubljana)(old tzrgn = Europe/Zagreb)
ORA-06512: at "SYSMAN.CHECK_DUPLICATE_TARGETS", line 92
ORA-04088: error during execution of trigger 'SYSMAN.CHECK_DUPLICATE_TARGETS'

2009-04-29 10:58:01,438 Thread-3000564624 ERROR upload: number of fatal error exceeds the limit 3
2009-04-29 10:58:01,438 Thread-3000564624 ERROR upload: agent will shutdown now
2009-04-29 10:58:01,438 Thread-3000564624 ERROR : Signalled to Exit with status 55. Too many fatal upload failures
2009-04-29 10:58:01,443 Thread-3044309184 ERROR main: EMAgent abnormal terminating


UploadMaxBytesXML is set to 50MB!
0
 
mrjoltcolaCommented:
So it appears there was a timezone config change in your environment that EM needs to be adjusted for.

See this thread:

http://forums.oracle.com/forums/thread.jspa?messageID=2228447
0
 
schwertnerCommented:
On Grid Control Agent side:
--------------------  

+ Login to target machine

+ Export following parameter

Unix : export TZ=<correct timezone value>
Windows : set TZ=<correct timezone value>

+ Execute following command to reset the timezone

<AGENT_HOME>/bin/emctl resetTZ

+ Login to Repository database as sysman user and execute following procedure.

SQL > exec mgmt_target.set_target_tzrgn('<target name>',<target type>','<new tzrgn>');

SQL > commit;

Where,
target_name : for which target we are getting error in emagent.trc

target_type : type of the target

new tzrgn : timezone value which we set at target side.
 Dbconsole :
----------

+ Login to Database machine

+ Export following parameter

   Unix : export TZ=<correct timezone value>
   Windows : set TZ=<correct timezone value>

+ Execute following command to reset the timezone

   <ORACLE_HOME>/bin/emctl resetTZ

+ Login to database as sysman user and execute following procedure.

   SQL > exec mgmt_target.set_target_tzrgn('<target name>',<target type>','<new tzrgn>');

   SQL > commit;  

  Where,  
     target_name : for which target we are getting error in emagent.trc

     target_type : type of the target

     new tzrgn : timezone value which we set at target side.
0
 
mrjoltcolaCommented:
You can try this route:

cd $AGENT_HOME\bin
emctl stop agent
emctl status agent
emctl resetTZ agent

Login via sqlplus as sysman or set default schema to sysman

exec mgmt_target.set_agent_tzrgn(oracle-ga:39382,Europe/Ljubljana)

commit;

restart EM

0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now