After an upgrade, the email alerts stopped working on one node in the SHC. The logs showed these permission denied errors:
<timestamp> ERROR ScriptRunner [3265949 AlertNotifierWorker-0] - stderr from '/opt/splunk/bin/python3.7 /opt/splunk/etc/apps/search/bin/sendemail.py "results_link=<url to results> sid=<search sid>" "ssname=<saved search name>" "graceful=True" "trigger_time=<epoch timestamp>" results_file="/opt/splunk/var/run/splunk/dispatch/<sid>/results.csv.gz" "is_stream_malert=False"': ERROR:root:[Errno 13] Permission denied while sending mail to: <email list>Checked file permissions on all dispatch directoires and files which showed the correct ownership and permissions. Asked Linux admin to review the splunk user on all nodes in the SHC to ensure no differences. The Linux admin found SELinux had different file contexts between the different SHC nodes.
The Linux admin rebuilt the file context configuration to match between all nodes of the SHC.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |