Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6046

Document how to start/run the agent in a systemd environment

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Accepted
    • Minor
    • Resolution: Unresolved
    • 0.27.1, 0.28.0, 1.0.0
    • None
    • None
    • openSUSE Tumbleweed, Linux kernel 4.7.0

    • 1

    Description

      I am following the getting started guide and built Mesos. I run

      ./bin/mesos-master.sh --ip=127.0.0.1 --work_dir=../../tmp

      and the startup works fine, I can look at the web interface etc. Then I run

      ./bin/mesos-agent.sh --master=127.0.0.1:5050 --work_dir=../../tmp

      and this fails with the following exception:

      WARNING: Logging before InitGoogleLogging() is written to STDERR
      I0816 13:53:36.554414 26243 main.cpp:243] Build: 2016-08-16 12:43:23 by user
      I0816 13:53:36.554527 26243 main.cpp:244] Version: 1.0.0
      I0816 13:53:36.561920 26243 systemd.cpp:237] systemd version `228` detected
      I0816 13:53:36.561966 26243 main.cpp:342] Inializing systemd state
      Failed to initialize systemd: Failed to create systemd slice 'mesos_executors.slice': Failed to write systemd slice `/run/systemd/system/mesos_executors.slice`: Failed to open file '/run/systemd/system/mesos_executors.slice': Permission denied
      

      When I add --no-systemd_enable_support the agent runs fine.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tgpfeiffer Tobias Pfeiffer
              Joseph Wu Joseph Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: