[slurm-dev] Building slurm from source - munge plugin not getting build

21 views
Skip to first unread message

Dhiraj Reddy

unread,
May 10, 2017, 7:35:30 PM5/10/17
to slurm-dev
Hi,

I am trying to build latest release version of slurm from source. I have
used the following procedure to do configure, make and make install

./configure --enable-debug --prefix=~/opt/slurm-17 --sysconfdir=~/etc/slurm
make -j4
make install

Now, running slurmctld and slurmd with verbose logging enabled, I get the
following

~/opt/slurm-17/sbin/slurmctld -Dv

slurmctld: error: Couldn't find the specified plugin name for crypto/munge
looking at all files
slurmctld: error: cannot find crypto plugin for crypto/munge
slurmctld: error: cannot create crypto context for crypto/munge
slurmctld: fatal: slurm_cred_creator_ctx_create((null)): Operation not
permitted


~/opt/slurm-17/sbin/slurmd -Dv

slurmd: error: Couldn't find the specified plugin name for auth/munge
looking at all files
slurmd: error: cannot find auth plugin for auth/munge
slurmd: error: cannot create auth context for auth/munge
slurmd: error: slurmd initialization failed

I can see that the above errors are because the libraries auth_munge.so and
crypto_munge.so are not available in ~/opt/slurm-17/lib directory.

Can somebody explain what is wrong with my configuration and build process
and how the auth_munge.so and crypto_munge.so libraries can be built.

I have tried the following way of confirurign with no success

1. With munge binary present at /usr/bin/munge
./configure --enable-debug --prefix=~/opt/slurm-17 --sysconfdir=~/etc/slurm
--with-munge=/usr/bin

Janne Blomqvist

unread,
May 11, 2017, 2:41:47 AM5/11/17
to slurm-dev, Dhiraj Reddy
The munge plugin is built only if it finds the munge headers. Do you have them installed? E.g. the package "munge-devel" on RHEL/CentOS with the EPEL repo, or "libmunge-dev" on Debian/Ubuntu.

--
Janne Blomqvist, D.Sc. (Tech.), Scientific Computing Specialist
Aalto University School of Science, PHYS & NBE
+358503841576 || janne.b...@aalto.fi

william....@gmail.com

unread,
May 11, 2017, 3:02:01 AM5/11/17
to slurm-dev

Have you re-run ldconfig so that the shared library search list is updated? The installer puts slurmf.conf in the directory /etc/ld.so.conf.d, but that only takes effect if you run ldconfig to update the cache.

William

Dhiraj Reddy

unread,
May 11, 2017, 2:43:09 PM5/11/17
to slurm-dev
Installing libmunge-dev before running ./configure solved the problem

Thanks
Dhiraj
Reply all
Reply to author
Forward
0 new messages