<?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: Getting error &amp;quot;Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0&amp;quot; when running a search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278638#M84139</link>
    <description>&lt;P&gt;If you are not successful using gunzip, try 7z. &lt;BR /&gt;
Someone had this problem.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/755426/trying-to-fix-the-corrupted-bucket-error-journalsl.html"&gt;https://answers.splunk.com/answers/755426/trying-to-fix-the-corrupted-bucket-error-journalsl.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jun 2019 09:53:50 GMT</pubDate>
    <dc:creator>effem</dc:creator>
    <dc:date>2019-06-26T09:53:50Z</dc:date>
    <item>
      <title>Getting error "Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0" when running a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278635#M84136</link>
      <description>&lt;P&gt;An internal customer got the following error on a dashboard when I running any search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What can it be?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 19:17:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278635#M84136</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-04-07T19:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0" when running a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278636#M84137</link>
      <description>&lt;P&gt;This is commonly caused by a corrupted journal.gz.  You can try the following to repair the bucket:&lt;/P&gt;

&lt;P&gt;Locate the corrupt bucket using this query in Splunk.  This query will return the bucket name as the Bucket field value.  The splunk_server is the name of the server with the corrupt bucket.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd IndexerService corrupt earliest=-7d | stats earliest(_time) as time by splunk_server, idx, Bucket | convert ctime(time) as time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you know the index name that was being queried when the error is returned, narrow it down in your query by adding idx=, e.g.: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=splunkd idx=main IndexerService corrupt earliest=-7d | stats earliest(_time) as time by splunk_server, idx, Bucket | convert ctime(time) as time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;SSH to the splunk_server, stop the splunk indexer instance in question and run the following command to repair the bucket (replacing the index-name and bucket-name appropriately):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;./splunk fsck repair --one-bucket --index-name=main --bucket-name=db_1490291523_1489620455_12 --try-warm-then-cold
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If the command fails for some reason, do the following:&lt;BR /&gt;
1. cd to bucket's rawdata directory&lt;BR /&gt;
2. gunzip journal.gz (this will produce a journal file)&lt;BR /&gt;
3. gzip -c journal &amp;gt; journal.gz (recompresses the journal file into journal.gz)&lt;BR /&gt;
4. delete journal&lt;BR /&gt;
5. Re-run the repair command above and restart the the splunk server.  &lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 21:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278636#M84137</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2017-03-27T21:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0" when running a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278637#M84138</link>
      <description>&lt;P&gt;worked perfectly.. thanks &lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2017 13:52:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278637#M84138</guid>
      <dc:creator>arber</dc:creator>
      <dc:date>2017-12-19T13:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0" when running a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278638#M84139</link>
      <description>&lt;P&gt;If you are not successful using gunzip, try 7z. &lt;BR /&gt;
Someone had this problem.&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/755426/trying-to-fix-the-corrupted-bucket-error-journalsl.html"&gt;https://answers.splunk.com/answers/755426/trying-to-fix-the-corrupted-bucket-error-journalsl.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jun 2019 09:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278638#M84139</guid>
      <dc:creator>effem</dc:creator>
      <dc:date>2019-06-26T09:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0" when running a search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278639#M84140</link>
      <description>&lt;P&gt;Good information.  If you are in a cluster environment.&lt;BR /&gt;
1. Enable the indexer cluster maintenance mode&lt;BR /&gt;
2. Stop the indexer in question&lt;BR /&gt;
3. Follow the above steps 1 through 5&lt;BR /&gt;
4. Start the  indexer in question&lt;BR /&gt;
5. Disable the indexer cluster maintenance mode.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Apr 2020 18:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/278639#M84140</guid>
      <dc:creator>anwarmian</dc:creator>
      <dc:date>2020-04-18T18:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting error "Streamed search execute failed because: JournalSliceDirectory: Cannot seek to 0" when runni</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/615449#M213881</link>
      <description>&lt;P&gt;I'm curious as to why this works? Correct me if I wrong but you are simply uncompressing the journal file, and then recompressing the file you just uncompressed. And then deleting the uncompressed version to get rid&amp;nbsp; of it. Finally, run the single bucket fix. How does that actually fix the issue? I'm not saying it doesn't work I'm just wondering why the unzip/zip thing works. Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 19:09:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Getting-error-quot-Streamed-search-execute-failed-because/m-p/615449#M213881</guid>
      <dc:creator>fredclown</dc:creator>
      <dc:date>2022-09-30T19:09:03Z</dc:date>
    </item>
  </channel>
</rss>

