Security

ERROR BTreeCP - checkpoint failed: removal of dir /opt/splunkforwarder/var/lib/splunk/fishbucket/splunk_private_db/snapshot.old failed: Directory not empty

kishen2017
Path Finder

Why I am getting "ERROR BTreeCP - checkpoint failed: removal of dir /opt/splunkforwarder/var/lib/splunk/fishbucket/splunk_private_db/snapshot.old failed: Directory not empty" error message in splunkd.log and also indexing is not happening during this message period.

Tags (1)

murali18
Engager

Go to this folder and check:
/opt/splunkforwarder/var/lib/splunk/fishbucket/splunk_private_db.

May be due to some Permission Issues.

0 Karma

chrisyounger
SplunkTrust
SplunkTrust

This usually happens if you run splunk as the root user and then try and run it later as the splunk user. Try this process:

be root
/opt/splunkforwarder/bin/splunk stop
ps -ef | grep splunk 

check nothing is running, then

chown -R splunk:splunk /opt/splunkforwarder 
su – splunk
/opt/splunkforwarder/bin/splunk start

payal23
Path Finder

@kishen2017 I am also facing the same prob. Did you got the fix?

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...