[slurm-users] slurmctld.service exit with status 127

Yinping Ma mayinpingpku at gmail.com
Mon Jan 15 23:28:08 MST 2018

Dear Community,

I rebuild slurm with "rpmbuild -ta -with lua -with hwloc
slurm-17.11.2.tar.bz2" , and I have started slurmctld service successfully,
but if I add this line:


to slurm.conf, and restart slurmctld, then slurmctld.service exit with
status 127.

[root at mgt slurm]# systemctl status slurmctld
● slurmctld.service - Slurm controller daemon
   Loaded: loaded (/etc/systemd/system/slurmctld.service; disabled; vendor
preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-01-16 14:12:00 CST; 2s
  Process: 15101 ExecStart=/usr/sbin/slurmctld $SLURMCTLD_OPTIONS
(code=exited, status=0/SUCCESS)
 Main PID: 15103 (code=exited, status=127)

Jan 16 14:12:00 mgt03 systemd[1]: Starting Slurm controller daemon...
Jan 16 14:12:00 mgt03 systemd[1]: PID file /var/run/slurmctld.pid not
readable (yet?) after start.
Jan 16 14:12:00 mgt03 systemd[1]: Started Slurm controller daemon.
Jan 16 14:12:00 mgt03 systemd[1]: slurmctld.service: main process exited,
code=exited, status=127/n/a
Jan 16 14:12:00 mgt03 systemd[1]: Unit slurmctld.service entered failed
Jan 16 14:12:00 mgt03 systemd[1]: slurmctld.service failed.

in slurmctld.log , when I start slurmctld service , it appends:

[2018-01-16T14:12:00.311] error: chdir(/var/log): Permission denied
[2018-01-16T14:12:00.311] slurmctld version 17.11.2 started on cluster

all the best,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180116/e0861854/attachment.html>

More information about the slurm-users mailing list