# Error while installing Dynatrace oneAgent on Solaris

**URL:** <https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917>\
**Category:** Open Q&A\
**Tags:** installation, oneagent, hosts-classic\
**Created:** [December 19, 2018, 7:00am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917 "2018-12-19T07:00:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![omichael](https://avatars.discourse-cdn.com/v4/letter/o/e99b99/32.png) [@omichael](https://community.dynatrace.com/u/omichael)\
**Post date:** [December 19, 2018, 7:00am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/1 "2018-12-19T07:00:09Z")

</div>

We are trying to install one Agent on Solaris 11 OS (64 bit) platform. It is used to host Oracle DB. We are interested in some host metrics..we did follow the steps to add the environment variables:-

DT\_HOME=/opt/dynatrace/oneagent

export DT\_HOME LD\_PRELOAD\_64=$DT\_HOME/agent/lib64/liboneagentproc.so

export LD\_PRELOAD\_64

The setup exit after info: Using DT\_HOME…

attached screenshot

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 19, 2018, 7:21am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/2 "2018-12-19T07:21:11Z")

</div>

Did you check the agent log files?

Does the agent platform match the host platform ?

---

<div class="post-metadata">

**Author:** ![omichael](https://avatars.discourse-cdn.com/v4/letter/o/e99b99/32.png) [@omichael](https://community.dynatrace.com/u/omichael)\
**Post date:** [December 20, 2018, 2:36am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/3 "2018-12-20T02:36:37Z")

</div>

the agent log file is empty… yes its 64 bit Solaris 11 platform

---

<div class="post-metadata">

**Author:** ![omichael](https://avatars.discourse-cdn.com/v4/letter/o/e99b99/32.png) [@omichael](https://community.dynatrace.com/u/omichael)\
**Post date:** [December 24, 2018, 3:21am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/4 "2018-12-24T03:21:43Z")

</div>

attached logs

 ![19258-screenshot-2.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5b7da4cf2a2678184a0fd5f0da8166b0f689c19c.png)

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 27, 2018, 9:19am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/5 "2018-12-27T09:19:50Z")

</div>

Well, it seems you are not using the Solaris agent correctly. On Solaris systems, the OneAgent is available only as the PaaS agent. That means it is not a standalone application and will not run as a process in the OS and you don’t actually “run the agent”.

With PaaS agents you just need to export appropriate environment variables in the execution context of your monitored application (preferred) or run the application using the dynatrace-agent script.

Basically, the LD\_PRELOAD variables are used to load the OneAgent library to the application.

See here:

> **[Install OneAgent on Solaris](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/solaris/install-oneagent-on-solaris)**
>
> Find out how to configure Dynatrace to monitor applications of different technologies that run on Solaris (x86 and SPARC).

---

<div class="post-metadata">

**Author:** ![omichael](https://avatars.discourse-cdn.com/v4/letter/o/e99b99/32.png) [@omichael](https://community.dynatrace.com/u/omichael)\
**Post date:** [December 27, 2018, 10:04am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/6 "2018-12-27T10:04:04Z")

</div>

after injecting the environment variables in the to Oracle WebLogic startup script we are able to see the Solaris node on console !!

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [December 27, 2018, 12:03pm UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/7 "2018-12-27T12:03:53Z")

</div>

Great to hear it’s finally working for you.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 1, 2019, 12:18pm UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/8 "2019-01-01T12:18:22Z")

</div>

Hello [@Julius L.](https://answers.dynatrace.com/users/16467/view.html)

First interaction with the Dynatrace Manged, therefore, please let me know the proper installation of the OneAgent on Solaris SPARC.

We simply extracted the OneAgent, then what are the next steps to “Monitor every Java and Apache HTTP servicess on the host” ?

**Dynatrace-OneAgent-Solaris-sparc-1.157.210.zip** extracted agent.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [January 1, 2019, 4:23pm UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/9 "2019-01-01T16:23:08Z")

</div>

On the Solaris install page, there is link to the help page: [Install OneAgent on Solaris — Dynatrace Docs](https://www.dynatrace.com/support/help/deploy-dynatrace/oneagent/solaris/installation/install-oneagent-on-solaris/)

Did you check that out yet?

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 3, 2019, 7:19am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/10 "2019-01-03T07:19:00Z")

</div>

Hello [@Dave M.](https://answers.dynatrace.com/users/3212/view.html)

Yes. I had gone through with this page but unable to understand the proper procedures of the installation.

We download the OneAgent and after unzipped.

Solaris administrator run below script as root  
by adding the below line in the dynatrace-agent64.sh

export DT\_HOME=/opt/dynatrace/oneagent

Even though we are unable to see any connected agent.

Can you please guide further?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [January 3, 2019, 1:31pm UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/11 "2019-01-03T13:31:21Z")

</div>

Did you include all the lines and make sure they ran before your application started up?

Which set of instructions are you following?

This is from the “Monitoring every Java and Apache HTTP service in your execution context” section.

```auto
DT_HOME=/opt/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

```

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [January 3, 2019, 9:29pm UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/12 "2019-01-03T21:29:16Z")

</div>

Or you can use the dynatrace-agent64.sh or dynatrace-agent32.sh scripts to either export the variables or use it as wrapper to run your application.

Just be sure the environment variables are really used in the context of your application.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 5, 2019, 3:43am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/13 "2019-01-05T03:43:03Z")

</div>

Hello [@Dave M.](https://answers.dynatrace.com/users/3212/view.html)

Yes. We included to the below level and the purpose is to monitor “every Java and Apache HTTP service”.

```auto
DT_HOME=/opt/dynatrace/oneagent
export DT_HOME
LD_PRELOAD_64=$DT_HOME/agent/lib64/liboneagentproc.so
export LD_PRELOAD_64

```

I just wanted to add one more information that those servers already have AppMon agents configured.

Can we use AppMon and OneAgent together, especially when we are not enabling deep monitoring?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 5, 2019, 3:49am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/14 "2019-01-05T03:49:18Z")

</div>

Hello [@Julius L.](https://answers.dynatrace.com/users/16467/view.html)

Have a look in the below screenshots, where we configured the environment and the output of that environment.

Did we miss something?

 ![19326-env-script.png](https://global.discourse-cdn.com/dynatrace/original/3X/e/1/e1fd34f120c355aeb5e1affb0541b4761a9a373d.png)

 ![19327-env-output.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/0f15618b86d431b5cfbd01bd1142f71ec11c7a73.png)

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![omichael](https://avatars.discourse-cdn.com/v4/letter/o/e99b99/32.png) [@omichael](https://community.dynatrace.com/u/omichael)\
**Post date:** [January 5, 2019, 5:01am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/15 "2019-01-05T05:01:46Z")

</div>

i got it working with starting my application with passing the environment variables & it was shown on the dynatrace webconsole

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [January 5, 2019, 5:10am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/16 "2019-01-05T05:10:51Z")

</div>

Best practice is to remove the AppMon instrumentation, even though, in theory the OneAgent technique should supersede it. I would try removing the AppMon instrumentation and make sure the process is “seeing” the LD\_PRELOAD\_64 environment variable. If that doesn’t fix it, maybe someone with more Solaris experience can help here or you can open a support ticket.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 6, 2019, 11:11am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/17 "2019-01-06T11:11:29Z")

</div>

Hello [@Dave M.](https://answers.dynatrace.com/users/3212/view.html)

Basically we are doing a POC and wanted to show the value of OneAgent without disturbing their existing setup.

In case removal of AppMon is mandatory then I am wondering about the Full Stack concept and manual instrumentation.

Regard,

Babar

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 6, 2019, 11:13am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/18 "2019-01-06T11:13:03Z")

</div>

Hello [@Orwin L.](https://answers.dynatrace.com/users/27020/view.html)

Did you pass the environment variable to particularly?

What did you pass exactly?

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![dave\_mauney](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/dave_mauney/32/27784_2.png) [@dave\_mauney](https://community.dynatrace.com/u/dave_mauney)\
**Post date:** [January 7, 2019, 2:08pm UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/19 "2019-01-07T14:08:09Z")

</div>

It is best practice to remove the AppMon instrumentation when installing Dynatrace OneAgent instrumentation, so I think it would be your next step to troubleshoot the issue…or you could try a support case before doing that and maybe they will be able to help you fix it without modifying the AppMon instrumentation.

I am not sure what you mean about “Full Stack concept and manual instrumentation”, but we do not offer Full Stack OneAgent install for Solaris, and it’s my understanding that it is not on the road map to do that.

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [January 8, 2019, 6:35am UTC](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917/20 "2019-01-08T06:35:32Z")

</div>

Hello [@Dave M.](https://answers.dynatrace.com/users/3212/view.html)

I brought in the support knowledge and they also said that we don’t support AppMon and OneAgent together.

A single Dynatrace OneAgent monitors real user experience and all the technologies, services, and applications that run in your environment. Just install OneAgent. **No configuration required.**

In the above statement, promised for the no configuration. Can you please share with me a reference to support your point “_ **we do not offer Full Stack OneAgent install for Solaris, and it’s my understanding that it is not on the road map to do that** _.”

So I can share with the customer.

Regards,

Babar

[Next page](https://community.dynatrace.com/t/error-while-installing-dynatrace-oneagent-on-solaris/18917.md?page=2)
