"Loris Bennett" <[email protected]>
writes:

> Hi,
>
> I've started getting the following error when I submit jobs:
>
> slurmd:[2011-11-25T14:16:12] [2418] pam_setcred: Failure setting user 
> credentials
> slurmd:[2011-11-25T14:16:12] [2418] error in pam_setup
> slurmd:[2011-11-25T14:16:12] [2418] pam_close_session: Cannot make/remove an 
> entry for the specified session
>
> Can anyone enlighten me as to what the problem might be?

Our supplier was able to solve this problem for us.

In our slurm.conf we had

        UsePAM=1

but no corresponding PAM configuration for SLURM.  Adding a file

        /etc/pam.d/slurm

with the following contents:

        auth    required        pam_localuser.so
        account required        pam_unix.so
        session required        pam_limits.so

fixed the problem.

Cheers

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [email protected]

Reply via email to