Re: [slurm-users] How to fix “slurmd.service: Can't open PID file” error

2019-06-18 Thread mercan
Hi; Using the noki user, would you try to read /var/run/slurm-llnl/slurmd.pid and /var/run/slurm-llnl/slurmctld.pid files. Are there these files present, readable and writeable? May be upper directories don't have the permission to read/execute. Regards; Ahmet M. On 19.06.2019 07:26, Noki

Re: [slurm-users] How to fix “slurmd.service: Can't open PID file” error

2019-06-18 Thread mercan
Hi; Sorry, as you can see, I did a mistake again.  I wrote two different directories: "The owner of the /var/run/slurm-llnl directory and the slurmctld.pid and slurmd.pid files should be "noki" user. chown -R noki:root /var/spool/slurm-llnl" You should run: chown -R noki:root /var/run/slurm

Re: [slurm-users] How to fix “slurmd.service: Can't open PID file” error

2019-06-18 Thread Noki Lee
Hi, slurm-users and mercan. I tried what you said. noki@noki-System-Product-Name:~$ sudo chown -R noki:root /var/spool/slurm-llnl/noki@noki-System-Product-Name:/var/spool/slurm-llnl$ ls -l total 92 -rw--- 1 noki root 198 Jun 19 11:36 assoc_mgr_state -rw--- 1 noki root 198 Jun 18 20:31 ass

Re: [slurm-users] How to fix “slurmd.service: Can't open PID file” error

2019-06-18 Thread mercan
Hi; I did not notice SlurmUser=noki line. The owner of the /var/run/slurm-llnl directory and the slurmctld.pid and slurmd.pid files should be "noki" user. chown -R noki:root /var/spool/slurm-llnl Regards; Ahmet M. On 18.06.2019 15:15, mercan wrote: Hi; The owner of the /var/run/slurm-l

Re: [slurm-users] How to fix “slurmd.service: Can't open PID file” error

2019-06-18 Thread mercan
Hi; The owner of the /var/run/slurm-llnl directory and the slurmctld.pid and slurmd.pid files should be "slurm" user. Your files owner are root and noki. chown -R slurm:slurm /var/spool/slurm-llnl Regards; Ahmet M. On 18.06.2019 15:03, Noki Lee wrote: Though SLURM works fine for job su

[slurm-users] How to fix “slurmd.service: Can't open PID file” error

2019-06-18 Thread Noki Lee
Though SLURM works fine for job submitting, running, and queueing, I got a minor error below. sudo systemctl status slurmd Jun 12 10:20:40 noki-System-Product-Name systemd[1]: slurmd.service: Can't open PID file /var/run/slurm-llnl/slurmd.pid (yet?) after start: No such file or directory sudo sy