# STARTUP\_ERROR, total restarts - 1

**URL:** <https://community.dynatrace.com/t/startup-error-total-restarts-1/48578>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [October 28, 2024, 6:57am UTC](https://community.dynatrace.com/t/startup-error-total-restarts-1/48578 "2024-10-28T06:57:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guptasahil942](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@guptasahil942](https://community.dynatrace.com/u/guptasahil942)\
**Post date:** [October 28, 2024, 6:57am UTC](https://community.dynatrace.com/t/startup-error-total-restarts-1/48578/1 "2024-10-28T06:57:37Z")

</div>

I am unable to distribute and Run the Extension to OneAgent.

I have added the ca.pem file (root certificate) to location:

- Windows : C:\ProgramData\dynatrace\oneagent\agent\config\certificates on OneAgent.
- Linux : /var/lib/dynatrace/oneagent/agent/config/certificates

I created an extension for testing purposes, which only sends hardcoded logs. The extension is running fine on Windows server. But it is giving error on Linux server.

For linux, 777 permissions have also been given to the ca.pem file .

 ![guptasahil942_0-1730098538719.png](https://global.discourse-cdn.com/dynatrace/original/2X/0/05bca8e45b4c1f698ad6ecd129688452d91347b8.png)

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [October 28, 2024, 7:13am UTC](https://community.dynatrace.com/t/startup-error-total-restarts-1/48578/2 "2024-10-28T07:13:44Z")

</div>

Maybe you built the extension on Windows and included a Python library with native components? The full log is needed to troubleshoot it accurately.

---

<div class="post-metadata">

**Author:** ![guptasahil942](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@guptasahil942](https://community.dynatrace.com/u/guptasahil942)\
**Post date:** [October 28, 2024, 7:23am UTC](https://community.dynatrace.com/t/startup-error-total-restarts-1/48578/3 "2024-10-28T07:23:49Z")

</div>

The Extension was built on Windows server. But , it does not have anything which should be windows specific. Below is the snip of code:

 ![guptasahil942_0-1730100063667.png](https://global.discourse-cdn.com/dynatrace/original/2X/7/75560b766510cab9676f92ea156592bcbd508c3a.png)

 ![guptasahil942_1-1730100095706.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/b/bb0ccc1023e68e7cb7a83658001ca442c161782b.png)

 ![guptasahil942_3-1730100129388.png](https://global.discourse-cdn.com/dynatrace/original/3X/6/3/6383df4a6f7ab466bef770ba3c50dce91eab303b.png)

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [October 28, 2024, 8:14am UTC](https://community.dynatrace.com/t/startup-error-total-restarts-1/48578/4 "2024-10-28T08:14:49Z")

</div>

That looks fine. You or support would have to look at the log files of the extension execution controller.
