<?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: Why does the Splunk process die during AWS cloud formation? &amp;quot;helper process seems to have died (child killed by signal 15: Terminated&amp;quot; in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211137#M22679</link>
    <description>&lt;P&gt;No, manually works fine - no errors or anything.&lt;BR /&gt;
I did find the issue with the reboot however that was a cloud configuration where it was re-running the cloudformation each reboot.&lt;BR /&gt;&lt;BR /&gt;
Now the issue only remains on new deployments when the cloudformation runs initially, right when it's done with the script the splunk process is killed.&lt;BR /&gt;
And yes, the CFT has been run many times and it's the same result each time.&lt;BR /&gt;
thanks for your help&lt;/P&gt;</description>
    <pubDate>Thu, 04 Aug 2016 18:32:25 GMT</pubDate>
    <dc:creator>a263534</dc:creator>
    <dc:date>2016-08-04T18:32:25Z</dc:date>
    <item>
      <title>Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211133#M22675</link>
      <description>&lt;P&gt;I've got a CF template that does the Splunk configuration for a license/master server and the last step starts the splunk service. I've logged the output and see Splunk starting up fine. Once I log into the EC2 instance, I see Splunk has died.  The splunkd.log shows this error:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;08-03-2016 12:32:40.130 -0400 FATAL ProcessRunner - Unexpected EOF from process runner child!
08-03-2016 12:32:40.130 -0400 ERROR ProcessRunner - helper process seems to have died (child killed by signal 15: Terminated
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Aug 2016 17:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211133#M22675</guid>
      <dc:creator>a263534</dc:creator>
      <dc:date>2016-08-03T17:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211134#M22676</link>
      <description>&lt;P&gt;I think we'll need some more details about how you're deploying Splunk to help.  Are there any more relevant lines in the log?&lt;/P&gt;

&lt;P&gt;In the meantime, there are a few posts about the same error:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/83718/splunkd-died-every-day-with-the-same-error.html"&gt;https://answers.splunk.com/answers/83718/splunkd-died-every-day-with-the-same-error.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/187283/why-did-our-splunk-forwarder-die-getting-error-pro.html"&gt;https://answers.splunk.com/answers/187283/why-did-our-splunk-forwarder-die-getting-error-pro.html&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/212205/splunk-forwarder-did-die-getting-error-processrunn.html"&gt;https://answers.splunk.com/answers/212205/splunk-forwarder-did-die-getting-error-processrunn.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 14:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211134#M22676</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-08-04T14:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211135#M22677</link>
      <description>&lt;P&gt;I'm deploying by using the rpm package and then running commands from the cloud formation template to configure it:&lt;BR /&gt;
/opt/splunk/bin/splunk enable boot-start -user root --accept-license&lt;BR /&gt;
/opt/splunk/bin/splunk start --accept-license&lt;BR /&gt;
/opt/splunk/bin/splunk edit cluster-config -mode master -replication_factor 3 -search_factor 3 -cluster_label splunkmaster&lt;BR /&gt;
/opt/splunk/bin/splunk restart&lt;/P&gt;

&lt;P&gt;Once it starts up it dies right away after the reboot.&lt;BR /&gt;
Manually starting the service it stays up which is very confusing.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211135#M22677</guid>
      <dc:creator>a263534</dc:creator>
      <dc:date>2020-09-29T10:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211136#M22678</link>
      <description>&lt;P&gt;Sounds like something is wrong with your init script.  If you are running as root, you don't need to specify the -user. Does starting manually reveal any errors or prompts?  If you re-run the enable boot-start, does that fix it?  Have you run this cfn template multiple times and had this problem with each cluster you've started?  &lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:23:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211136#M22678</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-08-04T18:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211137#M22679</link>
      <description>&lt;P&gt;No, manually works fine - no errors or anything.&lt;BR /&gt;
I did find the issue with the reboot however that was a cloud configuration where it was re-running the cloudformation each reboot.&lt;BR /&gt;&lt;BR /&gt;
Now the issue only remains on new deployments when the cloudformation runs initially, right when it's done with the script the splunk process is killed.&lt;BR /&gt;
And yes, the CFT has been run many times and it's the same result each time.&lt;BR /&gt;
thanks for your help&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 18:32:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211137#M22679</guid>
      <dc:creator>a263534</dc:creator>
      <dc:date>2016-08-04T18:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211138#M22680</link>
      <description>&lt;P&gt;Gotcha.  You might try doing that last restart by executing /etc/init.d/splunk restart instead.  Its a longshot but maybe when your user-data script completes that causes the splunk processes to exit as well.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 23:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211138#M22680</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-08-04T23:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211139#M22681</link>
      <description>&lt;P&gt;no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 13:15:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211139#M22681</guid>
      <dc:creator>a263534</dc:creator>
      <dc:date>2016-08-05T13:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Splunk process die during AWS cloud formation? "helper process seems to have died (child killed by signal 15: Terminated"</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211140#M22682</link>
      <description>&lt;P&gt;try creating another "job" / "task" to run the restart.  My guess is that the script is being killed because the cloud formation user is exiting which then orphans your process.  You can try nohup for example:&lt;/P&gt;

&lt;P&gt;nohup /opt/splunk/bin/splunk restart &amp;amp;&lt;/P&gt;

&lt;P&gt;Or maybe just backgrounding it will do&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk restart &amp;amp;&lt;/P&gt;

&lt;P&gt;You might even have to disown it before ending your script.&lt;/P&gt;

&lt;P&gt;Maybe even a sleep command would work&lt;/P&gt;

&lt;P&gt;/opt/splunk/bin/splunk restart &amp;amp;&amp;amp; sleep 5&lt;/P&gt;

&lt;P&gt;That would wait for the restart to complete and if successful sleep 5 seconds.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2016 12:16:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-the-Splunk-process-die-during-AWS-cloud-formation-quot/m-p/211140#M22682</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-08-12T12:16:28Z</dc:date>
    </item>
  </channel>
</rss>

