I followed all the instructions of getting started with the slurm simulator
on a new Ubuntu VM. Everytihng seems fine. But when I run ./exec_sim.pl SIM_DIR
100, I get the following errors in the slurmctld.log file:
slurmctld: error: unable to open pidfile /var/run/slurmctld.pid: Permission
denied

/var/run/* files have read permissions to users, I am not sure why is slurm
trying to open it in write mode.
This error goes away if I do sudo ./exec_sim.pl but then other errors come
up such as SlurmUser is not set to root, etc..

How to fix this?


On Tue, Jul 23, 2013 at 2:10 PM, Akhil langer <[email protected]> wrote:

> I followed all the instructions of getting started with the slurm
> simulator on a new Ubuntu VM. Everytihng seems fine. But when I run ./
> exec_sim.pl SIM_DIR 100, I get the following errors in the slurmctld.log
> file:
> slurmctld: error: unable to open pidfile /var/run/slurmctld.pid:
> Permission denied
>
> /var/run/* files have read permissions to users, I am not sure why is
> slurm trying to open it in write mode.
> This error goes away if I do sudo ./exec_sim.pl but then other errors
> come up such as SlurmUser is not set to root, etc..
>
> How to fix this?
>

Reply via email to