<?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 splunkd.log errors and broken fishbucket on splunk_private_db. BTree errors and btree records/index keep recreating in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/splunkd-log-errors-and-broken-fishbucket-on-splunk-private-db/m-p/711427#M117531</link>
    <description>&lt;P&gt;splunkd.log has errors about BTree. I get about 10 messages a second logged in the splunkd.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR BTree [1001653 IndexerTPoolWorker-3] - 0th child has invalid offset: indexsize=67942584 recordsize=166182200, (Internal)
ERROR BTreeCP [1001653 IndexerTPoolWorker-3] - addUpdate CheckValidException caught: BTree::Exception: Validation failed in checkpoint&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed the btree_index.dat and btree_records.dat are re-created every few seconds. They appear to be copying into the corrupt directory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to shutdown splunk and copy snapshot files over, but when I restart splunk they are overwritten and we start the whole loop of files getting created and then copied to corrupt.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran a btprobe on the splunk_private_db fishbucket and the output was&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;no root in /opt/splunk/data/fishbucket/splunk_private_db/btree_index.dat with non-empty recordFile /opt/splunk/data/fishbucket/splunk_private_db/btree_records.dat
recovered key: 0xd3e9c1eb89bdbf3e | sptr=1207
Exception thrown: BTree::Exception: called debug on btree that isn't open!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is totally possible there is some corruption somewhere. We did have a filesystem issue a while back. I had to do a fsck and there were a few files that I removed.&amp;nbsp; As far as data I can't seem to find out where the problem might be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In splunk search I appear to have incomplete data in the _internal index. I can't view licensing and Data Quality are empty and have no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on where to look next?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently LM, indexer, SH, and DS are all on the same host. I'm currently using Splunk Enterprise&amp;nbsp;Version: 9.4.0 Build: 6b4ebe426ca6&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 22:48:21 GMT</pubDate>
    <dc:creator>spelunking4fun</dc:creator>
    <dc:date>2025-02-19T22:48:21Z</dc:date>
    <item>
      <title>splunkd.log errors and broken fishbucket on splunk_private_db. BTree errors and btree records/index keep recreating</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/splunkd-log-errors-and-broken-fishbucket-on-splunk-private-db/m-p/711427#M117531</link>
      <description>&lt;P&gt;splunkd.log has errors about BTree. I get about 10 messages a second logged in the splunkd.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ERROR BTree [1001653 IndexerTPoolWorker-3] - 0th child has invalid offset: indexsize=67942584 recordsize=166182200, (Internal)
ERROR BTreeCP [1001653 IndexerTPoolWorker-3] - addUpdate CheckValidException caught: BTree::Exception: Validation failed in checkpoint&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have noticed the btree_index.dat and btree_records.dat are re-created every few seconds. They appear to be copying into the corrupt directory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to shutdown splunk and copy snapshot files over, but when I restart splunk they are overwritten and we start the whole loop of files getting created and then copied to corrupt.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ran a btprobe on the splunk_private_db fishbucket and the output was&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;no root in /opt/splunk/data/fishbucket/splunk_private_db/btree_index.dat with non-empty recordFile /opt/splunk/data/fishbucket/splunk_private_db/btree_records.dat
recovered key: 0xd3e9c1eb89bdbf3e | sptr=1207
Exception thrown: BTree::Exception: called debug on btree that isn't open!&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is totally possible there is some corruption somewhere. We did have a filesystem issue a while back. I had to do a fsck and there were a few files that I removed.&amp;nbsp; As far as data I can't seem to find out where the problem might be.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In splunk search I appear to have incomplete data in the _internal index. I can't view licensing and Data Quality are empty and have no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on where to look next?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently LM, indexer, SH, and DS are all on the same host. I'm currently using Splunk Enterprise&amp;nbsp;Version: 9.4.0 Build: 6b4ebe426ca6&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 22:48:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/splunkd-log-errors-and-broken-fishbucket-on-splunk-private-db/m-p/711427#M117531</guid>
      <dc:creator>spelunking4fun</dc:creator>
      <dc:date>2025-02-19T22:48:21Z</dc:date>
    </item>
  </channel>
</rss>

