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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...