Find out how to solve problems related to installing OneAgent on AIX.
If you used OneAgent for AIX prior to v1.137 you may have configured it via
JAVA_OPTS using the
dynatrace-java-env.sh script. You need to remove this prior to using the unified monitoring scripts
dynatrace-java-env.shisn't called anywhere in your shell when you use the
dynatrace-java-env.shis deprecated and should only be used as a fallback.
Check for and remove the following parameter from your Java command line or startup scripts (specific directory may vary):
You may encounter an error like this when you use
dynatrace-agentXX.sh in a shell script.
Info: using DT_HOME: /opt/dynatrace/oneagent .profile LDR_PRELOAD64: parameter not set
This happens if you use
set -u to treat unset variables and parameters as errors. The
dynatrace-agentXX.sh script exports variables which, though they may not yet exist in your script, are nevertheless needed and key to proper operation. To overcome this, call
set +u ahead of the
# avoid error set +u export DT_HOME=/opt/dynatrace/oneagent . $DT_HOME/dynatrace-agent64.sh