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.
Get Updates on the Splunk Community!

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...

Application management with Targeted Application Install for Victoria Experience

Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...