[slurm-users] Problem with permisions. CentOS 7.8

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Thu May 28 18:58:08 UTC 2020


Good check, but I don't believe it is necessary to disable SELinux in 
order to run Munge correctly.  Our slurmctld server (CentOS 7.8) reports 
Enforcing.

/Ole


On 28-05-2020 20:37, Ree, Jan-Albert van wrote:
> 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-Albertvan 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



More information about the slurm-users mailing list