<?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 Why is Splunkd not starting after a reboot, wih Systemd enable-boot start? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunkd-not-starting-after-a-reboot-wih-Systemd-enable/m-p/593680#M103865</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;We setup splunkd to autostart using systemd.&lt;BR /&gt;-&amp;gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/RunSplunkassystemdservice" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/RunSplunkassystemdservice&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but when the linux server reboot, we did no see Splunkd starting, we had to manually start it.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 17:14:37 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2022-04-14T17:14:37Z</dc:date>
    <item>
      <title>Why is Splunkd not starting after a reboot, wih Systemd enable-boot start?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunkd-not-starting-after-a-reboot-wih-Systemd-enable/m-p/593680#M103865</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;We setup splunkd to autostart using systemd.&lt;BR /&gt;-&amp;gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/RunSplunkassystemdservice" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/RunSplunkassystemdservice&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;but when the linux server reboot, we did no see Splunkd starting, we had to manually start it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 17:14:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunkd-not-starting-after-a-reboot-wih-Systemd-enable/m-p/593680#M103865</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2022-04-14T17:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Splunkd not starting after a reboot, wih Systemd enable-boot start</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunkd-not-starting-after-a-reboot-wih-Systemd-enable/m-p/593681#M103866</link>
      <description>&lt;P&gt;TL;DR : you need systemd setup AND splunkd service enabled for it to kick in.&lt;/P&gt;&lt;P&gt;____&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1) Check if you have the systemd script setup :&lt;BR /&gt;&lt;SPAN class=""&gt;/etc/systemd/system/Splunkd.service&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;2) check if the Splunkd service is enabled&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;systemctl status Splunkd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;when it's enabled and started, you will see&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;● Splunkd.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'
   Loaded: loaded (/etc/systemd/system/Splunkd.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2022-04-13 14:46:44 UTC; 4h 46min ago
 Main PID: 982 (splunkd)
   Memory: 1.0G (limit: 1.7G)
   CGroup: /system.slice/Splunkd.service
           ├─ 982 splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd
           ├─1756 [splunkd pid=982] splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd [process-runner]
           ├─2279 mongod --dbpath=/opt/splunk/var/lib/splunk/kvstore/mongo --storageEngine=mmapv1 --port=8191 --timeStampFormat=iso8601-utc --smallfiles --oplogSize...
           ├─2408 /opt/splunk/bin/python3.7 -O /opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/&lt;A href="http://root.py" target="_blank" rel="noopener"&gt;root.py&lt;/A&gt; --proxied=127.0.0.1,8065,8000
           └─2411 /opt/splunk/bin/splunkd instrument-resource-usage -p 8089 --with-kvstore&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If it's disabled and not started you will see&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt; Splunkd.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'
   Loaded: loaded (/etc/systemd/system/Splunkd.service; disabled; vendor preset: disabled)&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;if it's disabled but was manually started you will see&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt; Splunkd.service - Systemd service file for Splunk, generated by 'splunk enable boot-start'
   Loaded: loaded (/etc/systemd/system/Splunkd.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2022-04-13 14:46:44 UTC; 4h 51min ago
 Main PID: 982 (splunkd)
   CGroup: /system.slice/Splunkd.service
           ├─ 982 splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd
           ├─1756 [splunkd pid=982] splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd [process-runner]
           ├─2279 mongod --dbpath=/opt/splunk/var/lib/splunk/kvstore/mongo --storageEngine=mmapv1 --port=8191 --timeStampFormat=iso8601-utc --smallfiles --oplogSize...
           ├─2408 /opt/splunk/bin/python3.7 -O /opt/splunk/lib/python3.7/site-packages/splunk/appserver/mrsparkle/&lt;A href="http://root.py" target="_blank" rel="noopener"&gt;root.py&lt;/A&gt; --proxied=127.0.0.1,8065,8000
           └─2411 /opt/splunk/bin/splunkd instrument-resource-usage -p 8089 --with-kvstore&lt;/PRE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;if you do not see it enabled, enable it&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;systemctl enable Splunkd&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;Then it should autostart when you reboot your server.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 21:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunkd-not-starting-after-a-reboot-wih-Systemd-enable/m-p/593681#M103866</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2022-04-13T21:32:21Z</dc:date>
    </item>
  </channel>
</rss>

