<?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: Unable to stop splunk in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/393196#M20995</link>
    <description>&lt;P&gt;find and kill any lingering processes that contain "splunk" in their name&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;kill -9 `ps -ef | grep splunk | grep -v grep | awk '{print $2;}'`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then perform splunk service restart/start as splunk&lt;/P&gt;

&lt;P&gt;Hope this helps....&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 18:40:27 GMT</pubDate>
    <dc:creator>muralikoppula</dc:creator>
    <dc:date>2019-04-08T18:40:27Z</dc:date>
    <item>
      <title>Unable to stop splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/393195#M20994</link>
      <description>&lt;P&gt;I run &lt;STRONG&gt;Splunk&lt;/STRONG&gt; as a non-root user named &lt;STRONG&gt;splunk&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;When I try the command &lt;CODE&gt;/opt/splunk/bin/splunk stop&lt;/CODE&gt; I get :&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Stopping splunkd...&lt;BR /&gt;
Shutting down.  Please wait, as this may take a few minutes.&lt;BR /&gt;
Failed to stop Splunkd.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files&lt;BR /&gt;
See system logs and 'systemctl status Splunkd.service' for details.&lt;BR /&gt;
Systemd manages the Splunk service. Use 'systemctl stop Splunkd' to stop the service. Root permission is required. Login as root user or use sudo.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I tried run the command as &lt;STRONG&gt;root&lt;/STRONG&gt; or as &lt;STRONG&gt;splunk&lt;/STRONG&gt; non-root user, nothing change.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 16:00:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/393195#M20994</guid>
      <dc:creator>rdelhorbe</dc:creator>
      <dc:date>2019-04-08T16:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to stop splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/393196#M20995</link>
      <description>&lt;P&gt;find and kill any lingering processes that contain "splunk" in their name&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;kill -9 `ps -ef | grep splunk | grep -v grep | awk '{print $2;}'`
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and then perform splunk service restart/start as splunk&lt;/P&gt;

&lt;P&gt;Hope this helps....&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 18:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/393196#M20995</guid>
      <dc:creator>muralikoppula</dc:creator>
      <dc:date>2019-04-08T18:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to stop splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/574298#M25026</link>
      <description>&lt;P&gt;facing the same issue. were you able to fix this ?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 22:17:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/574298#M25026</guid>
      <dc:creator>dm1</dc:creator>
      <dc:date>2021-11-09T22:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to stop splunk</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/575359#M25051</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/175410"&gt;@rdelhorbe&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233960"&gt;@dm1&lt;/a&gt;&amp;nbsp;, If you are running Splunk as systemd service, then it would be better if you use below command to stop SPLUNK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;systemctl stop Splunkd ( # Stop Splunk )&amp;nbsp;&lt;BR /&gt;systemctl status Splunkd ( # Status Splunk )&lt;BR /&gt;systemctl start Splunkd ( # Start Splunk )&lt;BR /&gt;&lt;BR /&gt;If you have not setup SPLUNK properly to run as systemd service you would need to login with root user to stop it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Refer this page for more details as how to properly configure Splunk to run as systemd service.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/RunSplunkassystemdservice" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.3/Admin/RunSplunkassystemdservice&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 02:32:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unable-to-stop-splunk/m-p/575359#M25051</guid>
      <dc:creator>badrinath_itrs</dc:creator>
      <dc:date>2021-11-18T02:32:01Z</dc:date>
    </item>
  </channel>
</rss>

