Security

Why i'm getting this error???

joseph254
New Member

couldn't run "/root/splunk/bin/splunkd" "btool": Permission denied

couldn't run "/root/splunk/bin/splunkd" "btool": Permission denied

couldn't run "/root/splunk/bin/splunkd" "btool": Permission denied

Did not find "disabled" setting of "kvstore" stanza in server bundle.

Splunk> Map. Reduce. Recycle.

Checking prerequisites...

couldn't run "/root/splunk/bin/splunkd" "btool": Permission denied

Checking mgmt port [8089]: couldn't run "/root/splunk/bin/splunkd" "btool": Permission denied

open

couldn't run "/root/splunk/bin/splunkd" "btool": Permission denied

Checking configuration... Done.

execve: Permission denied

while running command /root/splunk/bin/splunkd

Validating databases (splunkd validatedb) failed with code '8'. If you cannot resolve the issue(s) above after consulting documentation, please file a case online at http://www.splunk.com/page/submit_issue

[root@localhost bin]#

0 Karma

nikita_p
Contributor
0 Karma

dkeck
Influencer

HI,

looks like you got this error on start up, make sure that the user who is running splunk got the ownership of $SPLUNK_HOME/splunk.

you can make sure with running chown -R user:group $SPLUNK_HOME/splunk

What version are you running?

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Also look at etc/splunk-launch.conf for SPLUNK_USER - if that's set to splunk but you're trying to run inside /root it'll end in tears.

0 Karma

joseph254
New Member

i solved the problem is due to the permessions which was set to 0644 and i changed it to 0555 !
thank you for help 🙂

0 Karma

dkeck
Influencer

Any luck with that? If it was helpfull please accept the answer, thank you 🙂

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...