# Active Gate Installation issue

**URL:** <https://community.dynatrace.com/t/active-gate-installation-issue/21284>\
**Category:** Open Q&A\
**Tags:** installation, activegate\
**Created:** [January 20, 2021, 7:19pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284 "2021-01-20T19:19:36Z")\
**Posts on this page:** 15\
**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:** [January 20, 2021, 7:19pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/1 "2021-01-20T19:19:36Z")

</div>

Hello Folks,

I would need some help in troubleshooting Active Gate installation which is failing due to following error,

 ![27955-1611170123140.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/1/f12c4bca8c651313209123af13b61a549a034c39.png)

Internet is not enabled on Active Gate server hence we allowed Dynatrace SaaS cluster IPs for communication between AG and Dynatrace on 443 port.

Has anyone encountered with same problem and resolved it successfully?

Regards,

AK

---

<div class="post-metadata">

**Author:** ![JamesKitson](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jameskitson/32/22460_2.png) [@JamesKitson](https://community.dynatrace.com/u/JamesKitson)\
**Post date:** [January 20, 2021, 7:57pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/2 "2021-01-20T19:57:28Z")

</div>

What ActiveGate mode are you installing? Is it for synthetics?

---

<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:** [January 21, 2021, 7:29am UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/3 "2021-01-21T07:29:00Z")

</div>

Its for “[Route OneAgent traffic to Dynatrace, monitor cloud environments, or monitor remote technologies with extensions](https://docs.dynatrace.com/docs/shortlink/activegate-capabilities)”

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [January 21, 2021, 8:13am UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/4 "2021-01-21T08:13:00Z")

</div>

When you enable wget to download binary from SaaS to this ActiveGate server it works properly? (I’m asking in case of network issues). If it works than communication should work as well. Did you check installation logs of AG? Are there anything more?

Sebastian

---

<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:** [January 21, 2021, 12:06pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/5 "2021-01-21T12:06:35Z")

</div>

Yes I was able to download installer via wget successfully. Here is the snippet of logs.  
[ag-logs.txt](https://community.dynatrace.com/uploads/short-url/23zKiwnpHUP8KVFd64UQf472fbG.txt) (2.65 KB)

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [January 21, 2021, 12:16pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/6 "2021-01-21T12:16:28Z")

</div>

Did you try uninstallation of current AG and manual files removal from installation dir? After that try installation again with fresh binary downloaded via wget.

Sebastian

---

<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:** [January 27, 2021, 2:35pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/7 "2021-01-27T14:35:43Z")

</div>

Yes I tried but no luck

Regards,

AK

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [January 27, 2021, 3:39pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/8 "2021-01-27T15:39:18Z")

</div>

Did you try to test with a curl against your tenant? You can try to reach your url

[https://abc12345.live.dynatrace.com:443/communication](https://abc12345.live.dynatrace.com:443/communication)

Also you can try PROXY parameter like descried on [documentation](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/installation/install-an-environment-activegate/)

example:

./Dynatrace-ActiveGate-Linux-x86-1.175.274.sh PROXY=10.0.0.15:8080

---

<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:** [February 1, 2021, 9:44am UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/9 "2021-02-01T09:44:34Z")

</div>

Paco, thanks for your input but I would need more help here, from where do I get proxy details do I need to check with Network Team?

---

<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:** [February 1, 2021, 1:40pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/10 "2021-02-01T13:40:00Z")

</div>

Hello [@Akshay S.](https://answers.dynatrace.com/users/30050/view.html)

Following uninstallation, [log files](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/where-can-i-find-activegate-files/?_ga=2.86945688.1888352045.1612073420-1835851843.1611573879) and part of the configuration are preserved in the ActiveGate installation directory. _ **You’ll have to remove these files manually and then restart the host/server before the new installation** _.

By default, ActiveGate is installed in the following directories on Windows and Linux:

- On Windows: `C:\Program Files\dynatrace\gateway`
- On Linux: `/opt/dynatrace/gateway`

The following link is for the customize AG installation.

> **[Installation](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/installation)**
>
> Learn how to configure ActiveGate

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:** [February 5, 2021, 2:00pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/11 "2021-02-05T14:00:49Z")

</div>

Hi Babar,

I tried already by removing the files manually and but no lock.

Is it possible that if one or more AG is already present in environment and during the installation of new AG, installer will try to communicate with other AGs may be just to check if any other AG is present in the environment or not?

I suspect, because we could see some IPs (In firewall logs) other than IPs present on Deploy **Dynatrace --\> Install ActiveGate --\> Install Linux Environment ActiveGate** page. IPs present on this page are already added onto the firewall exclusion.

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:** [February 7, 2021, 5:47am UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/12 "2021-02-07T05:47:03Z")

</div>

Hello [@Akshay S.](https://answers.dynatrace.com/users/30050/view.html)

ActiveGates are sorted with the following hierarchy:

- Level # 1 Environment ActiveGate
- Level # 2 Cluster ActiveGate
- Level # 3 Embedded ActiveGate

**Communication among ActiveGates** : Environment ActiveGate \> Cluster ActiveGate \> Embedded ActiveGate

Deployment status will show you already installed Enivronement ActiveGates.

In the Cluster Management deployment status, you can see the Environment and Cluster ActiveGates together.

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:** [February 8, 2021, 6:57pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/13 "2021-02-08T18:57:20Z")

</div>

Hi Babar,

We are using SaaS hence no cluster AG in here.

Correct me if I’m wrong, “If we keep installing AGs then they will distribute the load among themselves automatically”. Will it be a case here that, new AG installer is checking presence of old or already installed AG for future load distribution?

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:** [February 9, 2021, 5:50am UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/14 "2021-02-09T05:50:41Z")

</div>

Hello [@Akshay S.](https://answers.dynatrace.com/users/30050/view.html)

Exactly, they will distribute the load. You can verify the already installed Environment ActiveGate deployment status.

As I mentioned earlier the Environment ActiveGate talks to the Cluster ActiveGate on port 9999 (but you do not have the Cluster ActiveGate).

![28198-1612849732367.png](https://global.discourse-cdn.com/dynatrace/original/3X/d/a/dacedc52f7aac8a5bdc41ce40c22d2a6f29391b7.png)

See the ports you need to open for your ActiveGates.

> **[Supported connectivity schemes for ActiveGates](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/supported-connectivity-schemes-for-activegates)**
>
> Learn about the connectivity priorities between ActiveGate types as well as the priorities between ActiveGates and OneAgents.

If you are doing a customize ActiveGate installation, then have a look at the below link.

> **[Installation](https://docs.dynatrace.com/docs/ingest-from/dynatrace-activegate/installation)**
>
> Learn how to configure ActiveGate

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:** [February 15, 2021, 1:45pm UTC](https://community.dynatrace.com/t/active-gate-installation-issue/21284/15 "2021-02-15T13:45:23Z")

</div>

Hi All,

Thanks for helping till here.

My issue is resolved. Support team helped to diagnose.

Installation was failing as one of the process on host was consuming **999**** 9** port (AG’s default port to accept incoming connections). We stopped the concern process, did the re-installation and it went successful.

**Note:-** Even if the communication from AG to Dynatrace SaaS tenant is successful on 443 port, it would be good to check if AG’s incoming port 9999 (default) is occupied or not.

- If occupied, we can stop that process permanently or restrict that process to use 9999 port.

_ **OR** _

- We can assigned different port to AG (other than 9999) through the custom.properties file. Link added below,

[Configure ActiveGate](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/configure-activegate/?_ga=2.52146144.852592754.1613380735-1117053109.1613380735)

Regards,

AK
