<?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’ - Splunk won't start on 4.1.4 upgrade in Installation</title>
    <link>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43434#M681</link>
    <description>&lt;P&gt;I had this problem with my forwarders when copying deployments from a 4.1.3 instance to a 4.1.4 instance.&lt;/P&gt;

&lt;P&gt;I ended up modifying the inputs.conf &amp;amp; indexes.conf to delete the references to splunklogger..&lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
    <pubDate>Fri, 03 Sep 2010 20:50:55 GMT</pubDate>
    <dc:creator>Brian_Osburn</dc:creator>
    <dc:date>2010-09-03T20:50:55Z</dc:date>
    <item>
      <title>ERROR :: ‘homePath’ - Splunk won't start on 4.1.4 upgrade</title>
      <link>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43433#M680</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I've read the other questions/answers on this issue but I need some further assistance please?&lt;/P&gt;

&lt;P&gt;Can someone please advice which index I need to change to remove the reference to [splunklogger] as I'm having a difficult time finding the right index to edit.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2010 20:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43433#M680</guid>
      <dc:creator>mmstrauss</dc:creator>
      <dc:date>2010-09-03T20:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR :: ‘homePath’ - Splunk won't start on 4.1.4 upgrade</title>
      <link>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43434#M681</link>
      <description>&lt;P&gt;I had this problem with my forwarders when copying deployments from a 4.1.3 instance to a 4.1.4 instance.&lt;/P&gt;

&lt;P&gt;I ended up modifying the inputs.conf &amp;amp; indexes.conf to delete the references to splunklogger..&lt;/P&gt;

&lt;P&gt;Brian&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2010 20:50:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43434#M681</guid>
      <dc:creator>Brian_Osburn</dc:creator>
      <dc:date>2010-09-03T20:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR :: ‘homePath’ - Splunk won't start on 4.1.4 upgrade</title>
      <link>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43435#M682</link>
      <description>&lt;P&gt;You should just need to edit indexes.conf, probably in etc/system/local and/or etc/apps/search/local&lt;/P&gt;</description>
      <pubDate>Sat, 04 Sep 2010 00:06:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43435#M682</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-09-04T00:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR :: ‘homePath’ - Splunk won't start on 4.1.4 upgrade</title>
      <link>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43436#M683</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:24:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/ERROR-homePath-Splunk-won-t-start-on-4-1-4-upgrade/m-p/43436#M683</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2010-09-17T08:24:19Z</dc:date>
    </item>
  </channel>
</rss>

