<?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: Splunk Hanging During Restart in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141549#M9747</link>
    <description>&lt;P&gt;I have opened a case, we will work with you to figure this out. Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 19 Nov 2013 20:10:34 GMT</pubDate>
    <dc:creator>aelliott</dc:creator>
    <dc:date>2013-11-19T20:10:34Z</dc:date>
    <item>
      <title>Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141539#M9737</link>
      <description>&lt;P&gt;Since installing DB Connect 1.1.1 our Splunk Instance has had issues restarting. It always Hangs and when we restart splunkd and splunkweb, splunk still does not come back and we have to restart the machine itself.&lt;/P&gt;

&lt;P&gt;Note: it appears that both services go down and do not come back up.&lt;/P&gt;

&lt;P&gt;I saw this in the log at the end of the shutdown process&lt;BR /&gt;
11-13-2013 14:54:02.757 -0600 WARN  ProcessRunner - Process with pid 2352 did not exit within a given grace period after being signaled to exit. Will have to forcibly terminate.&lt;BR /&gt;
11-13-2013 14:54:02.757 -0600 WARN  ProcessRunner - Process with pid 2352 did not forcibly terminate, status 0x0&lt;BR /&gt;
11-13-2013 14:54:02.757 -0600 INFO  IndexProcessor - handleSignal signum=0: Disabling streaming searches.&lt;BR /&gt;
11-13-2013 14:54:02.757 -0600 INFO  IndexProcessor - request state change from=SHUTDOWN_COMPLETE to=SHUTDOWN_SIGNALED&lt;BR /&gt;
11-13-2013 14:54:02.897 -0600 INFO  ShutdownHandler - shutting down level "ShutdownLevel_CallbackRunner"&lt;BR /&gt;
11-13-2013 14:54:02.897 -0600 INFO  ShutdownHandler - Shutdown complete in 37.89 seconds&lt;BR /&gt;
11-13-2013 14:54:02.897 -0600 INFO  loader - All pipelines finished.&lt;/P&gt;

&lt;P&gt;Uninstalling DBX gets rid of this issue, but we'd like to still use it.&lt;/P&gt;

&lt;P&gt;System Log on the machine states:&lt;BR /&gt;
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the Splunkd service.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141539#M9737</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2020-09-28T15:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141540#M9738</link>
      <description>&lt;P&gt;We found the resolution, we Uninstalled DB Connect.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 22:44:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141540#M9738</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-11-18T22:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141541#M9739</link>
      <description>&lt;P&gt;After a system restart, dbx works?  Were you able to configure inputs with dbx between splunk restarts?&lt;/P&gt;

&lt;P&gt;When you restart splunk, are you doing it from the command prompt with administrator permissions?  And, if so are there any errors displayed in the command window?&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2013 23:48:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141541#M9739</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-18T23:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141542#M9740</link>
      <description>&lt;P&gt;I use the restart feature built within the UI.&lt;BR /&gt;
DBX worked between restarts yes.&lt;BR /&gt;
The error logs do not show any errors except the one I posted above, the timeout in the Event Viewer.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:13:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141542#M9740</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-11-19T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141543#M9741</link>
      <description>&lt;P&gt;Restart it from the command prompt and watch for errors:&lt;/P&gt;

&lt;P&gt;splunk\bin\splunk  restart&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:16:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141543#M9741</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-19T14:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141544#M9742</link>
      <description>&lt;P&gt;We uninstalled it and do not have intentions of installing it again, it has already taken too much of our time, DB Connect that is.&lt;BR /&gt;
However we will run the restart to be sure that there are no errors on our dev system.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 14:19:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141544#M9742</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-11-19T14:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141545#M9743</link>
      <description>&lt;P&gt;What I have noticed on a windows box... When you initiate a Splunk restart with DBConnect installed you have a 50/50 chance of it working. DBConnect/Splunk does not properly shutdown the java.exe process which has a lock on the port used by splunk.  So when splunk attempts to start again it will not be able to open the required port currently held by the hung java.exe process. &lt;/P&gt;

&lt;P&gt;In order to do a proper restart with DBConnect installed you basically have to create a batch job with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Splunk Stop
&amp;lt;command to kill Java.exe&amp;gt; Eg taskkill /im java.exe /f
Splunk Start
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141545#M9743</guid>
      <dc:creator>MartinMcNutt</dc:creator>
      <dc:date>2013-11-19T15:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141546#M9744</link>
      <description>&lt;P&gt;Ouch, that seems like a bug to me. &lt;BR /&gt;
In fact it looks like they marked this issue as a "Fixed Problem". &lt;BR /&gt;
On Windows 2008 R2 (64-bit) server, when the splunkd process was killed, the Java Bridge Server continued to run and did not release management port 8089. This prevented Splunk from restarting. (DBX-314)&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 15:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141546#M9744</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-11-19T15:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141547#M9745</link>
      <description>&lt;P&gt;If you have long-running searches in progress (dbmon-tail, for example), the java bridge will not be shut down in an attempt to preserve data integrity.  We did fix DBX-314, but there could be other potential issues on Windows that we haven't found yet.  It would be great if you could open a support case so we can diagnose what was going on and improve the product.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 17:07:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141547#M9745</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2013-11-19T17:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141548#M9746</link>
      <description>&lt;P&gt;Thanks...As soon as we get my Splunk 6.0.0.2 system under control I will revisit and make sure I am running the latest version. &lt;/P&gt;

&lt;P&gt;I think splunk support has my name up on the dart board right now. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 18:13:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141548#M9746</guid>
      <dc:creator>MartinMcNutt</dc:creator>
      <dc:date>2013-11-19T18:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141549#M9747</link>
      <description>&lt;P&gt;I have opened a case, we will work with you to figure this out. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 20:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141549#M9747</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-11-19T20:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141550#M9748</link>
      <description>&lt;P&gt;If the person hitting the restart button through the UI, does not have permissions to the actual server, could there be issues there?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 21:48:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141550#M9748</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-11-19T21:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141551#M9749</link>
      <description>&lt;P&gt;I think you mean that the user trying to stop Splunk from the UI is not a Splunk admin.  In that case, they shouldn't be able to see the restart button from the UI, but if they somehow can, then no, they should not be able to effect a restart of Splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 21:53:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141551#M9749</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2013-11-19T21:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141552#M9750</link>
      <description>&lt;P&gt;I am a splunk admin.. anyway.&lt;BR /&gt;
Here is what is preventing splunk from starting up:&lt;BR /&gt;
Checking prerequisites...&lt;BR /&gt;
      Checking http port [8000]: open&lt;BR /&gt;
      Checking mgmt port [8090]: already bound&lt;BR /&gt;
ERROR: The mgmt port [8090] is already bound. Splunk needs to use this port.&lt;BR /&gt;
Would you like to change ports? [y/n]:&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 22:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141552#M9750</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-11-19T22:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141553#M9751</link>
      <description>&lt;P&gt;Yes, I understand the nature of the problem is that port 8090 (the splunkd port) is still bound to the previous splunk pid.  This is something we have seen on Windows in a few different manifestations.  We will be happy to work with you to resolve the issue through the support case.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 22:22:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141553#M9751</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2013-11-19T22:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141554#M9752</link>
      <description>&lt;P&gt;I've seen those errors before when I was trying to configure dbx, but they went away once I configured dbx.&lt;BR /&gt;
When I saw those errors I would answer no, and them I would either restart java from task manager, and or, delete the pid or lock file from splunk\var\run\splunk\&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2013 23:13:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141554#M9752</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-19T23:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Hanging During Restart</title>
      <link>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141555#M9753</link>
      <description>&lt;P&gt;Anti-virus was causing this issue. Our anti-virus was locking indexes and key files that did not allow splunk to operate normally. Once we added exceptions, Splunk worked normally.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 16:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Splunk-Hanging-During-Restart/m-p/141555#M9753</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2013-12-09T16:01:10Z</dc:date>
    </item>
  </channel>
</rss>

