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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...