<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic OneAgent installation failed on xxxx: Failed to elevate installer process privileges in Dynatrace Managed Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/OneAgent-installation-failed-on-xxxx-Failed-to-elevate-installer/m-p/180030#M1914</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have agent update problems on some hosts. We can see this on the installer logs:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;2022-01-25 10:57:25.895 UTC [b77f9860] info [native] AutoUpdater: Starting update to version 1.231.245.20220112-085307 from: "/var/lib/dynatrace/oneagent/agent/downloads/Dynatrace-OneAgent-Linux-1.231.245.20220112-085307.sh"&lt;BR /&gt;2022-01-25 10:57:25.895 UTC [b77f9860] info [native] AutoUpdater: Enough free space (2434 MiB) available on "/opt/dynatrace/oneagent", needed: 1642 MiB&lt;BR /&gt;2022-01-25 10:57:25.896 UTC [b77f9860] info [native] AutoUpdater: Free system memory: 3336 MB, required: 200 MB&lt;BR /&gt;2022-01-25 10:57:27.229 UTC [b77f9860] info [native] AutoUpdater: Used 184071490 bytes to calculate file sha-256 digest: ee94f81f558808be462dc534d7b8bdf26c916c5f0777494c858b83ecb8ec6235&lt;BR /&gt;2022-01-25 10:57:27.230 UTC [b77f9860] info [native] AutoUpdater: Signature verification successful&lt;BR /&gt;2022-01-25 10:57:27.230 UTC [b77f9860] info [native] AutoUpdater: Starting: "/var/lib/dynatrace/oneagent/agent/downloads/Dynatrace-OneAgent-Linux-1.231.245.20220112-085307.sh"&lt;BR /&gt;2022-01-25 10:57:27.232 UTC [b77f9860] warning [native] AutoUpdater: Setting ambient capabilities failed: Preparation for seting ambient capabilities failed: Failed to set capabilities: error code: 1, error message: Operation not permitted&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] info [native] AutoUpdater: Process created successfully, pid: 11236&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] severe [native] AutoUpdater: Installation failed: exited normally with code 200&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] severe [native] AutoUpdater: Failed to elevate installer process privileges&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] info [native] AutoUpdater: Increased delay between autoupdate attempts to 512 minutes.&lt;BR /&gt;2022-01-25 10:57:30.109 UTC [b67fb860] warning [native] ScopedCapability: Cannot add capability Capability::SYS_RESOURCE to effective set, it is not present in permitted set.&lt;/PRE&gt;
&lt;P&gt;When running the installer as root, no problems.&lt;/P&gt;
&lt;P&gt;Any idea ?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;JP&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 09:54:38 GMT</pubDate>
    <dc:creator>jprio</dc:creator>
    <dc:date>2023-06-16T09:54:38Z</dc:date>
    <item>
      <title>OneAgent installation failed on xxxx: Failed to elevate installer process privileges</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/OneAgent-installation-failed-on-xxxx-Failed-to-elevate-installer/m-p/180030#M1914</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have agent update problems on some hosts. We can see this on the installer logs:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;2022-01-25 10:57:25.895 UTC [b77f9860] info [native] AutoUpdater: Starting update to version 1.231.245.20220112-085307 from: "/var/lib/dynatrace/oneagent/agent/downloads/Dynatrace-OneAgent-Linux-1.231.245.20220112-085307.sh"&lt;BR /&gt;2022-01-25 10:57:25.895 UTC [b77f9860] info [native] AutoUpdater: Enough free space (2434 MiB) available on "/opt/dynatrace/oneagent", needed: 1642 MiB&lt;BR /&gt;2022-01-25 10:57:25.896 UTC [b77f9860] info [native] AutoUpdater: Free system memory: 3336 MB, required: 200 MB&lt;BR /&gt;2022-01-25 10:57:27.229 UTC [b77f9860] info [native] AutoUpdater: Used 184071490 bytes to calculate file sha-256 digest: ee94f81f558808be462dc534d7b8bdf26c916c5f0777494c858b83ecb8ec6235&lt;BR /&gt;2022-01-25 10:57:27.230 UTC [b77f9860] info [native] AutoUpdater: Signature verification successful&lt;BR /&gt;2022-01-25 10:57:27.230 UTC [b77f9860] info [native] AutoUpdater: Starting: "/var/lib/dynatrace/oneagent/agent/downloads/Dynatrace-OneAgent-Linux-1.231.245.20220112-085307.sh"&lt;BR /&gt;2022-01-25 10:57:27.232 UTC [b77f9860] warning [native] AutoUpdater: Setting ambient capabilities failed: Preparation for seting ambient capabilities failed: Failed to set capabilities: error code: 1, error message: Operation not permitted&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] info [native] AutoUpdater: Process created successfully, pid: 11236&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] severe [native] AutoUpdater: Installation failed: exited normally with code 200&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] severe [native] AutoUpdater: Failed to elevate installer process privileges&lt;BR /&gt;2022-01-25 10:57:27.268 UTC [b77f9860] info [native] AutoUpdater: Increased delay between autoupdate attempts to 512 minutes.&lt;BR /&gt;2022-01-25 10:57:30.109 UTC [b67fb860] warning [native] ScopedCapability: Cannot add capability Capability::SYS_RESOURCE to effective set, it is not present in permitted set.&lt;/PRE&gt;
&lt;P&gt;When running the installer as root, no problems.&lt;/P&gt;
&lt;P&gt;Any idea ?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;JP&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 09:54:38 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/OneAgent-installation-failed-on-xxxx-Failed-to-elevate-installer/m-p/180030#M1914</guid>
      <dc:creator>jprio</dc:creator>
      <dc:date>2023-06-16T09:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Agent Update - OneAgent installation failed on xxxx: Failed to elevate installer process privileges</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/OneAgent-installation-failed-on-xxxx-Failed-to-elevate-installer/m-p/183679#M1915</link>
      <description>&lt;P&gt;We had an issue like this where for some reason Linux was changing our permissions. It was hard to track down and I dont quite recall what it was. But the permission level would change randomly, I almost want to say it was security app converting the permission level.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 17:36:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/OneAgent-installation-failed-on-xxxx-Failed-to-elevate-installer/m-p/183679#M1915</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2022-03-30T17:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: Agent Update - OneAgent installation failed on xxxx: Failed to elevate installer process privileges</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/OneAgent-installation-failed-on-xxxx-Failed-to-elevate-installer/m-p/183702#M1916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/47604"&gt;@jprio&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;this could mean some capabilities where removed from a OA binary or the folder structure/ownership changed. Please run a healthcheck to pinpoint files/folders causing a problem&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; # /opt/dynatrace/oneagent/agent/tools/oneagentctl --healthcheck&lt;/LI-CODE&gt;&lt;P&gt;In case of problems the healthcheck will try and recommend a way to remediate the problem, you may see something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(info): [Test Name]: File Capabilities Test
(info): [ID]: 2
(info): [Status]: FAILED
(info): [Action Item]: Reinstall the agent to amend file capabilities and check for external interference.
(info): [Reason]: File capabilties are not set correctly.&lt;/LI-CODE&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 18:27:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-Managed-Q-A/OneAgent-installation-failed-on-xxxx-Failed-to-elevate-installer/m-p/183702#M1916</guid>
      <dc:creator>mark_bley</dc:creator>
      <dc:date>2022-03-30T18:27:21Z</dc:date>
    </item>
  </channel>
</rss>

