<?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: JournalSliceDirectory: Cannot seek to rawdata offset 0, path=&amp;quot;...&amp;quot; on running search in Splunk Web on Splunk non clustered indexer in Security</title>
    <link>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368658#M9153</link>
    <description>&lt;P&gt;Thanks so much for your time and attention!&lt;/P&gt;

&lt;P&gt;I even tried rebuilding.. It failed due to failReason=No bloomfilter which is same happened with fsck repair command. &lt;BR /&gt;
I have only one indexer server in the architecture. Please find the following details in the corrupted and non corrupted buckets I have in my index. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Files in corrupted bucket:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;[splunk@hostname db_1505749039_1505749029_0]$ ls&lt;BR /&gt;
1505749039-1505749029-9561667152978923474.tsidx  bloomfilter2  bucket_info.csv  corrupt.all.marker  Hosts.data  rawdata  Sources.data  SourceTypes.data&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Files in Non corrupted bucket:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;[splunk@hostname db_1505804824_1505803018_1]$ ls&lt;BR /&gt;
1505804824-1505803018-5429584547022512555.tsidx  bloomfilter  bucket_info.csv  Hosts.data  optimize.result  rawdata  Sources.data  SourceTypes.data&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Can I get any info on how i can fix the corrupted bucket by replacing the buckets from working ones? Will deleting the corrupted ones help? I have same issues with internal indexes even like main, _audit..&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 16:03:15 GMT</pubDate>
    <dc:creator>mouryagalla</dc:creator>
    <dc:date>2020-09-29T16:03:15Z</dc:date>
    <item>
      <title>JournalSliceDirectory: Cannot seek to rawdata offset 0, path="..." on running search in Splunk Web on Splunk non clustered indexer</title>
      <link>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368656#M9151</link>
      <description>&lt;P&gt;I am using Splunk 6.6.2&lt;/P&gt;

&lt;P&gt;When I ran search in Splunk Web for index for more than 30 days timeline "index="indextest" , I get this error:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/217688-error2.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;JournalSliceDirectory: Cannot seek to rawdata offset 0, path="/opt/splunk/var/lib/splunk/indextest/db/db_1502353482_1504459082_1/rawdata'&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I have gone through some answers posted in Splunk and tried few fsck commands to repair&lt;BR /&gt;
i ran the fsck scan command identified the corrupted buckets:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Eg:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;splunk scan --all-buckets-all-indexes&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;output in unix:&lt;/STRONG&gt; &lt;BR /&gt;
Operating on: idx=indextest bucket='/opt/splunk/var/lib//splunk/indextest/db/db_1502353482_1504459082_1/rawdata'&lt;/P&gt;

&lt;P&gt;JournalSliceDirectory: Cannot seek to rawdata offset 0, path="/opt/splunk/var/li                                                                                                                     b/splunk/indextest/db/db_1502353482_1504459082_1/rawdata"&lt;/P&gt;

&lt;P&gt;Corruption: corrupt slicesv2.dat or slices.dat&lt;/P&gt;

&lt;P&gt;Then tried to repair them:&lt;BR /&gt;
&lt;EM&gt;splunk repair --all-buckets-all-indexes&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Eg:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;splunk fsck repair --one-bucket --index-name=indextest--bucket-name=db_1502353482_1504459082_1 --try-warm-then-cold&lt;/EM&gt;&lt;BR /&gt;
&lt;STRONG&gt;output in unix:&lt;/STRONG&gt;&lt;BR /&gt;
Operating on: idx=indextest bucket='/opt/splunk/var/lib/splunk/indextest/db/db_1502353482_1504459082_1/'&lt;BR /&gt;
(entire bucket) Rebuild for bucket='/opt/splunk/var/lib/splunk/indextest/db/db_1502353482_1504459082_1' took 64.23 milliseconds&lt;BR /&gt;
Repair entire bucket, index=indextest, tryWarmThenCold=1, bucket=/opt/splunk/var/lib/splunk/indextest/db/db_1502353482_1504459082_1, exists=1, localrc=7, failReason=No bloomfilter in finalDir='/opt/splunk/var/lib/splunk/indextest/db/db_1502353482_1504459082_1'&lt;/P&gt;

&lt;P&gt;The issue is not resolved.. Then&lt;/P&gt;

&lt;P&gt;I even tried disabling the index&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;/opt/splunk/bin/splunk disable index name_of_your_index&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I started splunk up and enabled the index from the web gui and restarted splunk&lt;/P&gt;

&lt;P&gt;Still the issue is not resolved.&lt;/P&gt;

&lt;P&gt;Any help and hints appreciated&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:02:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368656#M9151</guid>
      <dc:creator>mouryagalla</dc:creator>
      <dc:date>2020-09-29T16:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: JournalSliceDirectory: Cannot seek to rawdata offset 0, path="..." on running search in Splunk Web on Splunk non clustered indexer</title>
      <link>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368657#M9152</link>
      <description>&lt;P&gt;Similar one at &lt;A href="https://answers.splunk.com/answers/439080/why-is-my-search-resulting-in-error-streamed-searc.html"&gt;Why is my search resulting in error "Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0"?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2017 20:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368657#M9152</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-09-28T20:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: JournalSliceDirectory: Cannot seek to rawdata offset 0, path="..." on running search in Splunk Web on Splunk non clustered indexer</title>
      <link>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368658#M9153</link>
      <description>&lt;P&gt;Thanks so much for your time and attention!&lt;/P&gt;

&lt;P&gt;I even tried rebuilding.. It failed due to failReason=No bloomfilter which is same happened with fsck repair command. &lt;BR /&gt;
I have only one indexer server in the architecture. Please find the following details in the corrupted and non corrupted buckets I have in my index. &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Files in corrupted bucket:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;[splunk@hostname db_1505749039_1505749029_0]$ ls&lt;BR /&gt;
1505749039-1505749029-9561667152978923474.tsidx  bloomfilter2  bucket_info.csv  corrupt.all.marker  Hosts.data  rawdata  Sources.data  SourceTypes.data&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Files in Non corrupted bucket:&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;[splunk@hostname db_1505804824_1505803018_1]$ ls&lt;BR /&gt;
1505804824-1505803018-5429584547022512555.tsidx  bloomfilter  bucket_info.csv  Hosts.data  optimize.result  rawdata  Sources.data  SourceTypes.data&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Can I get any info on how i can fix the corrupted bucket by replacing the buckets from working ones? Will deleting the corrupted ones help? I have same issues with internal indexes even like main, _audit..&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:03:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368658#M9153</guid>
      <dc:creator>mouryagalla</dc:creator>
      <dc:date>2020-09-29T16:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: JournalSliceDirectory: Cannot seek to rawdata offset 0, path="..." on running search in Splunk Web on Splunk non clustered indexer</title>
      <link>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368659#M9154</link>
      <description>&lt;P&gt;I fixed it now.. I replaced the contents of corrupted bucket with the non corrupted bucket of same index and ran the following cmd for the corrupted bucket.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;splunk fsck repair --one-bucket --index-name=indextest--bucket-name=db_1502353482_1504459082_1 --try-warm-then-cold&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Splunk repaired the corrupted index and the error is gone now. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:03:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368659#M9154</guid>
      <dc:creator>mouryagalla</dc:creator>
      <dc:date>2020-09-29T16:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: JournalSliceDirectory: Cannot seek to rawdata offset 0, path="..." on running search in Splunk Web on Splunk non clustered indexer</title>
      <link>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368660#M9155</link>
      <description>&lt;P&gt;If you problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:06:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/JournalSliceDirectory-Cannot-seek-to-rawdata-offset-0-path-quot/m-p/368660#M9155</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2017-09-29T18:06:41Z</dc:date>
    </item>
  </channel>
</rss>

