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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...