There is also good documentation that is written on installing munge which
explains what permissions and ownerships should be on what directories. You
can take a look at https://code.google.com/p/munge/wiki/InstallationGuide
if you have not already.

Thanks

Jackie

On Wed, Mar 25, 2015 at 7:28 AM, Jeff Layton <[email protected]> wrote:

>  I assume the same is true for /var/log/munge and /var/run/munge?
>
> How about /etc/munge?
>
> Thanks!
>
> Jeff
>
>
>  Yea, that folder and the files inside needs to be owned by munge.
>
> -Paul Edmon-
>
> On 03/25/2015 09:54 AM, Jeff Layton wrote:
>
> Good morning,
>
> Thanks for all of the advice in regard to slurm on NFS. I've
> started on my slurm quest  by installing munge but I'm
> having some trouble. I'm not sure  this is the right place
> to ask about munge but here goes.
>
> I'm building and install munge with the following options:
>
> ./configure --exec-prefix=/share/ec2-user --prefix= \
> --sysconfdir=*/etc/* --sharedstatedir=*/var/*
>
>
> This allows me to store the local state information in /var
> and the configuration information in /etc, but everything
> else is stored in */share/ec2-user/* (NFS shared directory).
>
> The build goes fine but when I try to start the munge
> service I get the following:
>
> [ec2-user@ip-10-0-1-72 munge-0.5.11]$ sudo service munge start
> Starting MUNGE: munged (failed).
> munged: Error: Failed to check logfile "/var/log/munge/munged.log":
> Permission denied
>
>
> The permissions on /var/log/munge are:
>
> [ec2-user@ip-10-0-1-72 munge-0.5.11]$ sudo ls -lstar /var/log/munge
> total 8
> 4 drwxr-xr-x 6 root root 4096 Mar 25 13:39 ..
> 4 drwx------ 2 root root 4096 Mar 25 13:39
>
>
> I'm not sure but should this directory be owned by user munge?
>
> TIA!
>
> Jeff
>
>
>
>

Reply via email to