03 Jul 2025
12:18 PM
- last edited on
04 Jul 2025
07:07 AM
by
MaciejNeumann
Hello All,
I am installing dynatrace oneagent Dynatrace-OneAgent-Solaris-x86-1.315.68.20250627-182234.zip on Solaris 11 Operating System having 64 Bit Architecture with JDK 7.
We unzipped the above version of Solaris Agent and installed it in /u01/dynatrace/oneagent having chmod 777 permissions and also created /u01/dynatrace/oneagent/logs folder also have chmod 777 permissions.
We are all doing it via Oracle User not via root, all applications have access to this Oracle User.
After that we put the below script in startWebLogic.sh file at the start of the file as shown below:
# Monitor WebLogic with Dynatrace OneAgent
DT_HOME=/u01/dynatrace/oneagent
export DT_HOME
LD_PRELOAD_64=$DT_HOME/agent/lib64/liboneagentproc.so
export LD_PRELOAD_64
LD_PRELOAD=$DT_HOME/agent/lib/liboneagentproc.so
export LD_PRELOAD
When we are trying to execute the ./startWebLogic.sh, it shows us the below errors attached in the screenshot.
For Your Information, We have also added these in .profile file but the same issue was coming.
Solved! Go to Solution.
07 Jul 2025 08:59 AM
Hi @zaid-bashir
It was a completly new install or did you "upgrade" a previous version?
I am interesting aboit it beacuase we have some Solaris+WL combo at one of our clients but they are on an older OA version.
Best regards,
János
11 Jul 2025 11:32 AM
It was a completely new install on Solaris 11.3 with Java JDK 7. The latest OneAgent version is not compatible with Solaris 11.3 and Solaris 11.3 doesn't come with cxa-atexit library by default, which was giving issue while loading liboneagentjava.so.
So in this case we used a bit old OneAgent, which was compatible with Version 11.3.
07 Jul 2025 09:30 AM
Hi @zaid-bashir
The problem is that the library liboneagentjava.so requires the symbol __cxa_atexit, which is missing in your system’s libc or libstdc++, and you should verify this by checking the symbol in the system libraries.
Formal “support” means that the latest OneAgent works on Solaris 11 only if Solaris has up-to-date runtime libraries and OS patches.
Radek
11 Jul 2025 11:28 AM - edited 11 Jul 2025 11:28 AM
Thanks for the input.
The issue was, the latest OneAgent is compiled on Solaris 11.4 which comes with cxa-atexit library. In my case I have Solaris 11.3 Version where latest OneAgents were not compatible.
So I used a bit old OneAgent which was compatible with Solaris 11.3.