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 APRIL 21, 2015

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

The dbconsole 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 emdbconsole'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.

[oracle@rachvm1 bin]$ export TZ=Asia/Karachi
[oracle@rachvm1 bin]$ date
Wed May 11 14:30:59 PKST 2011

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

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms