ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Wrong time zone in WMB 6.1

Post new topic  Reply to topic
 Wrong time zone in WMB 6.1 « View previous topic :: View next topic » 
Author Message
KoGor
PostPosted: Mon Apr 06, 2009 3:39 am    Post subject: Wrong time zone in WMB 6.1 Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Apr 06, 2009 3:58 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

What is the output of
Code:
echo "TZ=${TZ}"
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
View user's profile Send private message Send e-mail
KoGor
PostPosted: Mon Apr 06, 2009 4:17 am    Post subject: Reply with quote

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
View user's profile Send private message
mgk
PostPosted: Mon Apr 06, 2009 11:37 am    Post subject: Reply with quote

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
View user's profile Send private message
rekarm01
PostPosted: Thu Apr 09, 2009 7:07 pm    Post subject: Re: Wrong time zone in WMB 6.1 Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Wrong time zone in WMB 6.1
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.