无法开始马拉松状态= 1 /失败

时间:2018-12-11 23:26:06

标签: mesos marathon

Centos 7.1,Mesos 1.7.0,无法分辨马拉松版本

[node1]$ sudo rpm -Uvh http://repos.mesosphere.com/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
[node1]$ sudo yum -y install mesos marathon
sudo service marathon start
 [vagrant@node1 marathon]$ systemctl status marathon -l
marathon.service - Scheduler for Apache Mesos
Loaded: loaded (/usr/lib/systemd/system/marathon.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2018-12-11 22:38:36 UTC; 37s ago
Process: 30240 ExecStart=/usr/share/marathon/bin/marathon (code=exited, status=1/FAILURE)
Process: 30238 ExecStartPre=/bin/chmod 755 /run/marathon (code=exited, status=0/SUCCESS)
Process: 30235 ExecStartPre=/bin/chown marathon:marathon /run/marathon (code=exited, status=0/SUCCESS)
Process: 30234 ExecStartPre=/bin/mkdir -p /run/marathon (code=exited, status=0/SUCCESS)
Main PID: 30240 (code=exited, status=1/FAILURE)

[vagrant@node1 marathon]$ java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)

我遵循了here中的步骤。

我无法在线找到答案。

1 个答案:

答案 0 :(得分:1)

您可以通过下一条命令获取马拉松版本。

  

$ rpm -qa马拉松

而且,也许可以从/var/log/all中找到错误原因。