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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...