<?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 Why does the Splunk Universal Forwarder shut down after assigning app to client for upgrade? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Why-does-the-Splunk-Universal-Forwarder-shut-down-after/m-p/635371#M12471</link>
    <description>&lt;P&gt;Hello, I am upgrading 800 splunk universal forwarders with Red Hat Linux OS. Using this custom &lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/upgrading-linux-forwarders-using-the-deployment-server.html?locale=en_us" target="_self"&gt;app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I assign this custom app to&amp;nbsp; the universal forwarders, it shuts down and does not start again. With version&amp;nbsp; 7.2.6, it works fine. With no issue. Anything after that version, the script does not work.&lt;/P&gt;&lt;P&gt;03-21-2023 12:26:05.128 -0500 INFO PipelineComponent - Performing early shutdown tasks&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO loader - Shutdown HTTPDispatchThread&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - Shutting down splunkd&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - shutting down level "ShutdownLevel_Begin"&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - shutting down level "ShutdownLevel_FileIntegrityChecker"&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - shutting down level "ShutdownLevel_JustBeforeKVStore&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 17:33:29 GMT</pubDate>
    <dc:creator>mygoalfinder</dc:creator>
    <dc:date>2023-03-21T17:33:29Z</dc:date>
    <item>
      <title>Why does the Splunk Universal Forwarder shut down after assigning app to client for upgrade?</title>
      <link>https://community.splunk.com/t5/Installation/Why-does-the-Splunk-Universal-Forwarder-shut-down-after/m-p/635371#M12471</link>
      <description>&lt;P&gt;Hello, I am upgrading 800 splunk universal forwarders with Red Hat Linux OS. Using this custom &lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/upgrading-linux-forwarders-using-the-deployment-server.html?locale=en_us" target="_self"&gt;app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When I assign this custom app to&amp;nbsp; the universal forwarders, it shuts down and does not start again. With version&amp;nbsp; 7.2.6, it works fine. With no issue. Anything after that version, the script does not work.&lt;/P&gt;&lt;P&gt;03-21-2023 12:26:05.128 -0500 INFO PipelineComponent - Performing early shutdown tasks&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO loader - Shutdown HTTPDispatchThread&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - Shutting down splunkd&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - shutting down level "ShutdownLevel_Begin"&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - shutting down level "ShutdownLevel_FileIntegrityChecker"&lt;BR /&gt;03-21-2023 12:26:05.128 -0500 INFO ShutdownHandler - shutting down level "ShutdownLevel_JustBeforeKVStore&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 17:33:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-does-the-Splunk-Universal-Forwarder-shut-down-after/m-p/635371#M12471</guid>
      <dc:creator>mygoalfinder</dc:creator>
      <dc:date>2023-03-21T17:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk Universal Forwarder shut down after assigning app to client for upgrade?</title>
      <link>https://community.splunk.com/t5/Installation/Why-does-the-Splunk-Universal-Forwarder-shut-down-after/m-p/635377#M12472</link>
      <description>&lt;P&gt;Ugh. You should _not_ do that. Trying to manipulate stuff outside of directories managed by Splunk (and trying to overwrite whole $SPLUNK_HOME is just that generally speaking) is asking for trouble.&lt;/P&gt;&lt;P&gt;Same goes for using a script spawned from splunkd to shut down splunkd - there's no guarantee that splunkd will not kill hard all its child processes (in fact I'd count on it).&lt;/P&gt;&lt;P&gt;Not to mention troubleshooting this whole process and such (which you've just shown).&lt;/P&gt;&lt;P&gt;So no, ugly hacks using scripting is not a replacement for a configuration management software. BTW, you're using RH - why install from tarball when you have a well working RPM archive?I'd rather go for creating a custom repo containing the forwarder RPMs and autoyum if I didn't have any external tools.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 18:15:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-does-the-Splunk-Universal-Forwarder-shut-down-after/m-p/635377#M12472</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-03-21T18:15:07Z</dc:date>
    </item>
  </channel>
</rss>

