<?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: How to stop/Kill Splunk forwarder after receiving error message in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Kill-Splunk-forwarder-after-receiving-error-message/m-p/394302#M70372</link>
    <description>&lt;P&gt;Have you tried killing splunkd first and then its helpers, then make a clean start?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ./splunk status
 splunkd is running (PID: 9634304).
 splunk helpers are running (PIDs: 18088142).
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; echo "Killing splunkd" ; kill 9634304
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; echo "Killing helpers" ; kill 18088142
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ./splunk start
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Check the forwarder logs for any errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; cd /APPLICATIONS/SPLUNK/currentversion/splunkforwarder/var/log/splunk
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder//var/log/splunk&amp;gt; tail splunkd.log | egrep "ERROR|WARN"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also check this link:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/238155/splunk-process-compulsion-stop.html"&gt;https://answers.splunk.com/answers/238155/splunk-process-compulsion-stop.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jul 2019 18:47:32 GMT</pubDate>
    <dc:creator>jaime_ramirez</dc:creator>
    <dc:date>2019-07-22T18:47:32Z</dc:date>
    <item>
      <title>How to stop/Kill Splunk forwarder after receiving error message</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Kill-Splunk-forwarder-after-receiving-error-message/m-p/394301#M70371</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;/P&gt;

&lt;P&gt;I am facing this issue since past one week. &lt;BR /&gt;
Splunk is not forwarding any logs. I have tried everything to kill the Splunk process. &lt;BR /&gt;
Below are the steps:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Receiving the error&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Stopping splunkd...
Shutting down.  Please wait, as this may take a few minutes.
..........................................................................................................Timed out waiting for splunkd to stop.
The Splunk daemon (splunkd) is already running.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Tried to kill the process but no luck&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ./splunk status
splunkd is running (PID: 9634304).
splunk helpers are running (PIDs: 18088142).

[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ps -ef | grep splunkd | grep -v grep
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt;

[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ps -ef | grep -i splunk | grep -v grep
  splunk 18088142  9634304   0                  0:00 
  splunk  9175578 20316492   0 10:09:34  pts/1  0:00 -ksh
  splunk  8782682  9175578  14 17:40:01  pts/1  0:00 ps -ef
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Removed the PID under var directory and started Splunk again.&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ./splunk start

Splunk&amp;gt; Australian for grep.

Checking prerequisites...
        Checking mgmt port [8089]: already bound
ERROR: The mgmt port [8089] is already bound.  Splunk needs to use this port.
Would you like to change ports? [y/n]: n
Exiting....
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I really appreciate if someone resolves this issue.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 15:49:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Kill-Splunk-forwarder-after-receiving-error-message/m-p/394301#M70371</guid>
      <dc:creator>ramprakash</dc:creator>
      <dc:date>2019-07-22T15:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop/Kill Splunk forwarder after receiving error message</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Kill-Splunk-forwarder-after-receiving-error-message/m-p/394302#M70372</link>
      <description>&lt;P&gt;Have you tried killing splunkd first and then its helpers, then make a clean start?:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ./splunk status
 splunkd is running (PID: 9634304).
 splunk helpers are running (PIDs: 18088142).
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; echo "Killing splunkd" ; kill 9634304
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; echo "Killing helpers" ; kill 18088142
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; ./splunk start
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Check the forwarder logs for any errors:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder/bin&amp;gt; cd /APPLICATIONS/SPLUNK/currentversion/splunkforwarder/var/log/splunk
[Server@splunk]/APPLICATIONS/SPLUNK/currentversion/splunkforwarder//var/log/splunk&amp;gt; tail splunkd.log | egrep "ERROR|WARN"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also check this link:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/238155/splunk-process-compulsion-stop.html"&gt;https://answers.splunk.com/answers/238155/splunk-process-compulsion-stop.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 18:47:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-stop-Kill-Splunk-forwarder-after-receiving-error-message/m-p/394302#M70372</guid>
      <dc:creator>jaime_ramirez</dc:creator>
      <dc:date>2019-07-22T18:47:32Z</dc:date>
    </item>
  </channel>
</rss>

