Consultor Eletrônico



Kbase P161881: The AppServer agents are showing time ahead or off by 1 hour in the AppServer log.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/04/2010
Status: Unverified

SYMPTOM(s):

The AppServer agents are showing time ahead or off by 1 hour according to the AppServer server.log timestamps.

The AppServer broker has the correct time according to the AppServer broker.log message timestamps.

The Admin Server has the correct time according to the admserv.log message timestamps.

Setting TZ=CET-1CES in shell before invoking asbman to start the AppServer has no effect.

Setting TZ=CET-1CES in the environment section of the ubroker.properties and restarting the AppServer has no effect.

Setting TZ=CET-1 in the environment section of the ubroker.properties and restarting the AppServer corrects the problem.

Of three machines running AppServers, only one has AppServers that write correct timestamps to the AppServer's server.log file.

If TZ is set to CET-1CES in the shell starting the AppServer, the AppServer writes timestamps to the server.log file that are 1 hour ahead.

FACT(s) (Environment):

Linux
OpenEdge 10.1C
The server is located in Canada, but has time set for Central European Time (CET).
The TZ environment variable is not set in the shell that starts the AdminServer.
The /etc/sysconfig/clock file has the following lines on all three machines running AppServers:
ZONE="America/Toronto"
UTC=false
ARC=false
All three machines are running with the same versions of OpenEdge, Linux version, Linux kernel, and java version.
The /etc/localtime on all the machines is a symbolic link that points to /usr/share/zoneinfo/CET.

CAUSE:

When TZ is set to CET-1CES, the AppServer write messages to the server.log file with timestamps that are an hour ahead of the current time.

FIX:

Set TZ to 'Europe/Luxemburg' as defined by running the tzselect utility and selecting the country/region where clients are running the application from. Also set the /etc/sysconfig/clock file's ZONE to "Europe/Luxemburg".