03 Feb 2026 01:25 PM
This article explains an issue where Java applications running in containers fail to start after upgrading Dynatrace OneAgent to version 1.327.56+ when older Alpine Linux (musl libc) images and outdated JDK versions are used.
It covers the root cause, affected scenarios, and recommended preventive actions.
After upgrading Dynatrace OneAgent to version 1.327.56, Java applications running in containers may enter CrashLoopBackOff. The JVM fails to start with an error similar to:
Error occurred during initialization of VM
Error relocating liboneagentjava.so: getrandom: symbol not foundThe issue typically occurs when all of the following conditions are met:
Observed behavior:
Starting with OneAgent 1.327.56, the Dynatrace Java Agent (liboneagentjava.so) relies on the getrandom() system call, which:
Additionally:
According to the Dynatrace Technology Support Matrix:
To prevent similar issues in the future, the following actions are recommended:
1. Upgrade container base images
2. Upgrade Java runtime
3. Avoid EOL images and runtimes
Older Alpine and JDK versions:
4. Temporary workaround - Roll back OneAgent
5. Workaround (GUI-based, no container image changes required):
If upgrading the Alpine base image or JDK is not immediately possible, the issue can be temporarily mitigated by disabling monitoring for the affected Java process directly in the Dynatrace GUI.
Steps:
1. Go to
2. Create a new exclusion rule
3. Scope the rule to:
4. Disable:
After saving the rule:
03 Apr 2026 03:57 PM
The question is: why use a
getrandom: symbol not found....and stop processes, instead of use a "manual" random function? Ofc joking, btw it should be fixed soon.
Featured Posts