Monitoring Splunk

splunkd not responding

mataharry
Communicator

I have a indexer, that crashed and I restored.

I can start splunkd and splunkweb services, but cannot use the CLI, or connect with the search-head, and splunkweb login fails (the version displayed is UNKNOWN)
But splunkd is indexing, and my firewalls are open.

I saw some errors in splunkd.log after a restart.


08-07-2012 12:19:02.807 -0700 ERROR SSLCommon - Can't read key file D:\Program Files\Splunk\etc\auth\server.pem errno=151429224 error:0906A068:PEM routines:PEM_do_header:bad password read.
08-07-2012 12:19:02.807 -0700 ERROR ServerConfig - Couldn't initialize SSL Context for HTTPClient in ServerConfig

Tags (2)
1 Solution

yannK
Splunk Employee
Splunk Employee

Did you restored the configuration from another server ?

The error means that the ssl certificated used for splunkd (port 8089) is not working.
check in $SPLUNK_HOME/etc/system/local/server.conf and web.conf

  • Verify that the ssl certificate exists
  • that the password is the good one.
  • that the $SPLUNK_HOME/etc/auth/splunk.secret has not be modified
  • regenerated the ssl password, by typing the password in clear in $SPLUNK_HOME/etc/system/local/server.conf
    [sslConfig]
    sslKeysfilePassword = password
    
    and restart to apply if you are using the default ssl, shipped with splunk, simply comment the password line and restart it will encrypt the one from the default settings.

View solution in original post

peewee42
New Member

How about ...are the rights on the directories as expected after the restore? I had similar messages after installing the first heavy forwarder. I needed to replace several ACLs on the windows server to get it working.

0 Karma

yannK
Splunk Employee
Splunk Employee

Did you restored the configuration from another server ?

The error means that the ssl certificated used for splunkd (port 8089) is not working.
check in $SPLUNK_HOME/etc/system/local/server.conf and web.conf

  • Verify that the ssl certificate exists
  • that the password is the good one.
  • that the $SPLUNK_HOME/etc/auth/splunk.secret has not be modified
  • regenerated the ssl password, by typing the password in clear in $SPLUNK_HOME/etc/system/local/server.conf
    [sslConfig]
    sslKeysfilePassword = password
    
    and restart to apply if you are using the default ssl, shipped with splunk, simply comment the password line and restart it will encrypt the one from the default settings.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...