Security

Cannot open manifest file inside XXX: No such file or directory

jravida
Communicator

Hi folks,

I'm troubleshooting some slowness we have on the platform. While looking at the splunkd_stderr.log, I notice multiple lines stating "Cannot open manifest file inside XXX: No such file or directory"

When I list the contents of the directory /opt/splunk/var/lib/splunk/audit, I notice that all the subdirectories (db_1341513434_123514125_33 for instance) are owned by splunk:splunk, except for today's which are owned by root:root. Those are the ones the stderr log is noting as having issues.

An upgrade was done, not by myself, and my guess is that it was installed as root, instead of the user splunk. Is there a simple fix for this or will I have to blow away any index or data?

Tags (2)
0 Karma
1 Solution

MuS
Legend

Hi jravida,

this usually happens if you install Splunk as root and start Splunk as root, all new files created after this start will be owned by root. But this is no problem at all, just stop Splunk and chown -R splunk:splunk /opt/splunk and start Splunk as user splunk.

hope this helps ...

cheers, MuS

View solution in original post

MuS
Legend

Hi jravida,

this usually happens if you install Splunk as root and start Splunk as root, all new files created after this start will be owned by root. But this is no problem at all, just stop Splunk and chown -R splunk:splunk /opt/splunk and start Splunk as user splunk.

hope this helps ...

cheers, MuS

jravida
Communicator

This worked great. The errors seem to have subsided. I was hoping it would be this easy!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...