[slurm-users] Slurmctld and log file

Steffen Grunewald steffen.grunewald at aei.mpg.de
Tue Sep 8 11:00:10 UTC 2020


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 at 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
~~~



More information about the slurm-users mailing list