timeZone issues when starting the OEM Agent since summertime switch Germany
631766Apr 2 2008 — edited Apr 9 2008Hello gurus,
since yesterday when the system time has swithched to summer time in Germany I have below errors when starting the agents on our systems:
****@*****: /oracle > su - ora*** -c /oracle/product/agent10g/bin/emctl start agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ....... failed.
The agentTZRegion value in /oracle/product/agent10g/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please verify your environment to make sure that TZ setting has not changed since the last start of the agent.
If you modified the timezone setting in the environment, please stop the agent and exectute 'emctl resetTZ agent' and also execute the script mgmt_target.set_agent_tzrgn(<agent_name>, <new_tz_rgn>) to get the value propagated to repository.
Consult the log files in: /oracle/product/agent10g/sysman/log
So I tryed the suggested resetTZ, but get below errors:
root@******: /oracle/product/agent10g/sysman/log > su - oradeu -c /oracle/product/agent10g/bin/emctl resetTZ agent
Oracle Enterprise Manager 10g Release 3 Grid Control 10.2.0.3.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Updating /oracle/product/agent10g/sysman/config/emd.properties...
----- Mon Mar 31 10:18:48 2008::tzOffset for +01:00 is 60(min), but agent is runnning with tzOffset 120(min)
-----
----- Mon Mar 31 10:18:48 2008::trying again after waiting for 1 sec to account for daylight transition
-----
----- Mon Mar 31 10:18:48 2008::tzOffset for +01:00 is 60(min), but agent is runnning with tzOffset 120(min)
-----
resetTZ failed.
The agentTZRegion in:
/oracle/product/agent10g/sysman/config/emd.properties
is not in agreement with what the agent thinks it should be.
Fix your environment.
Pick a TZ value that corresponds to time zone settings listed in:
/oracle/product/agent10g/sysman/admin/supportedtzs.lst
I checked the TZ settings:
*****> echo $TZ
MEZ-1MSZ,M3.5.0/02:00:00,M10.5.0/03:00:00
*****: /oracle/product/agent10g/sysman/config > more emd.properties|grep agentTZ
agentTZRegion=+01:00
which is the reason for the difference of 120min as shown by the resetTZ I assume because AIX system time says MEZ -1 and emd.properties finds GMT+1 which gives a difference of 120min.
I already applied the patch 5632264 to the agent, but the issue still exists.
When I manipulate the envirement TZ to GMT+01:00 the agent starts again, but this is no solution. Also patching the TZ of UNIX/AIX is no solution because this will cause other issues.
Any ideas how I can get the agent working again?
ps. I already tried a reinstallation of the Agent, but the issue still exists.
Thank you
F.Wittmann