Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

issue with Timezne while installing Agent for 10 g grin HPUX11.23

Chitta
Frequent Advisor

issue with Timezne while installing Agent for 10 g grin HPUX11.23

Hi,
I am trying to install Mannagenent agent for oracle 10g grid, while installation i got error on Time zone setting, My enterprise manager and repositry is running on windows 2003 with smae time zone,
below th error:

Starting agent ...... failed.
The agentTZRegion value in /home/oracle/OracleHomes_1/agent10g/sysman/config/emd.properties is not in agreement with what agent thinks it should be.Please ver
ify your environment to make sure that TZ setting has not changed since the last start of the agent.


but Time zone is same on both server.
how to reslove the issue?

Thanks in Advance,
Chitta.
6 REPLIES
Steven E. Protter
Exalted Contributor

Re: issue with Timezne while installing Agent for 10 g grin HPUX11.23

Shalom,

What oracle is telling you seems to be one of the following:
1) The TZ setting on the HP-UX and Windows 2003 time server disagree.
2) The TZ setting in the oracle product is wrong.

If you are sure about #1, look into the cause of #2

/home/oracle/OracleHomes_1/agent10g/sysman/config/emd.properties

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: issue with Timezne while installing Agent for 10 g grin HPUX11.23

What does this produce:
echo $TZ
date; date -u
Chitta
Frequent Advisor

Re: issue with Timezne while installing Agent for 10 g grin HPUX11.23

HI,


root@ sev1 /#echo $TZ
+4
root@ sev1 /#date; date -u
Wed Jul 23 11:16:02 EDT 2008
Wed Jul 23 15:16:02 UTC 2008

Regs,
Chitta
Dennis Handly
Acclaimed Contributor

Re: issue with Timezne while installing Agent for 10 g grin HPUX11.23

>#echo $TZ
+4

This is NOT a valid timezone for HP-UX. You need a name and then the number and an optional DST name. See /usr/lib/tztab for examples.
http://docs.hp.com/en/B2355-60130/tztab.4.html
For India it would be: export TZ=IST-5:30

>#date; date -u
Wed Jul 23 11:16:02 EDT 2008
Wed Jul 23 15:16:02 UTC 2008

Since you don't have a valid timezone it defaults to EST/EDT. And your system's clock is 8! hours ahead of the proper time, assuming you didn't delay posting your reply too much:
Jul 23, 2008 07:15:22 GMT
(Your UTC time should match the GMT time.)
Chitta
Frequent Advisor

Re: issue with Timezne while installing Agent for 10 g grin HPUX11.23

Thanks Dennis,
Sorry for late reply am just hangedup with other issues.For Time zone settings I had set export TZ=GMT+4 in oracle user .profile.
if i want to set for server where i need to set.

Regs,
Chitta
Dennis Handly
Acclaimed Contributor

Re: issue with Timezne while installing Agent for 10 g grin HPUX11.23

>For Time zone settings I had set export TZ=GMT+4 in oracle user .profile. if i want to set for server where i need to set.

Again this is the wrong format for timezones on HP-UX. The only timezone with the characters "GMT" is "GMT0". You must NOT use this format because:
1) This is somewhere in Brazil?
2) The date command will tell you the time is GMT but you are really in some other zone.

So you should use the proper timezone name or make one up.
Four hours ahead of UTC is either Moscow or Dubai. So those would be:
MOS-3MOSD-4 or DUB-4

If you are really in Brazil, then something like: BST4