Monitoring Splunk

splunk crash when start -ERROR WordPositionData - couldn't parse hash code:

duongl2
Explorer

VERSION=4.1.7
BUILD=95063

PRODUCT=splunk PLATFORM=Linux-x86_64

splunkd.log:

07-22-2011 09:28:08.124 INFO  databasePartitionPolicy - Found timestamp file ! at /opt/splunk/var/lib/splunk/os/db/CreationTime
07-22-2011 09:28:08.127 INFO  databasePartitionPolicy - CREATION TIME for /opt/splunk/var/lib/splunk/os/db : 1298053588
07-22-2011 09:28:08.127 INFO  databasePartitionPolicy - opening database /opt/splunk/var/lib/splunk/os/db/hot_v1_0
07-22-2011 09:28:08.127 INFO  timeinvertedIndex - Opening /opt/splunk/var/lib/splunk/os/db/hot_v1_0
07-22-2011 09:28:08.128 INFO  timeinvertedIndex - No files to decompress on create
07-22-2011 09:28:08.128 INFO  timeinvertedIndex - create by dirname /opt/splunk/var/lib/splunk/os/db/hot_v1_0
07-22-2011 09:28:08.128 ERROR WordPositionData - couldn't parse hash code:
07-22-2011 09:28:08.133 WARN  MetaData - found error in metadata file, attempting recovery: /opt/splunk/var/lib/splunk/os/db/
    hot_v1_0/Hosts.data
07-22-2011 09:28:08.134 WARN  MetaData - /opt/splunk/var/lib/splunk/os/db/hot_v1_0/Hosts.data: initiating recover attempt
Tags (2)

jbsplunk
Splunk Employee
Splunk Employee

You should probably take a look at this:

http://splunk-base.splunk.com/answers/3811/error-wordpositiondata-couldnt-parse-hash-code-spl-31080

'splunk clean all' may have resolved the problem, but its because it deleted all of your indexed data. For most people, this is not an acceptable solution. The metadata in one of the indexes has probably become corrupt, and that is the reason clean all worked. It seems a bit of an extreme response to the situation, but I am glad to hear things are working again.

duongl2
Explorer

thank you,

0 Karma

duongl2
Explorer

try this:
$SPLUNK_HOME/bin/splunk clean all

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...