|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Wrong time zone in WMB 6.1 |
« View previous topic :: View next topic » |
Author |
Message
|
KoGor |
Posted: Mon Apr 06, 2009 3:39 am Post subject: Wrong time zone in WMB 6.1 |
|
|
Voyager
Joined: 09 Nov 2005 Posts: 81 Location: Moscow,Russia.
|
Hi All!
I have an AIX 6.1 TL2 with Message Broker 6.1.3 installed on it. AIX TZ is set to "Europe/Moscow" and command "date" shows correct time, date and timezone ( for example "15:00:00 GMT+04:00 2009"). All records which added to syslog are also have correct time. But when I start broker I see in syslog WMB's log records with time -4 hours from AIX time. So I suppose that Broker get somehow GMT time, instead AIX Europe/Moscow time. Also in message flow the command "CURRENT_TIMESTAMP" results current time minus four hours. Is it possible to force Broker somehow use AIX's time?
Thank you in advance! |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 06, 2009 3:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
What is the output of
on your system when using the broker's system id?
What is the output of the same command after you have run the mqsiprofile?
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
KoGor |
Posted: Mon Apr 06, 2009 4:17 am Post subject: |
|
|
Voyager
Joined: 09 Nov 2005 Posts: 81 Location: Moscow,Russia.
|
#date
Mon Apr 6 20:09:41 GMT+04:00 2009
# echo "TZ=${TZ}"
TZ=Europe/Moscow
# su - mbadmin
MQSI 6.1.0.3
/opt/IBM/mqsi/6.1
$ echo "TZ=${TZ}"
TZ=Europe/Moscow
$ date
Mon Apr 6 16:09:41 Europe/Moscow 2009
I have found interesting thing. When I export under root LIBPATH variable (took from mqsiprofile step by step) I've got the same result:
# export LIBPATH=$LIBPATH:/opt/IBM/mqsi/6.1/xml4c/lib64
# date
Mon Apr 6 16:10:04 Europe/Moscow 2009
Actually I don't understand what's going on and what I should do to fix this problem. If I correct time to +4 hours to the current time so in syslog will be wrong time for all applications except broker. Is there a way to fix it? |
|
Back to top |
|
 |
mgk |
Posted: Mon Apr 06, 2009 11:37 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
Hello, I suspect that the quickest way to resolve this one would be to raise a PMR...
Kind Regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Last edited by mgk on Fri Apr 10, 2009 12:41 am; edited 1 time in total |
|
Back to top |
|
 |
rekarm01 |
Posted: Thu Apr 09, 2009 7:07 pm Post subject: Re: Wrong time zone in WMB 6.1 |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 1415
|
KoGor wrote: |
I have an AIX 6.1 TL2 with Message Broker 6.1.3 installed on it. AIX TZ is set to "Europe/Moscow" ... |
While filling out that PMR, IBM has several APARs that could be relevant: "OLSON TIMEZONE SETTINGS IS NOT WORKING FOR 64BIT APPLICATIONS. APPLIES TO AIX 6100-02". See IZ15026, IZ15027, and IZ15028. (These APARs seem to be duplicates of each other; it's not clear why there's more than one.) There is a fix available, (see fixinfo105557), which may or may not already be included as part of TL2; that's not clear either.
While waiting for IBM to resolve the PMR, here are some other possible workarounds:- Use a POSIX-style TZ, instead (e.g. "TZ=MSK-3MSD").
- Or, change the order of directories in LIBPATH (e.g. "LIBPATH=/opt/IBM/mqsi/6.1/xml4c/lib64:$LIBPATH date").
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|