<?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 Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597) in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65469#M13147</link>
    <description>&lt;P&gt;Thanks for your input. That should work on its own, I'll have to see how feasible it is around here to change registry settings on thousands of machines.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2013 14:45:50 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-09-17T14:45:50Z</dc:date>
    <item>
      <title>Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65467#M13145</link>
      <description>&lt;P&gt;Occasionally, our Windows terminal servers kill the UF service during shutdown, leaving in a stale .pid file behind. This results in Splunk not starting up, requiring manual interaction. With a large number of Windows machines that's not an option, I'm looking for a workaround - Splunk Support currently doesn't have a bug-fix schedule for me.&lt;/P&gt;

&lt;P&gt;I see two ways: Either clean up the .pid file through a custom script/whatever, or make the UF shut down more quickly to skirt around the killing of the service during Windows shutdown.&lt;BR /&gt;
How do you handle this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 10:59:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65467#M13145</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-09-17T10:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65468#M13146</link>
      <description>&lt;P&gt;Hi martin_mueller&lt;/P&gt;

&lt;P&gt;you forgot the third option, increasing the &lt;CODE&gt;waittokill&lt;/CODE&gt; registry entry in Windows. I did not test it, but maybe this would be a way to go for you.&lt;/P&gt;

&lt;P&gt;In &lt;CODE&gt;HEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control&lt;/CODE&gt; you will find the string  &lt;CODE&gt;WaitToKillServiceTimeout&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;If you double click it and then in the &amp;gt; Edit String window, change the &amp;gt; Value data from the default of 12000 (12 seconds) to whatever. (Click OK to save the change).&lt;/P&gt;

&lt;P&gt;hope this helps...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 11:56:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65468#M13146</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2013-09-17T11:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65469#M13147</link>
      <description>&lt;P&gt;Thanks for your input. That should work on its own, I'll have to see how feasible it is around here to change registry settings on thousands of machines.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2013 14:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65469#M13147</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-09-17T14:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65470#M13148</link>
      <description>&lt;P&gt;In the release notes for 5.0.5 I see this entry:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;• „Splunk on Windows does not start/restart properly with deployment server, fails with FATAL loader - Timed out waiting for config lock; see splunkd_stderr.log for details. Exiting. (SPL-70075)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This feels similar to my issue, the logged events in case of a start failure are the same. Can anyone confirm this feeling?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2013 07:59:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65470#M13148</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-09-26T07:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65471#M13149</link>
      <description>&lt;P&gt;I've done some more testing, and 5.0.5 does not fix this issue. Additionally, I've now found precise steps to reproduce, tested under 5.0.1 and 5.0.5:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Start a UF as a Windows Service&lt;/LI&gt;
&lt;LI&gt;Kill the process&lt;/LI&gt;
&lt;LI&gt;Edit the conf-mutator.pid file in /var/run/splunk to change the PID to the PID of an existing process. This simulates that during the UF being down a different process has been assigned its old PID. During system startup the chances for this are considerable.&lt;/LI&gt;
&lt;LI&gt;Attempt to start the UF service. This will fail with logged events like this: FATAL loader - Timed out waiting for config lock&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 30 Sep 2013 13:53:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65471#M13149</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-09-30T13:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65472#M13150</link>
      <description>&lt;P&gt;The key problem here is that during startup the forwarder (both Windows and Linux) do only check whether their old PID exists as a process, but do not check whether that process actually is a Splunk process. As a result, the forwarder believes it already is running if a different process happens to have the old Splunk PID.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2013 13:59:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65472#M13150</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-09-30T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65473#M13151</link>
      <description>&lt;P&gt;I have now tested this with 6.0, and the issue exists there as well.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 07:15:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65473#M13151</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-10-01T07:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65474#M13152</link>
      <description>&lt;P&gt;I have the same issue.&lt;/P&gt;

&lt;P&gt;I just opened a support case to see if they have any plan to find a viable solution ([141636])&lt;/P&gt;

&lt;P&gt;Kind regards,&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2013 12:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65474#M13152</guid>
      <dc:creator>letienne</dc:creator>
      <dc:date>2013-10-31T12:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65475#M13153</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/ReleaseNotes/6.1.4"&gt;http://docs.splunk.com/Documentation/Splunk/latest/ReleaseNotes/6.1.4&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Resolved : Startup script should handle stale PID files gracefully after server crashes. (SPL-36597) &lt;/P&gt;

&lt;P&gt;,&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 08:08:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65475#M13153</guid>
      <dc:creator>dshakespeare_sp</dc:creator>
      <dc:date>2014-10-01T08:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65476#M13154</link>
      <description>&lt;P&gt;Awesome, thanks David!&lt;/P&gt;

&lt;P&gt;I don't have the means to test right now, does that fix apply to both full and UF installs on both Windows and Unix platforms?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 17:18:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65476#M13154</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-10-01T17:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a workaround for Windows UFs not starting up after an improper shutdown (SPL-36597)</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65477#M13155</link>
      <description>&lt;P&gt;This should work for both *ix and Windows I believe &lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2014 07:15:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Looking-for-a-workaround-for-Windows-UFs-not-starting-up-after/m-p/65477#M13155</guid>
      <dc:creator>dshakespeare_sp</dc:creator>
      <dc:date>2014-10-02T07:15:27Z</dc:date>
    </item>
  </channel>
</rss>

