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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...