Ask Your Question

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

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 (

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

Build the Slurm plugins:


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

cd src/plugins/cred/munge/.libs

Copy the plugin to the /usr/local/lib/slurm directory:

sudo cp /usr/local/lib/slurm

Also copy the plugin the same way:

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

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


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


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

Seen: 28 times

Last updated: Apr 07 '23