<?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 status/start commands giving an invalid status on crashed splunk forwarder in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88974#M22784</link>
    <description>&lt;P&gt;Thanks, just looking to know when the patch will be out.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2012 15:30:05 GMT</pubDate>
    <dc:creator>robjordan_boa</dc:creator>
    <dc:date>2012-10-16T15:30:05Z</dc:date>
    <item>
      <title>Splunk status/start commands giving an invalid status on crashed splunk forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88972#M22782</link>
      <description>&lt;P&gt;I've encountered the following with a crashed splunk forwarder running on 4.3.3 Linux 64-bit.&lt;/P&gt;

&lt;P&gt;Splunk says it’s running….&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ./splunk status
splunkd is running (PID: 14371).
splunk helpers are running (PIDs: 14372).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But a ps –ef shows different&lt;BR /&gt;
No, splunk is not running…&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ps -ef|grep splunk|grep -v grep
splunk    6569  6560  0 18:04 pts/2    00:00:00 -ksh
splunk   26616  6569  0 18:19 pts/2    00:00:00 ps –ef
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Seems different processes have taken over these pids…&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ps -ef|egrep "14371|14372"
root     14371  2387  0 Jul23 ?        00:00:00 [rpciod/27]
root     14372  2387  0 Jul23 ?        00:00:00 [rpciod/28]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk is trying to stop the wrong pid!…&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ./splunk stop
Stopping splunkd...
Shutting down.  Please wait, as this may take a few minutes.
Could not kill pid 14371.                                  [FAILED]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The start command also thinks splunk is running but it is not…&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ./splunk start
The splunk daemon (splunkd) is already running.            [FAILED]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I remove the stale pid file…&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;rm splunkforwarder/var/run/splunk/splunkd.pid
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Splunk now starts…&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ ./splunk start

    Splunk&amp;gt; Like an F-18, bro.

    Checking prerequisites...
            Checking mgmt port [8089]: open
            Checking conf files for typos...
    All preliminary checks passed.

    Starting splunk server daemon (splunkd)... 
                                                               [  OK  ]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've found the following bug metioned in the 4.3.4 documentation.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/4.3.4/ReleaseNotes/KnownIssues"&gt;http://docs.splunk.com/Documentation/Splunk/4.3.4/ReleaseNotes/KnownIssues&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Forwarder startup script should handle stale PID files gracefully after server crashes. (SPL-36597)&lt;/P&gt;

&lt;P&gt;Is this an issue in 4.3.4 as well or corrected in 4.3.4?&lt;/P&gt;

&lt;P&gt;Also, I would like to have the splunk status check that the splunk proceses are running, not just that a pid is running.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Rob&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 21:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88972#M22782</guid>
      <dc:creator>robjordan_boa</dc:creator>
      <dc:date>2012-10-12T21:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk status/start commands giving an invalid status on crashed splunk forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88973#M22783</link>
      <description>&lt;P&gt;as the chapter name says &lt;span class="lia-unicode-emoji" title=":winking_face_with_tongue:"&gt;😜&lt;/span&gt; it a 4.3.4 known issue&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2012 19:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88973#M22783</guid>
      <dc:creator>MarioM</dc:creator>
      <dc:date>2012-10-14T19:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk status/start commands giving an invalid status on crashed splunk forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88974#M22784</link>
      <description>&lt;P&gt;Thanks, just looking to know when the patch will be out.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2012 15:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88974#M22784</guid>
      <dc:creator>robjordan_boa</dc:creator>
      <dc:date>2012-10-16T15:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk status/start commands giving an invalid status on crashed splunk forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88975#M22785</link>
      <description>&lt;P&gt;Thanks, just looking to know when the patch will be out.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2012 15:31:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-status-start-commands-giving-an-invalid-status-on-crashed/m-p/88975#M22785</guid>
      <dc:creator>robjordan_boa</dc:creator>
      <dc:date>2012-10-16T15:31:14Z</dc:date>
    </item>
  </channel>
</rss>

