On 8 November 2016 at 07:11, Peixin Qiao <pq...@hawk.iit.edu> wrote: > Hi, > > I install munge and restart my computer, then munge stopped work and > restarting munge didn't work. It says: > > munged: Error: Failed to check pidfile dir "/var/run/munge": cannot > canonicalize "/var/run/munge": No such file or directory > > Then, I reconfigure munge and start again, it works. Does it mean that > /var/run/munge is temporary file and I need reconfigure munge, install and > start it every time when I restart my computer? > > This is munge working on my computer, is it correct? > ps -ef | grep munged > root 3371 1643 0 14:02 ? 00:00:00 munged > peixin 3377 31934 0 14:02 pts/1 00:00:00 grep --color=auto munged > >
Peixin, What operating system are you using? I found on Centos 7 I needed to create a tmpfile.d entry to make sure that the /var/run/munge was created correctly on boot every time. https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html cheers L. ------ The most dangerous phrase in the language is, "We've always done it this way." - Grace Hopper