Hi Ferran,

Normally the munge and slurm services are run by two distinct users, but you said that you run munge as the slurm user?

Questions:

1. Did you install the munge RPM from EPEL?

2. Did you check the instructions in https://wiki.fysik.dtu.dk/niflheim/Slurm_installation#munge-configuration-and-testing ?

Best regards,
Ole

On 28-05-2020 20:20, Ferran Planas Padros wrote:
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-boun...@lists.schedmd.com> on behalf of Steven Senator (slurm-dev-list) <slurm-dev-l...@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.uch...@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.pad...@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.

Reply via email to