My Oracle Support Banner

The agentTZRegion value (Asia/Karachi) in $ORACLE_HOME/[hostname]_[sid]/sysman/config/emd.properties does not match the current environment TZ setting(Asia/Karachi). (Doc ID 1321110.1)

Last updated on JANUARY 17, 2020

Applies to:

Enterprise Manager Base Platform - Version 10.2.0.2 to 11.2.0.2 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

Enterprise Manager Database Control on Linux will not start and gives the message:

Timezone mismatch: The agentTZRegion value (Asia/Karachi) in
<ORACLE_HOME>/<hostname>_<sid>/sysman/config/emd.properties
does not match the current environment TZ setting(Asia/Karachi).
The agent cannot run with this mismatch.
If Asia/Karachi is the correct timezone, set your timezone environment variable to Asia/Karachi and repeat the 'emctl start agent' operation.
If Asia/Karachi is not the correct timezone, make sure that the timezone in your environment is correct, and then run the following command in your local Oracle Home: 'emctl resetTZ agent'


the emdctl.trc shows:

2011-05-11 10:48:02 Thread-4135859904 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =360,and testTZoffset for Asia/Karachi:300 do not match
2011-05-11 10:48:03 Thread-4135859904 ERROR main: nmectl.c: nmectl_validateTZRegion, agentTZoffset =360,and testTZoffset for Asia/Karachi:300 do not match



Note:
agentTZoffset=360  (This means 6 hours - This is coming from $TZ set in the environment)
and testTZoffset for Asia/Karachi=300 (This means 5 hours - This is coming from Database Control's java tranlsation of the timezone (which is correct)

The $TZ  on the Operating System is set to Asia/Karachi.  When the 'date' command is run from the command line of the Linux machine, it can be seen that the date returned is incorrect by an hour

eg.

$ export TZ=Asia/Karachi
$ date
Wed May 11 14:30:59 PKST 2011

Note* that the time output refers to "PKST" (Pakistan Summer Time)

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.