Tobias Pfeiffer created MESOS-6046:
--------------------------------------

             Summary: mesos-agent.sh fails with "Permission denied" error
                 Key: MESOS-6046
                 URL: https://issues.apache.org/jira/browse/MESOS-6046
             Project: Mesos
          Issue Type: Bug
    Affects Versions: 1.0.0
         Environment: openSUSE Tumbleweed, Linux kernel 4.7.0
            Reporter: Tobias Pfeiffer


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:

{noformat}
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
{noformat}

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to