mesos-master启动失败,报错Failed to load unknown flag 'quorum.rpmsave'
【现象】
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
mesos-master启动失败,报错Failed to load unknown flag 'quorum.rpmsave'的更多相关文章
- 使用elasticsearch启动项目报错failed to load elasticsearch nodes 。。。。。No type specified for field [name]
failed to load elasticsearch nodes .....No type specified for field [name]翻译: 加载ElasticSearch节点失败... ...
- Eclipse启动 报错[Failed to load the JNI shared library jvm.dll
准备要做java服务器,在安装开发环境时,启动Eclipse报错[Failed to load the JNI shared library jvm.dll] 研究了下,造成错误的原因是由于eclip ...
- 使用laravel-admin后台sdk报错Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID、Provisional headers are shown
报错Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID请先确定自己的资源url是否可以确实访问到(地址正确与否.访问权限是否开启等) 若n ...
- junit单元测试报错Failed to load ApplicationContext,但是项目发布到tomcat浏览器访问没问题
junit单元测试报错Failed to load ApplicationContext,但是项目发布到tomcat浏览器访问没问题,说明代码是没问题的,配置也没问题.开始时怀疑是我使用junit版本 ...
- 启动Myeclipse报错“Failed to create the Java Virtual Machine”的解决办法
我安装的是Myeclipse 10.7.1.装上好久没用,今天启动突然报错:Failed to create the Java Virtual Machine. 检查Myeclipse安装好使用时好的 ...
- 启动Myeclipse报错“Failed to create the Java Virtual Machine”的解决办法
我安装的是Myeclipse 10.7.1.装上好久没用,今天启动突然报错:Failed to create the Java Virtual Machine. 检查Myeclipse安装好使用时好的 ...
- Svn启动窗口报错 Could not load file or assembly 'SharpSvn.dll' or one of its
win10 64位系统生成没问题,测试都没问题,结果换到win7 64位系统上,点开就出现,网上搜了下,通过以下方式解决, 必须把bin 文件夹全部删除,重新生成.要不还是会报错. Solve it. ...
- mac 启动php-fpm报错 failed to open configuration file '/private/etc/php-fpm.conf': No such file or direc
直接运行,有报错找不到配置文件. $ php-fpm [11-Jan-2014 16:03:03] ERROR: failed to open configuration file '/private ...
- Linux安装U盘启动报错Failed to load ldlinux.c32
报错信息 使用U盘安装linux无法正常启动 Start booting from USB device... SYSLINUX 5.10 EDD 2013-06-04 Copyright (C) 1 ...
随机推荐
- 做了一个非竞价排名、有较详细信息的程序员职位 match 网站
作为一个程序员,每次看机会当我去 BOSS 直聘 或者拉勾网进行搜索时,返回的顺序并不是根据匹配程度,而是这些公司给 BOSS 直聘或者拉勾网付了多少钱.这种百度式的竞价排名机制并没有把我做为求职者的 ...
- 三节课MINI计划第四周
一.任务 二.任务一 (一)梳理产品卖点 (二)策划线上活动 三.任务二 四.周报
- leetcode1277 Count Square Submatrices with All Ones
思路: 使用动态规划,dp[i][j]表示以(i, j)作为右下角的最大的全1矩阵的边长. 实现: class Solution { public: int countSquares(vector&l ...
- leetcode1105 Filling Bookcase Shelves
思路: dp[i]表示摆放好前i本书所需要的最小代价. 实现: class Solution { public: int minHeightShelves(vector<vector<in ...
- Reporting Service 2016 匿名访问配置
环境:SQL SERVER 2016 一.修改配置文件 需要修改的配置文件目录C:\Program Files\Microsoft SQL Server\MSRS13.MSSQLSERVER\Repo ...
- SCART概念
SCART(Syndicat des Constructeursd' Appareils Radiorécepteurs et Téléviseurs)接口是一种专用的音视频接口,它是由法国公司Per ...
- js 读取文本文件,日志内容
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...
- Spring 设计模式之责任链模式
[应用] 以下是一段代码,Spring MVC 的 diapatcherServlet 的 doDispatch 方法中,获取与请求匹配的处理器(HandlerExecutionChain) getH ...
- [windows官网]虚拟地址空间
虚拟地址空间 https://docs.microsoft.com/zh-cn/windows-hardware/drivers/gettingstarted/virtual-address-spac ...
- Java的设计模式(4)--抽象工厂模式
提供一个创建一系列或相互依赖对象的接口,而无须指定他们具体的类.例如某些系统可能需要为用户提供一系列相关对象,但系统不希望用户直接使用new运算符实例化这些对象,而是应当由系统来控制这些对象的创建,否 ...