Code Monkey home page Code Monkey logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024

This socket is created by the daemon (munged). Check to make sure munged is running.

Before starting munged for the first time, you'll need to create a secret key:

# dd if=/dev/urandom of=/etc/munge/munge.key bs=1 count=1024
# chmod 400 /etc/munge/munge.key
# chown munge:munge /etc/munge/munge.key

This key will need to be securely copied to all hosts within the MUNGE realm.

Once this key is created, you'll need to start munged:

# /usr/sbin/munged --force

On Ubuntu 14.04, you'll need to run munged with the --force option for now due to #31.

By default, munged will perform a double-fork to run in the background. If the socket is not being created or the daemon is not running, you can check the logfile (/var/log/munge/munged.log) or run munged in the foreground to have errors dumped to the terminal (/usr/sbin/munged --force --foreground).

Original comment by chris.m.dunlap on 31 Jul 2014 at 9:08

  • Added labels: Type-Support
  • Removed labels: Type-Defect

from munge.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024

Original comment by chris.m.dunlap on 5 Aug 2014 at 12:10

  • Changed state: Done

from munge.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024

Thank you, it worked just fine!

Original comment by ericaflriello on 5 Aug 2014 at 12:49

from munge.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024

Now I'm experiencing this problem again in a new installation, but this time I noted munge daemon creates munge.socket.2 in /usr/local/var/run/munge instead of creating it in /var/run/munge.

I've tried re-installing, but nothing changes that. Do you know what might be wrong this time?

Original comment by ericaflriello on 5 Sep 2014 at 1:56

from munge.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024

The socket is created in $(localstatedir)/run/munge. $(localstatedir) defaults to $(prefix)/var, and $(prefix) defaults to /usr/local; hence /usr/local/var/run/munge.

You probably want to configure it with something like:

$ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var

Original comment by chris.m.dunlap on 5 Sep 2014 at 4:42

from munge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.