Issue
-
A Dynatrace One Agent error is thrown continuously: ERROR: ld.so: object '/opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Environment
- Liferay PaaS
- Liferay DXP 7.4+
Resolution
-
Verify Dynatrace Configuration and Credentials: The error message indicates a problem loading the Dynatrace OneAgent library, specifically liboneagentproc.so. In Liferay Cloud DXP 7.4, Dynatrace integration is managed through environment variables. Verify that the LCP_PROJECT_MONITOR_DYNATRACE_TENANT and LCP_PROJECT_MONITOR_DYNATRACE_TOKEN environment variables are correctly configured in the LCP.json file for the Liferay service. Confirm that the Dynatrace subscription is active and the provided credentials are valid. If the credentials are incorrect or the subscription has expired, either update the environment variables with the correct values or renew the subscription. If Dynatrace monitoring is not required, consider temporarily removing these environment variables and redeploying the service.
-
Make sure to check that the Secret for the Dynatrace token is not missing. In case it is, please add it and the issue should be resolved.
Additional Information