cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Looking to upgrade from Dynatrace Managed to SaaS? See how

Error While Installing Dynatrace OneAgent On Solaris Server

zaid-bashir
Advisor

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.

zaidbashir_4-1751541180105.jpeg

 

zaidbashir_2-1751540995971.jpeg

For Your Information, We have also added these in .profile file but the same issue was coming.

 

 

4 REPLIES 4

Mizső
DynaMight Guru
DynaMight Guru

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 

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

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.

radek_jasinski
DynaMight Guru
DynaMight Guru

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

Have a nice day!

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.

Featured Posts