I have a Wiki page describing how to install Munge and Slurm on CentOS
7: https://wiki.fysik.dtu.dk/niflheim/SLURM
I hope this may help.
/Ole
On 10/13/2016 02:38 PM, Andrew Elwell wrote:
Hi folks,
I've just built 16.05.5 into rpms (using the rpmbuild -ta
slurm*.tar.bz2 method) to update a CentOS 7 slurmdbd host.
According to http://slurm.schedmd.com/accounting.html
"Note that SlurmDBD relies upon existing Slurm plugins for
authentication and Slurm sql for database use, but the other Slurm
commands and daemons are not required on the host where SlurmDBD is
installed. Install the slurmdbd, slurm-plugins, and slurm-sql RPMs on
the computer when SlurmDBD is to execute. If you want munge
authentication, which is highly recommended, you will also need to
install the slurm-munge RPM."
so just installing slurmdbd, slurm-plugins, and slurm-sql works (yum
localinstall), but as expected fails to start:
[2016-10-13T20:19:46.931] error: Couldn't find the specified plugin
name for auth/munge looking at all files
[2016-10-13T20:19:46.931] error: cannot find auth plugin for auth/munge
[2016-10-13T20:19:46.931] error: cannot create auth context for auth/munge
[2016-10-13T20:19:46.931] fatal: Unable to initialize auth/munge
authentication plugin
however it's not possible to cleanly install slurm-munge without slurm:
[root@ae-test01 ~]# yum localinstall
rpmbuild/RPMS/x86_64/slurm-munge-16.05.5-1.el7.centos.x86_64.rpm
Loaded plugins: fastestmirror
Examining rpmbuild/RPMS/x86_64/slurm-munge-16.05.5-1.el7.centos.x86_64.rpm:
slurm-munge-16.05.5-1.el7.centos.x86_64
Marking rpmbuild/RPMS/x86_64/slurm-munge-16.05.5-1.el7.centos.x86_64.rpm
to be installed
Resolving Dependencies
--> Running transaction check
---> Package slurm-munge.x86_64 0:16.05.5-1.el7.centos will be installed
--> Processing Dependency: slurm for package:
slurm-munge-16.05.5-1.el7.centos.x86_64
base
| 3.6 kB 00:00:00
extras
| 3.4 kB 00:00:00
updates
| 3.4 kB 00:00:00
--> Finished Dependency Resolution
Error: Package: slurm-munge-16.05.5-1.el7.centos.x86_64
(/slurm-munge-16.05.5-1.el7.centos.x86_64)
Requires: slurm
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ae-test01 ~]# yum localinstall
rpmbuild/RPMS/x86_64/slurm-munge-16.05.5-1.el7.centos.x86_64.rpm
rpmbuild/RPMS/x86_64/slurm-16.05.5-1.el7.centos.x86_64.rpm
Loaded plugins: fastestmirror
Examining rpmbuild/RPMS/x86_64/slurm-munge-16.05.5-1.el7.centos.x86_64.rpm:
slurm-munge-16.05.5-1.el7.centos.x86_64
Marking rpmbuild/RPMS/x86_64/slurm-munge-16.05.5-1.el7.centos.x86_64.rpm
to be installed
Examining rpmbuild/RPMS/x86_64/slurm-16.05.5-1.el7.centos.x86_64.rpm:
slurm-16.05.5-1.el7.centos.x86_64
Marking rpmbuild/RPMS/x86_64/slurm-16.05.5-1.el7.centos.x86_64.rpm to
be installed
Resolving Dependencies
--> Running transaction check
---> Package slurm.x86_64 0:16.05.5-1.el7.centos will be installed
---> Package slurm-munge.x86_64 0:16.05.5-1.el7.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
PackageArch Version
Repository Size
Installing:
slurm x86_6416.05.5-1.el7.centos
/slurm-16.05.5-1.el7.centos.x86_64 85 M
slurm-mungex86_6416.05.5-1.el7.centos
/slurm-munge-16.05.5-1.el7.centos.x86_64 44 k
Transaction Summary
Install 2 Packages
Total size: 85 M
Installed size: 85 M
Is this ok [y/d/N]: y
So - is this just a broken spec file that sets unneeded dependencies
or are the docs wrong that you don't need to install slurm?
Andrew