<?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: ERROR :: 'homePath'  - what does this mean? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16140#M6753</link>
    <description>&lt;P&gt;I ran into that very scenario this morning.  Removed the [os] block from my $SPLUNK_HOME/etc/local/indexes.conf and recovered right away.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2010 22:55:56 GMT</pubDate>
    <dc:creator>Yancy</dc:creator>
    <dc:date>2010-07-06T22:55:56Z</dc:date>
    <item>
      <title>ERROR :: 'homePath'  - what does this mean?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16138#M6751</link>
      <description>&lt;P&gt;When I try to start Splunk it gives the following output - &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Splunk&amp;gt; CSI: Logfiles. 

Checking prerequisites... 
Checking http port [8000]: open 
Checking mgmt port [8089]: open 
Checking configuration... Done. 
Checking index directory... Done. 
Checking databases... 
ERROR :: 'homePath' 

An error occurred: Could not validate indexes, will not continue (returned 1).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What does this error mean?  Why wont my Splunk start?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2010 01:55:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16138#M6751</guid>
      <dc:creator>mctester</dc:creator>
      <dc:date>2010-06-25T01:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR :: 'homePath'  - what does this mean?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16139#M6752</link>
      <description>&lt;P&gt;This means that Splunk has a problem figuring out where the &lt;CODE&gt;homePath&lt;/CODE&gt; of one of your indexes lives.  Usually it's the result of copying &amp;amp; pasting index settings and forgetting to update the &lt;CODE&gt;homePath&lt;/CODE&gt; for a new directory, so you end up with 2 indexes with the same path.&lt;/P&gt;

&lt;P&gt;Alternatively, it can be the result of not defining an index correctly when editing an &lt;CODE&gt;indexes.conf&lt;/CODE&gt; file by hand.  You may have a typo in the setting, or you may have forgotten it entirely.&lt;/P&gt;

&lt;P&gt;One common fault we find is that an index is created in one app - for example the &lt;CODE&gt;os&lt;/CODE&gt; index in the Unix app - and somehow modified in &lt;CODE&gt;$SPLUNK_HOME/et/system/local/indexes.conf&lt;/CODE&gt;.  If the Unix app then disabled later on for some reason, the next time Splunk starts up, it will see the entry in the &lt;CODE&gt;.../local/indexes.conf&lt;/CODE&gt; file, but won't see the original entry in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/unix/default/indexes.conf&lt;/CODE&gt;, because it has been disabled.  As far as Splunk is concerned, it's being told to apply a setting to an index, but it doesn't know where that index lives.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2010 02:01:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16139#M6752</guid>
      <dc:creator>Mick</dc:creator>
      <dc:date>2010-06-25T02:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR :: 'homePath'  - what does this mean?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16140#M6753</link>
      <description>&lt;P&gt;I ran into that very scenario this morning.  Removed the [os] block from my $SPLUNK_HOME/etc/local/indexes.conf and recovered right away.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2010 22:55:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16140#M6753</guid>
      <dc:creator>Yancy</dc:creator>
      <dc:date>2010-07-06T22:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR :: 'homePath'  - what does this mean?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16141#M6754</link>
      <description>&lt;P&gt;I just ran into it. This is what did it for me:
&lt;A href="http://www.splunk.com/base/Documentation/4.1.4/ReleaseNotes/KnownIssues" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1.4/ReleaseNotes/KnownIssues&lt;/A&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;On the first startup after upgrading,
  you see the message - Checking
  databases... ERROR :: 'homePath' - In
  the 4.1.4 build, we removed an old
  legacy index called [splunklogger]
  from the
  $SPLUNK_HOME/etc/system/default/indexes.conf, if you have a reference to this index
  in any of their other indexes.conf
  files, it will cause this error and
  not allow Splunk to startup. Remove
  that entry, and Splunk will start.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 25 Aug 2010 04:08:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16141#M6754</guid>
      <dc:creator>chicodeme</dc:creator>
      <dc:date>2010-08-25T04:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR :: 'homePath'  - what does this mean?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16142#M6755</link>
      <description>&lt;P&gt;During the first start up after the upgrade, Splunk tries to validate the existence of all declared indexes in the indexes.conf found in your configuration directories.&lt;/P&gt;

&lt;P&gt;Even if an index is disabled with "disabled = true" or by being present in the indexes.conf of a disabled app, Splunk will freak out if it cannot locate it's "homePath" (whether it's the default one in $SPLUNK_DB or a custom one specified in indexes.conf).&lt;/P&gt;

&lt;P&gt;The quickest way to troubleshoot this problem is to compare the output of two commands.&lt;/P&gt;

&lt;P&gt;The first one displays all existing index configuration stanzas across all indexes.conf :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# find $SPLUNK_HOME/etc/ -name indexes.conf | xargs grep ^\\[
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The second command will list the directories present in $SPLUNK_DB ($SPLUNK_HOME/var/lib/splunk/ by default), which is the default "homePath" for each index if no other value for that parameter is specified.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# ls -l $SPLUNK_DB
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# ls -l $SPLUNK_HOME/var/lib/splunk/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the first command shows an index that is not present in $SPLUNK_DB and that index doesn't have a setting for "homePath" that points to an existing directory, you should consider disabling that index stanza in that configuration file by preceding it with a "#".&lt;/P&gt;

&lt;P&gt;Typical culprits are "splunklogger" (which has been deprecated and is often present but disabled) and "os" (which is often present in disabled apps like "unix" or "nixLF").&lt;/P&gt;

&lt;P&gt;This is particularly effective on a forwarder where there shouldn't be any indexes configured other than what can be found in $SPLUNK_DB.&lt;/P&gt;

&lt;P&gt;Here's a typical scenario :&lt;/P&gt;

&lt;P&gt;1) Which index directories exist?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# ls -l $SPLUNK_DB

total 52
drwx--x--x 5 root root 4096 Jun 25 16:29 audit
drwx--x--x 2 root root 4096 Jun 25 10:14 authDb
drwx--x--x 5 root root 4096 Jun 25 16:29 blockSignature
drwx--x--x 5 root root 4096 Jun 25 16:29 defaultdb
drwx--x--x 6 root root 4096 Jun 25 16:29 fishbucket
drwx--x--x 2 root root 4096 Jun 25 16:29 hashDb
drwx--x--x 5 root root 4096 Jun 25 16:29 historydb
drwx--x--x 5 root root 4096 Jun 25 16:29 _internaldb
drwx------ 2 root root 4096 Jun 25 16:29 persistentstorage
drwx------ 2 root root 4096 Jun 25 16:27 queues
drwx--x--x 5 root root 4096 Jun 25 16:29 sample
drwx--x--x 5 root root 4096 Jun 25 16:29 splunkloggerdb
drwx--x--x 5 root root 4096 Jun 25 16:29 summarydb
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;2) Which indexes are declared in the configuration files?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;# find $SPLUNK_HOME/etc/ -name indexes.conf | xargs grep ^\\[

etc/system/default/indexes.conf:[main]
etc/system/default/indexes.conf:[history]
etc/system/default/indexes.conf:[summary]
etc/system/default/indexes.conf:[_internal]
etc/system/default/indexes.conf:[_audit]
etc/system/default/indexes.conf:[_thefishbucket]
etc/system/default/indexes.conf:[_blocksignature]
etc/system/default/indexes.conf:[splunklogger]
etc/apps/sample_app/default/indexes.conf:[sample]
etc/apps/nixLF/default/indexes.conf:[main]
etc/apps/nixLF/default/indexes.conf:[history]
etc/apps/nixLF/default/indexes.conf:[summary]
etc/apps/nixLF/default/indexes.conf:[_internal]
etc/apps/nixLF/default/indexes.conf:[_audit]
etc/apps/nixLF/default/indexes.conf:[_blocksignature]
etc/apps/nixLF/default/indexes.conf:[splunklogger]
etc/apps/unix/default/indexes.conf:[os]
etc/apps/SplunkLightForwarder/default/indexes.conf:[main]
etc/apps/SplunkLightForwarder/default/indexes.conf:[history]
etc/apps/SplunkLightForwarder/default/indexes.conf:[summary]
etc/apps/SplunkLightForwarder/default/indexes.conf:[_internal]
etc/apps/SplunkLightForwarder/default/indexes.conf:[_audit]
etc/apps/SplunkLightForwarder/default/indexes.conf:[_blocksignature]
etc/apps/SplunkLightForwarder/default/indexes.conf:[splunklogger]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This revealed the following culprits :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;etc/apps/unix/default/indexes.conf:[os]
etc/system/default/indexes.conf:[splunklogger]
etc/apps/nixLF/default/indexes.conf:[splunklogger]
etc/apps/SplunkLightForwarder/default/indexes.conf:[splunklogger]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The "splunklogger" index was disabled everywhere it was declared with "disabled = true", and the "os" index was not in use as the unix app was disabled. Once these stanzas and all of their associated parameters were commented out, the upgrade worked!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Sep 2010 08:25:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/ERROR-homePath-what-does-this-mean/m-p/16142#M6755</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-09-17T08:25:59Z</dc:date>
    </item>
  </channel>
</rss>

