<?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 Error starting Splunk6 after install in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198647#M3143</link>
    <description>&lt;P&gt;I'm unable to start Splunk 6 after installing in /opt/splunk/&lt;/P&gt;

&lt;P&gt;After trying to start splunk via ./splunk start, or check status with ./splunk status, I get this message:&lt;/P&gt;

&lt;P&gt;"Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"&lt;/P&gt;

&lt;P&gt;Your help with getting passed this would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2014 01:49:04 GMT</pubDate>
    <dc:creator>_gkollias</dc:creator>
    <dc:date>2014-03-25T01:49:04Z</dc:date>
    <item>
      <title>Error starting Splunk6 after install</title>
      <link>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198647#M3143</link>
      <description>&lt;P&gt;I'm unable to start Splunk 6 after installing in /opt/splunk/&lt;/P&gt;

&lt;P&gt;After trying to start splunk via ./splunk start, or check status with ./splunk status, I get this message:&lt;/P&gt;

&lt;P&gt;"Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment"&lt;/P&gt;

&lt;P&gt;Your help with getting passed this would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 01:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198647#M3143</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2014-03-25T01:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error starting Splunk6 after install</title>
      <link>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198648#M3144</link>
      <description>&lt;P&gt;Hi KolGr001,&lt;/P&gt;

&lt;P&gt;did you ran &lt;CODE&gt;./splunk&lt;/CODE&gt; with the user account which was used for the install? Usually you will find something like this in your user &lt;CODE&gt;.profile|.bash_profile&lt;/CODE&gt; (change this to your users matching shell):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source /opt/splunk/bin/setSplunkEnv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This will take care of all the needed enviroment setting for your user. Also check on the file permission, if you installed Splunk with your root account, make sure your Splunk service user has the permission to read/write into &lt;CODE&gt;/opt/splunk&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;update: &lt;BR /&gt;
Just tested and if you cannot access or worse, if the file &lt;CODE&gt;/opt/splunk/etc/splunk-launch.conf&lt;/CODE&gt; does not exits you get exactly this message:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;open("/opt/splunk/bin/../etc/splunk-launch.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/opt/splunk/bin/../etc/splunk-launch.conf.default", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "Couldn't determine $SPLUNK_HOME,"..., 73Couldn't determine $SPLUNK_HOME, perhaps it should be set in environment) = 73
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 07:20:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198648#M3144</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-03-25T07:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error starting Splunk6 after install</title>
      <link>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198649#M3145</link>
      <description>&lt;P&gt;Hi MuS,&lt;/P&gt;

&lt;P&gt;Thanks for your response.  I did run ./splunk as splunk user which is the account I installed it on.  I tried what you first suggested and got this message [splunk@serverName bin]$ source /opt/splunk/splunk/bin/setSplunkEnv&lt;BR /&gt;
-bash: eval: line 38: unexpected EOF while looking for matching `''&lt;BR /&gt;
-bash: eval: line 39: syntax error: unexpected end of file&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 11:57:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198649#M3145</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2014-03-25T11:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error starting Splunk6 after install</title>
      <link>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198650#M3146</link>
      <description>&lt;P&gt;looks like your install is messed up. I can reproduce this on my two servers like this in the $SPLUNK_HOME/bin directory ...&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;P&gt;good server, Splunk works&lt;/P&gt;

&lt;P&gt;cd bin/&lt;BR /&gt;
bin]$ source setSplunkEnv&lt;BR /&gt;
bin]$&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;bad server, simply deleted almost everything in /opt/splunk&lt;/P&gt;

&lt;P&gt;cd bin/&lt;BR /&gt;
bin]$ source setSplunkEnv&lt;BR /&gt;
-bash: eval: line 38: unexpected EOF while looking for matching `''&lt;BR /&gt;
-bash: eval: line 39: syntax error: unexpected end of file&lt;/P&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Since this a new setup I suggest to download a fresh copy of Splunk and re-install Splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 12:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198650#M3146</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-03-25T12:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error starting Splunk6 after install</title>
      <link>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198651#M3147</link>
      <description>&lt;P&gt;I was thinking the same thing  - thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2014 13:08:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Error-starting-Splunk6-after-install/m-p/198651#M3147</guid>
      <dc:creator>_gkollias</dc:creator>
      <dc:date>2014-03-25T13:08:43Z</dc:date>
    </item>
  </channel>
</rss>

