# OneAgent installer for AIX is not working

**URL:** <https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088>\
**Category:** Open Q&A\
**Tags:** aix, dynatrace-saas, oneagent\
**Created:** [April 10, 2021, 4:03pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088 "2021-04-10T16:03:36Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [April 10, 2021, 4:03pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/1 "2021-04-10T16:03:36Z")

</div>

Hello Folks,

We are tried OneAgent installation on AIX but it is unsuccessful and giving below error,

**Error: Cannot determine platform or platform not supported: \<AIX\>**

Host is having OS version 6.1 and CPU architecture as POWER7 and as&nbsp;per the [documentation](https://www.dynatrace.com/support/help/shortlink/section-technology-support), AIX 6.1 is supported however CPU architecture support is for&nbsp;POWER8 64bit, POWER9 64bit.

Even though it seems to unsupported but we have another host with same system configuration but it has OneAgent running successfully. (This was done in past by some other person and we don’t have any steps that he/she has taken to do the installation successfully)

Has anybody encountered in the same situation earlier and did the OneAgent installation successfully on AIX 6.1 POWER7 CPU?

Regards,

AK

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [April 15, 2021, 5:20am UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/2 "2021-04-15T05:20:56Z")

</div>

Hi Team,

I would really appreciate your help on this.

Regards,

AK

---

<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:** [April 15, 2021, 6:09am UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/3 "2021-04-15T06:09:00Z")

</div>

Hello&nbsp;[@AK](https://community.dynatrace.com/user/2080)&nbsp;  
Yes. The&nbsp;POWER7&nbsp;CPU architecture is not supported, therefore, you are facing this issue.

When was the other server was instrumented?

What is the OneAgent version on that server?

Are both servers have&nbsp;6.1 TL9 SP9?

There is no code module auto-injection for AIX 6.1. Installation on AIX WPARs is not supported.

Regards,

Babar

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [April 15, 2021, 3:36pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/4 "2021-04-15T15:36:36Z")

</div>

Hi Babar,

I don’t have that detail when it was instrumented but OneAgent version on this host is 1.179 and yes, both the servers have 6.1 TL9 SP9.

 ![AK_0-1621445442333.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/d/5dd1fad025f5c876783ed6a792272e0c9734319f.png)

We are having AppMon agent installed on these Hosts hence there is a need to update it to OneAgent.

Regards,

AK

---

<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:** [April 16, 2021, 5:59am UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/5 "2021-04-16T05:59:07Z")

</div>

Hello&nbsp;[@AK](https://community.dynatrace.com/user/2080)

Did you try to install the same version (1.179) on the second host?

Regards,

Babar

---

<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:** [April 16, 2021, 8:14am UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/6 "2021-04-16T08:14:16Z")

</div>

This will likely not work if this is a new installation. Very Old agents (not sure how old, but definitely more than 1y old) are not allowed to connect to Dynatrace cluster in new versions. At least this is my experience.

Anyway - I don’t remember OneAgent supporting POWER7 - but I’d give it a shot. I’m sure&nbsp;[@Bartek\_Gatz](https://community.dynatrace.com/user/10296)&nbsp;knows the answer if this was supported or not.

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [April 16, 2021, 1:20pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/7 "2021-04-16T13:20:46Z")

</div>

Yes Babar, I tried that too but that resulted into same error,

**Error: Cannot determine platform or platform not supported: \<AIX\>**

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [April 16, 2021, 1:22pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/8 "2021-04-16T13:22:25Z")

</div>

[@bartosz\_gatz](https://community.dynatrace.com/user/10296)

Do you have any information on this?

---

<div class="post-metadata">

**Author:** ![Arnaud\_GERMAIN](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Arnaud\_GERMAIN](https://community.dynatrace.com/u/Arnaud_GERMAIN)\
**Post date:** [May 6, 2021, 3:33pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/9 "2021-05-06T15:33:09Z")

</div>

Hello,

we suspect a bug from the&nbsp;Dynatrace-OneAgent-AIX-1.213.183.sh script.

This is the function where the message appears and the installation is aborted (by return 1):

—

checkSystemCompatibility() {  
local expectedPlatform=“LINUX”  
if [“${ARCH\_ARCH}” = “AIX”]; then  
expectedPlatform=“AIX”  
fi

local platform=“**$(uname | sed -e 's/\_.**//’ | sed -e ‘s/\///’ | tr ‘[:lower:]’ ‘[:upper:]’)\*”  
if [“${platform}” != “${expectedPlatform}”]; then  
**printf “Cannot determine platform or platform not supported: \<%s\>” “${platform}”**  
return 1  
fi

local detectedArchitecture  
if ! detectedArchitecture=“$(arch\_checkArchitectureCompatibility)”; then  
printf “Cannot determine architecture or architecture not supported: \<%s\>” “${detectedArchitecture}”  
return 1  
fi

printf ‘Detected platform: %s’ “${platform}”  
if [“${detectedArchitecture}”]; then  
printf ’ arch: %s’ “${detectedArchitecture}”  
fi

return 0  
}

—

At line&nbsp;1044 of the script you can read :

readonly ARCH\_ARCH=“X86”

This means the ARCH\_ARCH is a constant that can’t be modified so it will always be “X86”.

Since the script is made for an AIX platform, it does not make any sens.

We opened a support case for that.

---

<div class="post-metadata">

**Author:** ![Arnaud\_GERMAIN](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Arnaud\_GERMAIN](https://community.dynatrace.com/u/Arnaud_GERMAIN)\
**Post date:** [May 6, 2021, 5:05pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/10 "2021-05-06T17:05:13Z")

</div>

Forget my comment…

I used a wrong url to get the binary oneagent.

wrong command:

wget -O Dynatrace-OneAgent-AIX-1.213.183.sh “[https://xxxxx.xxx.com/e/d4a6dcc3-e7ec-433e-95ae-61a194fd8184/api/v1/deployment/installer/agent/\*\*unix\*\*/default/latest?arch=\*\*x86\*\*&flavor=default](https://xxxxx.xxx.com/e/d4a6dcc3-e7ec-433e-95ae-61a194fd8184/api/v1/deployment/installer/agent/ **unix** /default/latest?arch= **x86** &flavor=default)” --header=“Authorization: Api-Token xxxxx”

right command:

wget -O Dynatrace-OneAgent-AIX-1.213.183.sh “[https://xxxxx.xxx.com/e/d4a6dcc3-e7ec-433e-95ae-61a194fd8184/api/v1/deployment/installer/agent/\*\*aix\*\*/default/latest?\*\*arch=ppc\*\*&flavor=default](https://xxxxx.xxx.com/e/d4a6dcc3-e7ec-433e-95ae-61a194fd8184/api/v1/deployment/installer/agent/ **aix** /default/latest? **arch=ppc** &flavor=default)” --header=“Authorization: Api-Token xxxxx”

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [May 6, 2021, 8:36pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/11 "2021-05-06T20:36:41Z")

</div>

Hi [@AK](https://community.dynatrace.com/user/2080),

I did an Installation on those kind of system when I was at 1.175 and even if it was on POWER7 it worked.

So, mon ami, my suggestion is the following:

first of all try to uninstall every little piece of old agent that you have, following the doc.  
then download the oldest version of oneagent that you have at your disposal:

-in order to do so, go in your environment, and go to the Environment Api v1; call those sweet apis.  
The number 1 to list the oldest version for your env, the number 2 to get the oldest version:

 ![y_buccellato_1-1620333060016.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/5/25067297cb2743ec893a32b1d18c1282131b743b.png)

Now go and try to install it, and then try to upgrade it.

Good luck

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [May 7, 2021, 2:22pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/12 "2021-05-07T14:22:36Z")

</div>

Hi&nbsp;[@y\_buccellato](https://community.dynatrace.com/user/4804),

I can see following versions for AIX. The lower is “1.173.314.20190809-152259”

This seems to be very outdated version. Will it communicate to dynatrace SaaS “1.216.107.20210505-135918” without any issue?

 ![AK_0-1620397087557.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2121d0cf98e790a7abe180f94740213a7422402d.png)

Regards,

Akshay

---

<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:** [May 7, 2021, 7:45pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/13 "2021-05-07T19:45:13Z")

</div>

Most likely not - if this is a new installation. With recent Dynatrace versions new installed agents of an old version will be refused from connecting to the cluster. But I’d give it a try anyway.

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [May 10, 2021, 6:15am UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/14 "2021-05-10T06:15:39Z")

</div>

[@AK](https://community.dynatrace.com/user/2080) , sorry for the delay 🙂 working a lot!

To be completly open with you: we are in the field of “you need to try if this work for you”.

If I were you I’d try the oldest or the second oldest (in you case 1.7\* or 1.8\*).

There is a very high probability that the agent won’t connect to your environment cause of the gap between your server and the agent itself.

As an example the first time I experienced that was with an outdated version of Dynatrace daemon set for Openshift: the installation went smooth but then I could not see anything in the deployment status and a pop-up banner appeared in my environment telling me that I had to update an agent.

If you have an enviroment active gate you can also very that on the rejection.log (if I’m not mistaken)

As a I final solution, if your old agent doesn’t connect, you can open a ticket to Dynatrace and see if they can allow oldest version to connect to your Tenant.

That’s pretty much everything you can do 🙂

Have a great day!

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [May 20, 2021, 1:20pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/15 "2021-05-20T13:20:52Z")

</div>

[@y\_buccellato](https://community.dynatrace.com/user/4804),

Thank you for your suggestions. Apologies for late comments on the topic. The host is not under our custody hence it is taking time to do test the installation.

I did the installation and it went successful however, I found few strange things and issues,

1. I tried to get the all OneAgent versions available for download in my environment using regular API token but it gave below error,

_ **{** _  
_ **“error”: {** _  
_ **“code”: 403,** _  
_**“message”: “Token is missing required scope. Use one of: InstallerDownload (PaaS integration - Installer download)”**_  
_ **}** _  
_ **}** _

Then I realize that, the normal API token will not work and I need to generate PaaS token to use those kind of APIs (Correct me if I’m wrong)

I generated a PaaS token and downloaded the installer for AIX - 1.173.314 and copied to concerned host. (The only difference I can observe from the regular steps is PaaS token in the command rather that API token and below is the GET URL I used to download  
_**[https://abc12345.live.dynatrace.com/api/v1/deployment/installer/agent/aix/default/version/1.173.314.20190809-152259?flavor=default&arch=all&bitness=all&skipMetadata=false&Api-Token=dt01.DJKDJKE.GPWCWNNTR](https://abc12345.live.dynatrace.com/api/v1/deployment/installer/agent/aix/default/version/1.173.314.20190809-152259?flavor=default&arch=all&bitness=all&skipMetadata=false&Api-Token=dt01.DJKDJKE.GPWCWNNTR)**_

I ran the installer for&nbsp;1.173.314 on the host and checked a agent version under host UI and it was **1.215.163**

2. I checked with Chat support as how installed agent version is showing 1.215.163 when ran the installer for 1.173.314 in reply they asked “Are these host deployed to a PaaS environment?”

Now the question is,

1. Have I deployed the agent using PaaS deployment? (I’m not at all sure on this as I never did this kind of deployment)

If yes, what is the difference in regular and PaaS deployment and Is there a way to check the host which are deployed as PaaS environment?

2. We are successful in installing the OneAgent for unsupported AIX version but will deep dive monitoring work fine? because, I can see the warning message for all processes stating that,

_ **This process isn’t fully monitored** _  
_ **Deep monitoring of this process has not been setup. You’re missing out on crucial process- and service-level monitoring insights. Enable monitoring as described** _

 ![AK_0-1621520420018.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/7/b769e9339accab2d9925484809c455387537f834.png)

Regards,

AK

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [May 28, 2021, 7:42am UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/16 "2021-05-28T07:42:21Z")

</div>

Hi [@AK](https://community.dynatrace.com/user/2080)

about the [paas token](https://www.dynatrace.com/support/help/shortlink/token#paas-token-) it’s good that you found the solution on your own!  
From my understanding you only downloaded the agent with a paas token e then you installed it on an local AIX host via shell script.  
So you should have deployed the agent in a “business as usual way”. I’m not aware of any difference.

About the version of oneagent on which you are now: you can download the support archive from the host page WebUI by clicking the “three dotted button” an then clicking the “Run One Agent Diagnostic” button.

After you download the archive locally, you open the zip and you go here

\SupportArchive\*\*\*.zip\host\

you open the host\_entity.json and you look for “INSTALLER\_VERSION”.

This way you’ll know for sure on which version of oneagent you are and you can act accordingly to the doc for the deep instrumentation process:

> **[Install OneAgent on AIX](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/aix/installation/install-oneagent-on-aix)**
>
> Learn how to download and install Dynatrace OneAgent on AIX, including VIOS installation and manual injection for process monitoring.

Again, no guarantiee since you are installing on a system that is out of support (if you have a pre-prod environment or host I strongly suggest you experiment there first 🙂 )

Let us know how it went!

---

<div class="post-metadata">

**Author:** ![AK](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ak/32/164_2.png) [@AK](https://community.dynatrace.com/u/AK)\
**Post date:** [June 3, 2021, 1:16pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/17 "2021-06-03T13:16:31Z")

</div>

[@y\_buccellato](https://community.dynatrace.com/user/4804),

Thanks for your kind reply and help. Sorry for so much questions&nbsp;😉.

The good news is, I’m successfully able to do deep dive monitoring for processes on AIX 6.1 now.

I followed the steps given in the [documentation](https://www.dynatrace.com/support/help/technology-support/operating-systems/aix/installation/install-oneagent-on-aix/#expand-configure-oracle-weblogic-via-the-startup-script-3852)&nbsp;(Three lines given in the document added at the start of weblogic startup script) and after restarting the services it worked fine.

 ![AK_0-1622725723851.png](https://global.discourse-cdn.com/dynatrace/original/3X/2/7/27cc368461876c5e4dd7763ece3fb35587856110.png)

As I’m using OneAgent below the 1.187 hence the above steps were necessary.

I didn’t got a chance to check the oneagent version on host via Host UI as I don’t have elevated permissions. (May be, I will check tis once I have sensitive data view permission)

Thanks team for your help and valuable comments. I really appreciate it.

Regards,

AK

---

<div class="post-metadata">

**Author:** ![Yann\_Buccellato](https://avatars.discourse-cdn.com/v4/letter/y/97f17d/32.png) [@Yann\_Buccellato](https://community.dynatrace.com/u/Yann_Buccellato)\
**Post date:** [June 3, 2021, 2:15pm UTC](https://community.dynatrace.com/t/oneagent-installer-for-aix-is-not-working/31088/18 "2021-06-03T14:15:48Z")

</div>

Bravo!
