Skip to content

Cron and logrotate files not created in Ubuntu 20 install? #134

Answered by neilmunday
abisko00 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

I've tested Slurm-Mail 4.19 with Ubtuntu 20 and I can see that the /etc/cron.d/slurm-mail and /etc/logrotate.d/slurm-mail files are installed ok.

Are these missing on your set-up?

Be careful running the Slurm-Mail scripts as root as this will cause the log file ownership to change from slurm to root if they did not already exist.

If this happens, then when Slurm tries to run /usr/bin/slurm-spool-mail it will fail.

You could run the following command as root to make sure everything is as it should be:

chown slurm. -R /var/log/slurm-mail /var/spool/slurm-mail

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@abisko00
Comment options

Answer selected by abisko00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants