[slurm-users] unable to create directory '/run/user/14325/dconf': Permission denied. dconf will not work properly.

2021-03-17 Thread Prentice Bisbal
I when I use  Emacs in an interactive session started with salloc like this, for example: salloc -n 1 -t 5:00:00 --mem-per-cpu=4000 --x11 a bunch of messages like this are spit out in the terminal window: (emacs:2105): dconf-CRITICAL **: 17:40:01.497: unable to create directory '/run/user/412

Re: [slurm-users] unable to create directory '/run/user/14325/dconf': Permission denied. dconf will not work properly.

2021-03-17 Thread Paul Raines
This is most likely because your XDG* environment variables are being copied into the job environment. We do the following in our taskprolog script echo "unset XDG_RUNTIME_DIR" echo "unset XDG_SESSION_ID" echo "unset XDG_DATA_DIRS" -- Paul Raines (http://help.nmr.mgh.harvard.edu) On We

Re: [slurm-users] SLURM slurmctld error on Ubuntu20.04 starting through systemctl

2021-03-17 Thread William Brown
I can't immediately check what I do with Slurm but in several systemd files I create sub folders of /var/run and set their ownership the same as the service will run under. I use CentOS (for now!). I can post an actual service startup file in daylight if useful. William On Wed, 17 Mar 2021,

Re: [slurm-users] SLURM slurmctld error on Ubuntu20.04 starting through systemctl

2021-03-17 Thread Brian Andrus
That is looking like your /run folder does not have world execute permissions, making it impossible for anything to access sub-directories. Brian Andrus On 3/17/2021 1:05 PM, Sven Duscha wrote: Hi, On 17.03.21 19:54, Brian Andrus wrote: Be that as it may, you can see it is a permissions issu

Re: [slurm-users] SLURM slurmctld error on Ubuntu20.04 starting through systemctl

2021-03-17 Thread Sven Duscha
Hi, On 17.03.21 19:54, Brian Andrus wrote: > Be that as it may, you can see it is a permissions issue. Check > permissions on /run and ensure the slurmctld user is able to write there. > > You can either change the slurmctld user to one that can write there > or change the permissions on the direc

Re: [slurm-users] SLURM slurmctld error on Ubuntu20.04 starting through systemctl

2021-03-17 Thread Rodrigo Santibáñez
After installing SLURM in Ubuntu and before starting the services, I do: mkdir -p /var/spool/slurmd mkdir -p /var/lib/slurm-llnl mkdir -p /var/lib/slurm-llnl/slurmd mkdir -p /var/lib/slurm-llnl/slurmctld mkdir -p /var/run/slurm-llnl (You need to change this to /run/slurm-llnl as your location for

Re: [slurm-users] SLURM slurmctld error on Ubuntu20.04 starting through systemctl

2021-03-17 Thread Brian Andrus
I am guessing you aren't overly familiar with Linux/systemd since you have the '&' at the end of your start command. Be that as it may, you can see it is a permissions issue. Check permissions on /run and ensure the slurmctld user is able to write there. You can either change the slurmctld us

[slurm-users] SLURM slurmctld error on Ubuntu20.04 starting through systemctl

2021-03-17 Thread Sven Duscha
Hi, I experience with SLURM slurmctld an error on Ubuntu20.04, when starting the service (through systemctl): I installed munge and SLURM version 19.05.5-1 through the package manager from the default repository: apt-get install munge slurm-client slurm-wlm slurm-wlm-doc slurmctld slurmd syst