Ask Your Question
0

How can I fix "cannot find cred plugin for cred/munge" or (auth/munge) Plugin when starting slurmctld?

asked 2023-04-07 19:03:15 +0000

qstack gravatar image

updated 2023-04-07 19:03:58 +0000

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-04-07 19:03:34 +0000

qstack gravatar image

If the munge plugin is missing from your system, you can build it from the Slurm source code. Here's how to build and install the munge plugin:

Download the latest Slurm source code from the official website (https://www.schedmd.com/downloads.php).

Uzip the slurm source. Now install the dependencies:

sudo yum install -y gcc make munge munge-devel munge-libs openssl-devel pam-devel mariadb-devel readline-devel

For Debian based systems use apt-get instead.

cd slurm-20.11.9
./configure

Build the Slurm plugins:

make

Once the build is complete, locate the munge plugin cred_munge.so in the src/plugins/cred/munge/.libs directory: bash

cd src/plugins/cred/munge/.libs

Copy the cred_munge.so plugin to the /usr/local/lib/slurm directory:

sudo cp cred_munge.so /usr/local/lib/slurm

Also copy the auth_munge.so plugin the same way:

cp ./src/plugins/auth/munge/.libs/auth_munge.so /usr/local/lib/slurm 

Make sure your slurm.conf configuration file has the following line:

CredType=cred/munge

Restart the Slurm services for the changes to take effect:

sudo systemctl restart slurmctld
sudo systemctl restart slurmd

Now the munge plugin should be properly installed and available for Slurm to use.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

1 follower

Stats

Asked: 2023-04-07 19:03:15 +0000

Seen: 26 times

Last updated: Apr 07 '23