I run Splunk as a non-root user named splunk
When I try the command /opt/splunk/bin/splunk stop I get :
Stopping splunkd...
Shutting down. Please wait, as this may take a few minutes.
Failed to stop Splunkd.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status Splunkd.service' for details.
Systemd manages the Splunk service. Use 'systemctl stop Splunkd' to stop the service. Root permission is required. Login as root user or use sudo.
I tried run the command as root or as splunk non-root user, nothing change.
... View more