Libc abort message: splunkd: /opt/splunk/src/clustering/CMBucket.cpp:962: void CMBucket::setRASummaries(const Guid&, const CMBucketSummaries&): Assertion `hasPeer(peer)' failed.
CM would only stay up for a second. All indexers had Splunk running on them. Indexer five was down, and everything was running, Stop Splunk on indexer number five. Started Splunk on the CM, and it stayed up. Seeing that indexer4 was flapping between batchadd and up. The diag in indexer five has an error in splunkd indicating that "This peer re-added a clustered bucket as standalone and is rejected from joining the cluster".
A WARN message was found on the indexer that was causing the CM to crash:
Find the standalone buckets and manually give them the proper folder name to make them work in the cluster.
1. cd to /opt/splunk/var/lib/splunk (or wherever the cluster peer keeps its index data)
run the following command:
find . -maxdepth 3 -type d -name db_* | grep -v "<part of this hosts GUID>"
Note: The value for <part of this hosts GUID> can be the last set of characters from the host's GUID. You can see this in the logs mentioned in the investigation section.
Find the GUID by searching splunkd.log for the words "My GUID". This can be done from a search or the terminal:
index=_internal host=<indexer_with_bucket_issues> "My GUID"
grep "My GUID" $SPLUNK_HOME/var/log/splunk/splunkd.log
2. Take note of the results.
3. Stop Splunk
4. Fix Buckets: The buckets that need to be fixed are standalone buckets. Verify that the index containing standalone buckets has a repFactor = auto specified in indexes.conf. If it is set to 0 or disabled, disregard it and check the next index in the list. If it does have a repFactor of auto specified in its configuration, correct the bucket. A standalone bucket will look like this:
db_1669908673_1669908313_111
The GUID needs to be added to the end of the bucket. If a bucket named db_1669908673_1669908313_111 needed to be fixed and the GUID is 1D91562A-D32A-2317-A5C3-2BDC6143A34, the bucket would be renamed to db_1669908673_1669908313_111_1D91562A-D32A-2317-A5C3-2BDC6143A34.
NOTE: Duplicate buckets will prevent Splunk from starting up. Renaming buckets introduces the risk that two buckets could have the same name. If there is a bucket that contains the same sequence number (the number after the two epoch times), changing it to the next available number will allow Splunk to start. Missing this detail will prevent Splunk from starting.
5. Remove .bucketManifest from the directory of any bucket that was modified.
5. Start splunk
For more information follow this article:
How to locate and rename a Standalone bucket to bring indexer back to its indexer cluster
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |