[slurm-users] Fwd: useradd: group 'slurm' does not exist

Jeffrey R. Lang JRLang at uwyo.edu
Tue Jan 25 21:09:50 UTC 2022

Looking at what you provided in your email the groupadd commands are failing, due to the requested GID 991 and 992 already being assigned by the system your installing on.

Check the /etc/group file and find two GID numbers lower than 991 that are unused and use those instead.  Keep them in the 900 range and going to low can run into system GID assignments.

Once you have selected your new GID’s use them in the groupadd commans to create the proper groups.  Also use these new GID’s in the useradd commands as appropriate.

From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Nousheen
Sent: Tuesday, January 25, 2022 2:39 PM
To: slurm-users at lists.schedmd.com
Subject: [slurm-users] Fwd: useradd: group 'slurm' does not exist

◆ This message was sent from a non-UWYO address. Please exercise caution when clicking links or opening attachments from external sources.

Hello everyone,

I am struggling with the installation of slurm on Centos 7. while following this tutorial https://www.slothparadise.com/how-to-install-slurm-on-centos-7-cluster/
, after the installation of MariaDB, I try to create users for slurm and munge but following the same sequence of commands as in the tutorial gives me the following error.

Package 1:mariadb-server-5.5.68-1.el7.x86_64 is obsoleted by mysql-community-server-5.7.37-1.el7.x86_64 which is already installed
Package 1:mariadb-devel-5.5.68-1.el7.x86_64 is obsoleted by mysql-community-devel-5.7.37-1.el7.x86_64 which is already installed
Nothing to do
[root at exxact slurm]# export MUNGEUSER=991
[root at exxact slurm]# groupadd -g $MUNGEUSER munge
groupadd: GID '991' already exists
[root at exxact slurm]# useradd  -m -c "MUNGE Uid 'N' Gid Emporium" -d /var/lib/munge -u $MUNGEUSER -g munge  -s /sbin/nologin munge
useradd: group 'munge' does not exist
[root at exxact slurm]# export SLURMUSER=992
[root at exxact slurm]# groupadd -g $SLURMUSER slurm
groupadd: GID '992' already exists
[root at exxact slurm]# useradd  -m -c "SLURM workload manager" -d /var/lib/slurm -u $SLURMUSER -g slurm  -s /bin/bash slurm
useradd: group 'slurm' does not exist

I am totally new to this. Kindly guide me on how to resolve this.

Best Regards,
Nousheen Parvaiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20220125/3e76a6e3/attachment-0001.htm>

More information about the slurm-users mailing list