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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...