Alerting

splunk not able to access python file /usr/bin/env to complete the secret storage process

alfredoh14
Explorer

Hello,
I am getting the below error when i attempt to execute the process of creating a secret storage in /opt/splunk/bin


[root@ba-log bin]# splunk rdrand-gen -v -n 1M -m reseed_delay -o /opt/splunk/rdrand.bin
Passphrase that unlocks secret storage:
/usr/bin/env: ‘python’: No such file or directory
/opt/splunk/etc/system/bin/gnome_keyring.py: process returned non-zero status: status=done, exit=127, stime_sec=0.005357, max_rss_kb=13716, vm_minor=216, sched_vol=1, sched_invol=7
Error accessing secret storage.

 

permission of file:
-rwxr-xr-x. 1 root root 42392 Jan 6 2023 /usr/bin/env


I verified with
splunk envvers
and the path to /usr/bin is in there.

I run the splunk command as root user, so why isn't splunk able to read the /usr/bin/env file?

Labels (1)
Tags (1)
0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...