On Tue, 2020-09-08 at 09:39:09 +0000, Gestió Servidors wrote: > Hello, > > I don't know why, but my SLURM server (that is running fine) has its > slurmdctl.log file with size 0 bytes... so... where is writting logs? It > seems that log file has 0 bytes from logrotate process during today's early > morning. My logrotate SLURM conf is this: > [root@server logrotate.d]# cat slurm > /var/log/slurmdctl.log > /var/log/slurmdbd.log > { > rotate 7 > notifempty > missingok > create > weekly > }
Is that a typo? The daemon is "slurmctld" not "slurmdctl", so you have rotated (and created) the wrong file, which will not be written to... Cheers, Steffen -- Steffen Grunewald, Cluster Administrator Max Planck Institute for Gravitational Physics (Albert Einstein Institute) Am Mühlenberg 1 * D-14476 Potsdam-Golm * Germany ~~~ Fon: +49-331-567 7274 Mail: steffen.grunewald(at)aei.mpg.de ~~~