<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Gadugi;
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> slurm-users <slurm-users-bounces@lists.schedmd.com>
<b>On Behalf Of </b>Nousheen<br>
<b>Sent:</b> Tuesday, January 25, 2022 2:39 PM<br>
<b>To:</b> slurm-users@lists.schedmd.com<br>
<b>Subject:</b> [slurm-users] Fwd: useradd: group 'slurm' does not exist<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:solid red 2.25pt;padding:1.0pt 4.0pt 1.0pt 4.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;line-height:11.35pt">
<span style="font-family:"Cambria Math",serif">◆</span> This message was sent from a non-UWYO address. Please exercise caution when clicking links or opening attachments from external sources.<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Hello everyone, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am struggling with the installation of slurm on Centos 7. while following this tutorial <a href="https://www.slothparadise.com/how-to-install-slurm-on-centos-7-cluster/" target="_blank">https://www.slothparadise.com/how-to-install-slurm-on-centos-7-cluster/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">, 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.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b>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<br>
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<br>
Nothing to do<br>
[root@exxact slurm]# export MUNGEUSER=991<br>
[root@exxact slurm]# groupadd -g $MUNGEUSER munge<br>
groupadd: GID '991' already exists<br>
[root@exxact slurm]# useradd  -m -c "MUNGE Uid 'N' Gid Emporium" -d /var/lib/munge -u $MUNGEUSER -g munge  -s /sbin/nologin munge<br>
useradd: group 'munge' does not exist<br>
[root@exxact slurm]# export SLURMUSER=992<br>
[root@exxact slurm]# groupadd -g $SLURMUSER slurm<br>
groupadd: GID '992' already exists<br>
[root@exxact slurm]# useradd  -m -c "SLURM workload manager" -d /var/lib/slurm -u $SLURMUSER -g slurm  -s /bin/bash slurm<br>
useradd: group 'slurm' does not exist</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I am totally new to this. Kindly guide me on how to resolve this.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><br clear="all">
<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">Best Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;font-family:"Arial",sans-serif">Nousheen Parvaiz</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0104in;height:.0104in" id="_x0000_i1026" src="https://mailfoogae.appspot.com/t?sender=abm91c2hlZW5wYXJ2YWl6QGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=e55c74ab-d4d1-48e0-86f0-28771df0eef6"><span style="font-size:7.5pt;font-family:"Gadugi",sans-serif;color:white">ᐧ</span><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><img border="0" width="1" height="1" style="width:.0104in;height:.0104in" id="_x0000_i1025" src="https://mailfoogae.appspot.com/t?sender=abm91c2hlZW5wYXJ2YWl6QGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=9c195166-e834-464b-9047-bb3924d69ff5"><span style="font-size:7.5pt;font-family:"Gadugi",sans-serif;color:white">ᐧ</span><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>