Article

Using certain versions of SUDO on AIX may cause problems with Java Timezone identification within AdminServer and Adminserver children (AppServer, DataServer, WebSpeed).

Information

 
Article Number000064520
EnvironmentProduct: OpenEdge-
Version: 11.2
OS: AIX 6.1
Other: SUDO
Question/Problem Description
Using certain versions of SUDO on AIX may cause problems with Java Timezone identification within AdminServer and Adminserver children (AppServer, DataServer, WebSpeed).
Having problems with timezone issue in AdminServer
When AdminServer is restarted (without any changes to the command line options) it can pick up a different timezone randomly.
One time it is GMT another time EST.
Does not happen when root starts AdminServer..
Happens with using sudo to start AdminServer.
Manually setting TZ does not resolve the problem as sudo overrides environment variables and only looks at /etc/environment which it randomly fails to read.
Steps to Reproduce
Clarifying Information
Does not happen when root starts AdminServer..
Error MessageNo Error message but timezone of AdminServer and Java children of AdminServer will have UTC timezone.
Defect/Enhancement Number
Cause
The exact cause is not known at this time.

The problem was tracked to some versions of third party product sudo (1.6.7.5, 1.7.2.7).

This problem does not occur in all versions of sudo.

Sudo is not a native IBM tool.

Different vendors may make individual versions of sudo.
 
Resolution
Upgrade version of sudo and test.

Do not use sudo.  (problem never exhibits when root launches AdminServer).
Workaround
Notes
SUDO takes information from /etc/environment which contains several OS environment variables including TZ (timezone).

All the variables in /etc/environment fail to be set when sudo exhibits the problem.

This problem was identify by reviewing javacore files.

kill -3 <pid> may be used to try and trigger the javacore creation.
However, the java process may need to be started with this JVM argument to allow it to generate a good javacore:
-Xdump:java:events=user 
Attachment 
Last Modified Date11/13/2015 3:33 PM


Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025