Getting Data In

How to troubleshoot why splunkd isn't starting on one indexer in an indexer cluster?

kiran331
Builder

Hi all,

I have an issue with one indexer in a clustered environment. It went down due to some server issue and the server was rebooted, but now I'm not able to start splunkd service. I tried to start splunk and check status..

splunkd 6104 was not running.
Stopping splunk helpers...
 [  OK  ]
Done.
Stopped helpers.
Removing stale pid file... done.
0 Karma

jkat54
SplunkTrust
SplunkTrust

The most common cause of this is when splunkd is ran as root, but wasnt supposed to run as root. Then it will take ownership of lots of files, including indexes and .conf files... finally if you start it as the less privileged user, it will fail because it cant "own" the files.

Solving the issue is usually as simple as a recursive chown on the splunk directory, changing the owner to the less privileged user:

chown -Rf username. /opt/splunk

etc.

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...