<?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: Can run splunkd in foreground? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47829#M554</link>
    <description>&lt;P&gt;I downvoted this post because this is not an advisable recommendation for production use.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 08:41:23 GMT</pubDate>
    <dc:creator>jrodman</dc:creator>
    <dc:date>2016-04-14T08:41:23Z</dc:date>
    <item>
      <title>Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47818#M543</link>
      <description>&lt;P&gt;Some integration reason I need to run application in foreground by another agent in my company.&lt;BR /&gt;
Is it a way to run Splunk in foreground?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 16:37:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47818#M543</guid>
      <dc:creator>hochit</dc:creator>
      <dc:date>2012-11-28T16:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47819#M544</link>
      <description>&lt;P&gt;Perhaps more details of the scenario would help...&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2012 16:54:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47819#M544</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-11-28T16:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47820#M545</link>
      <description>&lt;P&gt;Nothing special actually. I just want to know if I can run Splunk in foreground instead of daemon. Like most of the other applications that we can make the choice&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2012 01:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47820#M545</guid>
      <dc:creator>hochit</dc:creator>
      <dc:date>2012-11-29T01:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47821#M546</link>
      <description>&lt;P&gt;You're really not explaining &lt;STRONG&gt;why&lt;/STRONG&gt; you want to run it in the foreground.  What is the actual problem you are attempting to solve, that you think having splunkd in the foreground would help?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2012 01:36:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47821#M546</guid>
      <dc:creator>Linegod</dc:creator>
      <dc:date>2012-11-29T01:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47822#M547</link>
      <description>&lt;P&gt;There's a application management agent from my company that would start/stop app and monitor the process status actively. They're using it to run application into background mode. As I know if Splunk is in background already, somehow it would lose control of the process.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2012 01:41:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47822#M547</guid>
      <dc:creator>hochit</dc:creator>
      <dc:date>2012-11-29T01:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47823#M548</link>
      <description>&lt;P&gt;Are you sure the application management agent cannot accept the fact that the app goes into daemon mode on its own, and simply issue the 'restart' option if the process dies?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2012 01:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47823#M548</guid>
      <dc:creator>Linegod</dc:creator>
      <dc:date>2012-11-29T01:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47824#M549</link>
      <description>&lt;P&gt;Did you find a solution or workaround to do this?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2012 23:10:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47824#M549</guid>
      <dc:creator>hovu96-deactiva</dc:creator>
      <dc:date>2012-12-18T23:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47825#M550</link>
      <description>&lt;P&gt;I asked splunk support. Nothing we can do about this.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Dec 2012 01:19:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47825#M550</guid>
      <dc:creator>hochit</dc:creator>
      <dc:date>2012-12-19T01:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47826#M551</link>
      <description>&lt;P&gt;Easy: splunk start splunkd --nodaemon&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2013 16:55:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47826#M551</guid>
      <dc:creator>amrit</dc:creator>
      <dc:date>2013-04-15T16:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47827#M552</link>
      <description>&lt;P&gt;How stable splunkd is in foreground. As such there is no official documentation stating this parameter.&lt;/P&gt;

&lt;P&gt;I have faced such scenarios, if you may suggest something - &lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/189019/why-splunkd-is-exiting-with-retrun-code-2-when-run.html"&gt;https://answers.splunk.com/answers/189019/why-splunkd-is-exiting-with-retrun-code-2-when-run.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 09:17:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47827#M552</guid>
      <dc:creator>luhadia_aditya</dc:creator>
      <dc:date>2016-02-18T09:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47828#M553</link>
      <description>&lt;P&gt;Indeed, --nodaemon involves a few changes in behavior, such as not changing the current directory (to /), which means the current directory of splunkd will be whatever you launched it with, safe or not.  You won't be happy if you unmount the filesystem splunkd has as a current directory, for example.&lt;/P&gt;

&lt;P&gt;We also do not QA splunkd with this flag.  It's intended for testing, troubleshooting and development.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:40:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47828#M553</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2016-04-14T08:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47829#M554</link>
      <description>&lt;P&gt;I downvoted this post because this is not an advisable recommendation for production use.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:41:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47829#M554</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2016-04-14T08:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can run splunkd in foreground?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47830#M555</link>
      <description>&lt;P&gt;But why not?&lt;/P&gt;

&lt;P&gt;This should be the best-supported way to run splunk. All standard linux pid-1 inits work better with foreground processes because it's easy to detect when the process has exited. You have to go to considerable trouble to make them monitor background processes correctly.&lt;/P&gt;

&lt;P&gt;I'm still getting over the fact that splunk doesn't actually ship with any sysvinit-style (or upstart or sysctld...) init scripts.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 23:03:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Can-run-splunkd-in-foreground/m-p/47830#M555</guid>
      <dc:creator>corydodt</dc:creator>
      <dc:date>2016-06-20T23:03:31Z</dc:date>
    </item>
  </channel>
</rss>

