Email stuck in /var/spool/slurm-mail #16
-
Centos7 machine, email going out fine from localhost via sendmail and via Slurm via previous config, but after adding the slurm-email scripts and files, and restarting slurmctld, the emails are still stuck in /var/spool/slurm-mail. Don't see any errors in slurm-spool-mail.log Suggestions? Would love to make this work! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hi @lurch999, Under Have you created the cron job to run If there are no logs here but you are sure the cron job is running, then you can try running Cheers, Neil. |
Beta Was this translation helpful? Give feedback.
-
I see, thanks, that helped! Didn't realize the cron job was required. The cron job that was needed for me is:
Almost there: emails going out are being sent to [email protected] when they should be going to [email protected]. Where can I tweak that? I would have thought these would go to same address in Slurm wrapper script? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Hi @lurch999,
Under
/var/log/slurm-mail
you should find Slurm-Mail's logs (unless you've changed the location inslurm-mail.conf
).Have you created the cron job to run
slurm-send-mail.py
periodically? If not, check the README and create the cron job as described.If there are no logs here but you are sure the cron job is running, then you can try running
slurm-send-mail.py
from the command line. If there are errors produced at the command line let me know and we'll see what the problem is.Cheers,
Neil.