<?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 Error message when uninstalling Oneagent in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Error-message-when-uninstalling-Oneagent/m-p/127363#M15866</link>
    <description>&lt;P&gt;An error message was displayed when uninstalling Oneagent Linux.&lt;/P&gt;&lt;P&gt;Confirmed that "semanage" is not installed. &lt;/P&gt;&lt;P&gt;Is the uninstallation successful?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;******************************&lt;/P&gt;&lt;P&gt;[root@ket-bat11 agent]# /home/dynatrace/agentuninstall.sh/uninstall.sh&lt;/P&gt;&lt;P&gt;16:55:05 Checking root privileges...&lt;/P&gt;&lt;P&gt;16:55:05 OK&lt;/P&gt;&lt;P&gt;16:55:05 Removing entries for preloading&lt;/P&gt;&lt;P&gt;16:55:05 Using SysV to stop the agent&lt;/P&gt;&lt;P&gt;16:55:12 Removing Dynatrace OneAgent from autostart&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagent from /etc/init.d&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagentproc from system folders&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagentproc from /lib&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagentproc from /lib64&lt;/P&gt;&lt;P&gt;16:55:12 Cleaning up /opt/dynatrace/oneagent/agent. Part of configuration preserved in /var/lib/dynatrace/oneagent&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/home/dynatrace/agent/uninstall.sh: line 465: semanage: Command not found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;16:55:12 Removing Dynatrace SELinux policies.&lt;/P&gt;&lt;P&gt;16:55:14 Uninstallation finished successfully&lt;/P&gt;&lt;P&gt;******************************&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Feb 2020 09:56:47 GMT</pubDate>
    <dc:creator>Shirai</dc:creator>
    <dc:date>2020-02-20T09:56:47Z</dc:date>
    <item>
      <title>Error message when uninstalling Oneagent</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Error-message-when-uninstalling-Oneagent/m-p/127363#M15866</link>
      <description>&lt;P&gt;An error message was displayed when uninstalling Oneagent Linux.&lt;/P&gt;&lt;P&gt;Confirmed that "semanage" is not installed. &lt;/P&gt;&lt;P&gt;Is the uninstallation successful?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;******************************&lt;/P&gt;&lt;P&gt;[root@ket-bat11 agent]# /home/dynatrace/agentuninstall.sh/uninstall.sh&lt;/P&gt;&lt;P&gt;16:55:05 Checking root privileges...&lt;/P&gt;&lt;P&gt;16:55:05 OK&lt;/P&gt;&lt;P&gt;16:55:05 Removing entries for preloading&lt;/P&gt;&lt;P&gt;16:55:05 Using SysV to stop the agent&lt;/P&gt;&lt;P&gt;16:55:12 Removing Dynatrace OneAgent from autostart&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagent from /etc/init.d&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagentproc from system folders&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagentproc from /lib&lt;/P&gt;&lt;P&gt;16:55:12 Removing oneagentproc from /lib64&lt;/P&gt;&lt;P&gt;16:55:12 Cleaning up /opt/dynatrace/oneagent/agent. Part of configuration preserved in /var/lib/dynatrace/oneagent&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/home/dynatrace/agent/uninstall.sh: line 465: semanage: Command not found&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;16:55:12 Removing Dynatrace SELinux policies.&lt;/P&gt;&lt;P&gt;16:55:14 Uninstallation finished successfully&lt;/P&gt;&lt;P&gt;******************************&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 09:56:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Error-message-when-uninstalling-Oneagent/m-p/127363#M15866</guid>
      <dc:creator>Shirai</dc:creator>
      <dc:date>2020-02-20T09:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when uninstalling Oneagent</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Error-message-when-uninstalling-Oneagent/m-p/127364#M15867</link>
      <description>&lt;P&gt;If script reached it's end (it is, you see it in last line) in general everything should be uninstalled properly. &lt;/P&gt;&lt;P&gt;Sebastian &lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 10:05:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Error-message-when-uninstalling-Oneagent/m-p/127364#M15867</guid>
      <dc:creator>skrystosik</dc:creator>
      <dc:date>2020-02-20T10:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when uninstalling Oneagent</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Error-message-when-uninstalling-Oneagent/m-p/127365#M15868</link>
      <description>&lt;P&gt;Hello Toshimasa,&lt;/P&gt;&lt;P&gt;The OneAgent uninstallation is indeed finished, but due to the error you see in the output, i.e. lack of &lt;STRONG&gt;semanage&lt;/STRONG&gt; utility on your host, the uninstall script wasn't able to remove SELinux context for your custom-path OneAgent installation.&lt;/P&gt;&lt;P&gt;The last thing to complete the uninstall in this case is to install &lt;STRONG&gt;semanage &lt;/STRONG&gt;utility onto your host and use it to remove OneAgent contexts manually. You can find out how to do that using semanage docs (e.g. execute &lt;EM&gt;man semanage&lt;/EM&gt; on your machine).&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bartek&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 10:12:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Error-message-when-uninstalling-Oneagent/m-p/127365#M15868</guid>
      <dc:creator>bartosz_pollok</dc:creator>
      <dc:date>2020-02-20T10:12:12Z</dc:date>
    </item>
  </channel>
</rss>

