Getting Data In

Why am I getting error "Unable to locate secret used to encrypt/decrypt passwords for identities" after installing Splunk DB Connect?

vinchakov_a
Path Finder

I received this error after installing Splunk DB Connect:

04-16-2015 16:06:54.035 +0300 ERROR AdminManagerExternal - Stack trace from python handler:\nTraceback (most recent call last):\n  File "/opt/splunk/lib/python2.7/site-packages/splunk/admin.py", line 67, in init\n    hand = handler(mode, ctxInfo)\n  File "/opt/splunk/etc/apps/splunk_app_db_connect/bin/rh_identities.py", line 24, in __init__\n    self.verifySecretPath()\n  File "/opt/splunk/etc/apps/splunk_app_db_connect/bin/rh_identities.py", line 28, in verifySecretPath\n    raise Exception("Unable to locate secret used to encrypt/decrypt passwords for identities")\nException: Unable to locate secret used to encrypt/decrypt passwords for identities\n

04-16-2015 16:06:54.035 +0300 ERROR AdminManagerExternal - Unexpected error "<type 'exceptions.Exception'>" from python handler: "Unable to locate secret used to encrypt/decrypt passwords for identities".  See splunkd.log for more details.
0 Karma

sylim_splunk
Splunk Employee
Splunk Employee

This file, being used in ver 2.x & 3.x, is used to encrypt the passwords. If the file has been deleted there is no way to read the passwords. You need to check if you find a copy of it for example from a back up or if it has been copied to another node (typically in a search head cluster configuration). If this file is definitely lost, the passwords need to be re-entered.

0 Karma

alasreeram
Engager

I have this problem too in splunk v6.3 and db connect 2 v2.0.6.

0 Karma

Flynt
Splunk Employee
Splunk Employee

Can you verify that the splunk.secret file exists in the $SPLUNK_HOME/etc/auth directory and the user that Splunk started with has read permissions?

0 Karma

rmenon7
New Member

I am getting this issue in DB connect app ... I checked and confirmed that there is a secret file that is present in .$SPLUNK_HOME/etc/auth .

Any idea why I could still be getting the error ?

0 Karma

jagadeeshm
Contributor

How did you resolve this ?

0 Karma

anthony_engelst
Engager

I had this as well running an older 6.2.1 version of Splunk, upgrade to 6.2.2 seemed to fix the issue, but it's unclear if that's a side effect of the upgrade or something actually required with 6.2.2

0 Karma
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 ...