mesos-master启动失败,报错Failed to load unknown flag 'quorum.rpmsave'

原创 2016年05月30日 15:38:00

【现象】

mesos启动失败,查看mesos状态报错:

[root@hps102 ~]# systemctl status mesos-master
● mesos-master.service - Mesos Master
   Loaded: loaded (/usr/lib/systemd/system/mesos-master.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2016-05-30 15:26:11 CST; 5s ago
  Process: 7783 ExecStart=/usr/bin/mesos-init-wrapper master (code=exited, status=1/FAILURE)
 Main PID: 7783 (code=exited, status=1/FAILURE)

May 30 15:26:10 hps102 systemd[1]: mesos-master.service: main process exited, code=exited, status=1/FAILURE
May 30 15:26:11 hps102 systemd[1]: Unit mesos-master.service entered failed state.
May 30 15:26:11 hps102 systemd[1]: mesos-master.service failed.

通过journalctl查看mesos-master日志:

[root@hps102 ~]# journalctl -f -u  mesos-master
-- Logs begin at Mon 2016-05-30 04:03:01 CST. --
May 30 15:27:52 hps102 systemd[1]: mesos-master.service holdoff time over, scheduling restart.
May 30 15:27:52 hps102 systemd[1]: Started Mesos Master.
May 30 15:27:52 hps102 systemd[1]: Starting Mesos Master...
May 30 15:27:52 hps102 mesos-master[8200]: Failed to load unknown flag 'quorum.rpmsave'
May 30 15:27:52 hps102 mesos-master[8200]: 
May 30 15:27:52 hps102 mesos-master[8200]: Usage: mesos-master [options]
May 30 15:27:52 hps102 mesos-master[8200]: 
May 30 15:27:52 hps102 mesos-master[8200]:   --acls=VALUE                             The value could be a JSON-formatted string of ACLs
May 30 15:27:52 hps102 mesos-master[8200]:                                            or a file path containing the JSON-formatted ACLs used
May 30 15:27:52 hps102 systemd[1]: mesos-master.service: main process exited, code=exited, status=1/FAILURE
May 30 15:27:52 hps102 systemd[1]: Unit mesos-master.service entered failed state.
May 30 15:27:52 hps102 systemd[1]: mesos-master.service failed.
^XMay 30 15:28:12 hps102 systemd[1]: mesos-master.service holdoff time over, scheduling restart.
May 30 15:28:12 hps102 systemd[1]: Started Mesos Master.
May 30 15:28:12 hps102 systemd[1]: Starting Mesos Master...
May 30 15:28:12 hps102 systemd[1]: mesos-master.service: main process exited, code=exited, status=1/FAILURE
May 30 15:28:12 hps102 systemd[1]: Unit mesos-master.service entered failed state.
May 30 15:28:12 hps102 systemd[1]: mesos-master.service failed.

【原因】

查看mesos配置目录:

[root@hps102 ~]# ll /etc/mesos*
/etc/mesos:
total 8
-rw-r--r-- 1 root root 65 May 30 15:21 zk
-rw-r--r-- 1 root root 65 May 30 15:04 zk.rpmsave

/etc/mesos-master:
total 24
-rw-r--r-- 1 root root  5 May 30 15:21 logging_level
-rw-r--r-- 1 root root  2 May 30 15:21 quorum
-rw-r--r-- 1 root root  2 May 30 15:03 quorum.rpmsave
-rw-r--r-- 1 root root 17 May 30 15:21 work_dir
-rw-r--r-- 1 root root 17 May 30 15:03 work_dir.rpmsave
-rw-r--r-- 1 root root  7 May 30 15:21 zk_session_timeout

/etc/mesos-slave:
total 16
-rw-r--r-- 1 root root 20 May 30 15:21 attributes
-rw-r--r-- 1 root root 13 May 30 15:21 containerizers
-rw-r--r-- 1 root root  8 May 30 15:21 logging_level
-rw-r--r-- 1 root root 17 May 30 15:21 work_dir

发现多了几个.rpmsave结尾的文件。
这个是由于mesos-master执行yum remove mesos的时候,mesos-master还是运行状态,导致删除时有备份文件产生。

【处理】

删除上面那几个文件即可:

rm -f /etc/mesos-master/quorum.rpmsave  /etc/mesos-master/work_dir.rpmsave /etc/mesos/zk.rpmsave
版权声明:欢迎转载分享!

DCOS之Mesos-DNS介绍

DCOS的Mesos-DNS它主要提供域名解析服务,Mesos-DNS 在DCOS框架中支持服务发现,允许应用程序和服务通过域名系统(DNS)来相互定位。DCOS中的 Mesos-DNS充当的角色和在...

Mesos集群yum安装部署

转载来自:http://3258715.blog.51cto.com/3248715/1757850 1 Apache Mesos简介 Apache Mesos据说是云计算的未来,利用Mesos可...

centos7 mysql: mariadb-wait-ready $MAINPID (code=exited, status=1/FAILURE)

在centos7环境上重装mysql时运行命令 删除:#yum remove mariadb*  重装:#yum -y install mariadb* 启动:#systemctl start ...

启动eclipse报错failed to load the JNI shared library

今天在新电脑上重新装了个eclipse,启动是报错 到eclipse安装目录下打开eclipse.ini文件...
  • klv091
  • klv091
  • 2016年06月26日 15:12
  • 208

SpringBoot 启动服务器失败 报错 spring-boot Failed to start component [StandardServer[-1]]

2017-08-9 13:45:06,131 [ERROR] [main] [org.springframework.boot.SpringApplication.run(SpringApplicat...

rabbitMQ-server控制台安装报错启动失败,黑窗口一闪即过Applying plugin configuration to rabbit .. failed.

前篇http://blog.csdn.net/wabiaozia/article/details/53785398 篇尾提到一个问题,安装rabbitMQ管理工具(控制台)时,打开黑窗口一闪即过并报错...

完美解决android studio启动Genymotion失败的‘unable to load VirtualBox….‘报错

完美解决android studio启动Genymotion失败的‘unable to load VirtualBox….‘报错在android studio安装Genymotion启动时报错’una...
  • SDNA01
  • SDNA01
  • 2016年03月20日 05:24
  • 1173

spring/springmvc/tomcat启动报错:Servlet mapping specifies an unknown servlet name taotao-search,Failed t

报错提示 Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]] ...

eclipse运行错误提示 Failed to load D:\Android\sdk\build-tools\26.0.0-preview\lib\dx.jar Unknown error: Un

前几天在ecplise上运行项目还好好,今天一运行就提示这个错误:Your project contains error(s), please fix them before running your...

genymotion报错:Failed to open a session for the virtual machine,Unable to load R3 module xxxx/VBoxDD.D

这是由于windonws主题被破解的原因引起的,需要修复主题文件到原装,很难想象Virtualbox居然跟windows主题有关系,修复以后,genymotion就正常启动了,看了看网上的帖子全是配置...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:mesos-master启动失败,报错Failed to load unknown flag 'quorum.rpmsave'
举报原因:
原因补充:

(最多只允许输入30个字)