[slurm-users] Problem with permisions. CentOS 7.8

Ree, Jan-Albert van J.A.v.Ree at marin.nl
Thu May 28 18:37:58 UTC 2020


Have you checked if SELinux is perhaps blocking this?

Give a 'getenforce' command. If it reports back 'Enforcing' , then issue 'setenforce 0' and retry


Regards,

--

Jan-Albert van Ree

Jan-Albert van Ree | HPC Specialist | Digital Services
MARIN | T +31 317 49 35 48 | J.A.v.Ree at marin.nl<mailto:J.A.v.Ree at marin.nl> | www.marin.nl<http://www.marin.nl>

[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] <http://www.youtube.com/marinmultimedia>  [Twitter] <https://twitter.com/MARIN_nieuws>  [Facebook] <https://www.facebook.com/marin.wageningen>
MARIN news: May 26-29, The Future of Ocean Energy and Shipping online<https://www.marin.nl/may-26-29-the-future-of-ocean-energy-and-shipping-online>

________________________________
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Ferran Planas Padros <ferran.padros at su.se>
Sent: Thursday, May 28, 2020 20:20
To: Slurm User Community List
Subject: Re: [slurm-users] Problem with permisions. CentOS 7.8


Hi Rodrigo,


I am already following the instructions, but when I start munge it does not work. I get this error (on journalctl):


munged: Error: Failed to check logfile "/var/log/munge/munged.log": Permission denied


But, I insist, the ownership is correctly set


If I run munge -n I get:

/var/run/munge/munge.socket.2


munge.log is not writing any lines when I run this command.


Best,

Ferran



________________________________
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Steven Senator (slurm-dev-list) <slurm-dev-list at senator.net>
Sent: Thursday, May 28, 2020 7:10:26 PM
To: Slurm User Community List
Subject: Re: [slurm-users] Problem with permisions. CentOS 7.8

What is in /var/log/munge/munged.log?
Munge is quite strict about permissions in its whole hierarchy of
control and configuration files, appropriately.

On Thu, May 28, 2020 at 11:01 AM Rodrigo Santibáñez
<rsantibanez.uchile at gmail.com> wrote:
>
> Hello,
>
> You could find the solution here
> https://wiki.fysik.dtu.dk/niflheim/Slurm_installation
>
> Best regards
>
> El jue., 28 de mayo de 2020 12:55, Ferran Planas Padros <ferran.padros at su.se> escribió:
>>
>> Hello,
>>
>>
>> I have installed Slurm under CentOS 7.8 Kernel 3.10.0-1127.el7.x86_64. The Slurm version I have installed is 14.03.3 along with Munge 0.5.11.
>>
>> I know these are not the latest versions, but I wanted to have consistency in all my nodes.
>>
>>
>> I am facing a problem when I try to start Munge in the nodes with CentOS 7.8. Anytime I want to start Munge (service munge start) I get the error that I detail below.
>>
>>
>> 'munged[36385]: munged: Error: Failed to check logfile "/var/log/munge/munged.log": Permission denied'
>>
>>
>> I run the command as slurm user, and the /var/log/munge folder does belong to slurm.
>>
>>
>> I have the exact same setup on older nodes which are working under CentOS 6.6 and 6.5, and there I have no problem. At the end of the year we plan to migrate all nodes to CentOS 7.x, and I really need to understand what is happening here.
>>
>>
>> Best,
>>
>> Ferran




Help us improve the spam filter. If this message contains SPAM, click here<https://www.mailcontrol.com/sr/KLOIqKuekjTGX2PQPOmvUg0Q1FXI7Aabqufg-Xabt1YGMns2XSk4W8pUxRiVuV5xk81PsMsOiFxqvfHxypKb0g==> to report. Thank you, MARIN Support Group


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200528/d200c3d3/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagef837d9.PNG
Type: image/png
Size: 293 bytes
Desc: imagef837d9.PNG
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200528/d200c3d3/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageaac339.PNG
Type: image/png
Size: 331 bytes
Desc: imageaac339.PNG
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200528/d200c3d3/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image3e0d56.PNG
Type: image/png
Size: 333 bytes
Desc: image3e0d56.PNG
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200528/d200c3d3/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageeb4ef1.PNG
Type: image/png
Size: 253 bytes
Desc: imageeb4ef1.PNG
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200528/d200c3d3/attachment-0007.png>


More information about the slurm-users mailing list