<?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: &amp;quot;Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment&amp;quot; in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300984#M5199</link>
    <description>&lt;P&gt;The environment variable is not set by default anywhere.  In *NIX bash shell, you can put this in &lt;CODE&gt;~/.bash_profile&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;export SPLUNK_HOME="/opt/splunk"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 08 Jul 2017 22:05:17 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-07-08T22:05:17Z</dc:date>
    <item>
      <title>"Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300980#M5195</link>
      <description>&lt;P&gt;$ cd /opt/splunkforwarder/bin&lt;BR /&gt;
$ ./splunk status&lt;BR /&gt;
Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment&lt;/P&gt;

&lt;P&gt;When ./splunk status command is executed in Splunk Forwarder's bin folder, the above mentioned splunk home error is getting displayed.&lt;/P&gt;

&lt;P&gt;Please suggest me a way to resolve this issue.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 11:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300980#M5195</guid>
      <dc:creator>madhanbaskar</dc:creator>
      <dc:date>2017-07-07T11:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: "Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300981#M5196</link>
      <description>&lt;P&gt;check the splunk-launch.conf at .../splunkforwarder/etc/&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:19:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300981#M5196</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-07-07T12:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: "Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300982#M5197</link>
      <description>&lt;P&gt;On the server where you are trying to run ./splunk status set the environment variable using export.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300982#M5197</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-07-07T12:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: "Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300983#M5198</link>
      <description>&lt;P&gt;Please note the addition of the line in the middle:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$ cd /opt/splunkforwarder/bin
$ . setSplunkEnv
$ ./splunk status
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jul 2017 15:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300983#M5198</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-07-07T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: "Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300984#M5199</link>
      <description>&lt;P&gt;The environment variable is not set by default anywhere.  In *NIX bash shell, you can put this in &lt;CODE&gt;~/.bash_profile&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;export SPLUNK_HOME="/opt/splunk"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Jul 2017 22:05:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300984#M5199</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-08T22:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: "Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300985#M5200</link>
      <description>&lt;P&gt;Based on &lt;A href="https://answers.splunk.com/answers/71948/could-not-determine-splunk-home-perhaps-it-should-be-set-in-environment.html"&gt;Could not determine $SPLUNK_HOME, perhaps it should be set in environment&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It might be related to permissions to run the splunk binary. It says -&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3176iD63D3B1DDC91581E/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Jul 2017 00:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/quot-Couldn-t-determine-SPLUNK-HOME-perhaps-it-should-be-set-in/m-p/300985#M5200</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-07-09T00:40:58Z</dc:date>
    </item>
  </channel>
</rss>

