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 ...
随机推荐
- 隐藏Nginx、Apache、PHP的版本号
Nginx: 在nginx配置文件nginx.conf中,加入以下代码: server_tokens off; Apache: 在apache配置文件httpd.conf中,加入以下代码: Serve ...
- MySQL创建及删除临时表
示例SQL: drop temporary table if exists testdb.tmp_test_table; create temporary table testdb.tmp_test_ ...
- css+html 实现 光晕 光圈
<style> html { height: 100%;}body { height: 100%; background-color: #000; margin: 0; padding: ...
- WebGL半透明物体的绘制
WebGL 中当透明和半透明物体共存时,相关设置不正确的话,物体表面会出现破碎杂乱的断面,非常影响效果,我们接着就来解决这个问题. 完成的展示Demo请看: 半透明物体和透明物体共存 α 混合 让物体 ...
- Android 反编译技术流程
为何需要反编译 作为一名Android开发者,很多的时候需要去学习别人优秀的代码,原本在GitHub上就有很多开源的项目代码,但有的时候在使用软件时候遇到自己想要的功能时,想要学习实现的代码时,这时候 ...
- 最新 荔枝java校招面经 (含整理过的面试题大全)
从6月到10月,经过4个月努力和坚持,自己有幸拿到了网易雷火.京东.去哪儿.荔枝等10家互联网公司的校招Offer,因为某些自身原因最终选择了荔枝.6.7月主要是做系统复习.项目复盘.LeetCode ...
- ul根据后台添加li,并在点击li时,颜色随之变化
在我们大多数时候都是通过<ul><li>...</li></ul>来实现同级的加载,但是也用很多时候li里的内容是不固定的.需要根据后台返回数据来生成. ...
- Asp.Net Core文件上传
文件上传功能在实际开发中经常使用,在 .Net Core中,文件上传接收类型不再使用 HttpPostedFile 或 HttpFileCollection来接收,而是使用 IFormFile 或 I ...
- ORA-12514错误分析
ORA-12514 TNS 监听程序当前无法识别连接描述符中请求服务 的解决方法 ORA-12514 TNS 监听程序当前无法识别连接描述符中请求服务 有同事遇到这个问题,现总结一下,原因如下: ...
- Postman和jmeter的区别
1.创建接口用例集(没区别) Postman是Collections,Jmeter是线程组,没什么区别. 2.步骤的实现(有区别) Postman和jmeter都是创建http请求 区别1:postm ...