|
When I try to start Splunk it gives the following output -
What does this error mean? Why wont my Splunk start? |
|
This means that Splunk has a problem figuring out where the Alternatively, it can be the result of not defining an index correctly when editing an One common fault we find is that an index is created in one app - for example the I ran into that very scenario this morning. Removed the [os] block from my $SPLUNK_HOME/etc/local/indexes.conf and recovered right away.
(06 Jul '10, 15:55)
Yancy
|
|
I just ran into it. This is what did it for me: http://www.splunk.com/base/Documentation/4.1.4/ReleaseNotes/KnownIssues
|
|
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. 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). The quickest way to troubleshoot this problem is to compare the output of two commands. The first one displays all existing index configuration stanzas across all indexes.conf :
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.
or
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 "#". 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"). This is particularly effective on a forwarder where there shouldn't be any indexes configured other than what can be found in $SPLUNK_DB. Here's a typical scenario : 1) Which index directories exist?
2) Which indexes are declared in the configuration files?
This revealed the following culprits :
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! |
