salt-stack系列报错
master启动报错
实验环境为:
[root@master salt]# cat /proc/version
Linux version 3.10.0-327.el7.x86_64 (mockbuild@x86-034.build.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015
[root@master salt]# python -V
Python 2.7.5
[root@master salt]# getenforce
Disabled
[root@master salt]# ping salve.sishen.cn
PING salve.sishen.cn (101.78.223.131) 56(84) bytes of data.
^C
--- salve.sishen.cn ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
[root@master salt]# ping -c 1 master.sishen.cn
PING master.sishen.cn (192.168.75.135) 56(84) bytes of data.
64 bytes from master.sishen.cn (192.168.75.135): icmp_seq=1 ttl=64 time=0.018 ms
--- master.sishen.cn ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.018/0.018/0.018/0.000 ms
salt-master的配置为
然后启动报如下错误
[root@master salt]# systemctl start salt-master
Job for salt-master.service failed because the control process exited with error code. See "systemctl status salt-master.service" and "journalctl -xe" for details.
[root@master salt]# systemctl status salt-master
● salt-master.service - The Salt Master Server
Loaded: loaded (/usr/lib/systemd/system/salt-master.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2017-12-06 05:54:38 CST; 24s ago
Process: 10012 ExecStart=/usr/bin/salt-master (code=exited, status=4)
Main PID: 10012 (code=exited, status=4)
Dec 06 05:54:38 master.sishen.cn systemd[1]: Starting T...
Dec 06 05:54:38 master.sishen.cn salt-master[10012]: [W...
Dec 06 05:54:38 master.sishen.cn salt-master[10012]: Th...
Dec 06 05:54:38 master.sishen.cn systemd[1]: salt-maste...
Dec 06 05:54:38 master.sishen.cn systemd[1]: Failed to ...
Dec 06 05:54:38 master.sishen.cn systemd[1]: Unit salt-...
Dec 06 05:54:38 master.sishen.cn systemd[1]: salt-maste...
Hint: Some lines were ellipsized, use -l to show in full.
[root@master salt]# kill -9 10012
-bash: kill: (10012) - No such process
[root@master salt]# systemctl start salt-master
Job for salt-master.service failed because the control process exited with error code. See "systemctl status salt-master.service" and "journalctl -xe" for details.
[root@master salt]# journalctl -xe
-- The result is failed.
Dec 06 05:54:38 master.sishen.cn systemd[1]: Unit salt-mas
Dec 06 05:54:38 master.sishen.cn systemd[1]: salt-master.s
Dec 06 05:54:38 master.sishen.cn polkitd[989]: Unregistere
Dec 06 05:55:42 master.sishen.cn polkitd[989]: Registered
Dec 06 05:55:42 master.sishen.cn systemd[1]: Starting The
-- Subject: Unit salt-master.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/
--
-- Unit salt-master.service has begun starting up.
Dec 06 05:55:42 master.sishen.cn salt-master[10024]: [WARN
Dec 06 05:55:42 master.sishen.cn salt-master[10024]: The p
Dec 06 05:55:42 master.sishen.cn systemd[1]: salt-master.s
Dec 06 05:55:42 master.sishen.cn systemd[1]: Failed to sta
-- Subject: Unit salt-master.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/
--
-- Unit salt-master.service has failed.
--
-- The result is failed.
Dec 06 05:55:42 master.sishen.cn systemd[1]: Unit salt-mas
Dec 06 05:55:42 master.sishen.cn systemd[1]: salt-master.s
Dec 06 05:55:42 master.sishen.cn polkitd[989]: Unregistere
测试报错:
[root@localhost ~]# salt '*' test.ping
[ERROR ] Error parsing configuration file: /etc/salt/master - while parsing a block mapping
in "<string>", line 16, column 1:
interface: 192.168.75.130
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 411, column 4:
base:
^
[ERROR ] Error parsing configuration file: /etc/salt/master - while parsing a block mapping
in "<string>", line 16, column 1:
interface: 192.168.75.130
^
expected <block end>, but found '<block mapping start>'
in "<string>", line 411, column 4:
base:
^
No minions matched the target. No command was sent, no jid was assigned.
ERROR: No return received
salt-stack系列报错的更多相关文章
- saltstack 使用salt ‘*’ test.ping 报错Minion did not return(转)
原文地址:http://blog.51cto.com/4634721/2093019 saltstack 使用salt ‘*’ test.ping 报错Minion did not return. [ ...
- salt '*' state.highstate 报错找不到文件,环境如下No Top file or master_tops data matches found.
salt '*' state.highstate 报错找不到文件,环境如下No Top file or master_tops data matches found. file_roots: b ...
- python踩坑系列——报错后修改了.py文件,但是依然报错
一开始.py文件中的函数名大小写错了,但是在终端是对的,报错: 'module' object has no attribute '某函数名' 后来就去修改.py文件.结果重新import该.py文件 ...
- IE 出现stack overflow 报错的原因归纳
1. 重定义了系统的触发事件名称作为自定义函数名如: onclick / onsubmit ... 都是系统保留的事件名称,不允许作为重定义函数名称: 2. IE缓存满了,无法写入.解决办法:清空 ...
- saltstack配置安装的一些关键步骤及安装时各种报错的分析
以下其他仅做参考,官方网址才是安装重点:http://docs.saltstack.cn/topics/installation/rhel.html 与安装相关的一些文档或资料: 一.linux服务器 ...
- Rhel6.0部署Oracle10g报错相关问题记录
1.libawt.so及libXt.so.6,lib*系列报错,到最后的界面ruiy哥我笑了!.相信你也会笑的!终于找到根源了!哇哈哈!希望后面不要报error in invoking target ...
- C语言 在VS环境下一个很有意思的报错:stack around the variable was corrupted
今天做一个很简单的oj来温习下c 语言 题目如下 输入 3位正整数 输出 逆置后的正整数 代码如下: #include"stdio.h"int main(){ float h,su ...
- gulp-notify处理报错----gulp系列(二)
上一节,以less为例,入门了gulp,并为任务结构做了抽离. 前端们,gulp该用起来了,简单的demo入门——gulp系列(一) 本节学习下gulp-notify,官方这样解释的: gulp-no ...
- salt执行报错一例
执行报错: 查看服务端日志: 认证有问题 重新认证吧!!! minion端: [root@super66 ~]# cd /etc/salt/[root@super66 salt]# lsminion ...
随机推荐
- ios常用到的第三方库
在iOS开发中不可避免的会用到一些第三方类库,它们提供了很多实用的功能,使我们的开发变得更有效率:同时,也可以从它们的源代码中学习到很多有用的东西. Reachability 检测网络连接 用来检查网 ...
- Web Assembly背景
Javascript ,也叫Ecma script, 是这家伙用了 10 天时间赶出来的.. 所以,各位程序猿们,如果你觉得老板 10 天要你们上线一个 App 是一个丧心病狂的事情,那么可以多想想 ...
- hdu 2066 一个人的旅行 解题报告
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2066 题目意思:给出T条路,和草儿家相邻的城市编号,以及草儿想去的地方的编号.问从草儿家到达草儿想去的 ...
- android按压背景
android:background="?android:actionBarItemBackground"
- 探索Oracle11gR2 之 DataGuard 三种保护模式
Oracle的DataGuard技术有三种实现模式,分别是max performance.max availability.maxprotection这三种模式. 以下是来自Oracle文档的摘要信息 ...
- JS DOM1核心概要document
Document类型: document对象表示整个html页面,而且,document对象是window对象的一个属性: 文档信息:document.title,表示当前页面的标题: documen ...
- phpMVC框架的核心启动类定义
<?php//核心启动类class Framework { //定义一个run方法 public static function run(){ // echo "hello,wrold ...
- I.MX6 Android 5.1.1 下载、编译
/************************************************************************* * I.MX6 Android 5.1.1 下载. ...
- JavaScript-Tool:wdtree
ylbtech-JavaScript-Tool:wdtree 1.返回顶部 1. 插件描述:wdTree是一个轻量级jQuery插件用于创建一个带有嵌套Check Boxe的树形控件. wdTree是 ...
- 各浏览器的userAgent对照表
IE Mozilla/4.0 (compatible; MSIE 8.0; Windows NT6.0) Mozilla/4.0 (compatible; MSIE 7.0; Windows NT5 ...