中间层主机和中间层代理是否需要根访问?

ukdjmx9f  于 2021-06-26  发布在  Mesos
关注(0)|答案(3)|浏览(317)

mesos master和mesos代理是否需要根访问权限?mesos master和mesos agent的默认权限级别是什么?它们能否以非根访问权限运行?

sxpgvts3

sxpgvts31#

你会想跑的 mesos-agent--no-systemd_enable_support 如果您不想提供它的根访问权限,并且没有所提供的systemd支持也可以。

ckocjqey

ckocjqey2#

不,mesos master和mesos代理不需要根访问权限。是的,它们可以使用非根访问权限运行

yfwxisqw

yfwxisqw3#

当我尝试在没有根访问权限的情况下启动mesos群集时,mesos slave中出现错误:

Log file created at: 2018/02/17 06:57:48
Running on machine: ubuntu
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
E0217 06:57:48.811517 46316 main.cpp:468] EXIT with status 1: 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

我的mesos集群由三个节点组成,所有的从主机都出现了这个错误。所以我用mesos master中的root访问权限启动了mesos集群。成功了。

相关问题