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系列报错的更多相关文章

  1. saltstack 使用salt ‘*’ test.ping 报错Minion did not return(转)

    原文地址:http://blog.51cto.com/4634721/2093019 saltstack 使用salt ‘*’ test.ping 报错Minion did not return. [ ...

  2. 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 ...

  3. python踩坑系列——报错后修改了.py文件,但是依然报错

    一开始.py文件中的函数名大小写错了,但是在终端是对的,报错: 'module' object has no attribute '某函数名' 后来就去修改.py文件.结果重新import该.py文件 ...

  4. IE 出现stack overflow 报错的原因归纳

    1. 重定义了系统的触发事件名称作为自定义函数名如:  onclick / onsubmit ...  都是系统保留的事件名称,不允许作为重定义函数名称: 2. IE缓存满了,无法写入.解决办法:清空 ...

  5. saltstack配置安装的一些关键步骤及安装时各种报错的分析

    以下其他仅做参考,官方网址才是安装重点:http://docs.saltstack.cn/topics/installation/rhel.html 与安装相关的一些文档或资料: 一.linux服务器 ...

  6. Rhel6.0部署Oracle10g报错相关问题记录

    1.libawt.so及libXt.so.6,lib*系列报错,到最后的界面ruiy哥我笑了!.相信你也会笑的!终于找到根源了!哇哈哈!希望后面不要报error in invoking target ...

  7. C语言 在VS环境下一个很有意思的报错:stack around the variable was corrupted

    今天做一个很简单的oj来温习下c 语言 题目如下 输入 3位正整数 输出 逆置后的正整数 代码如下: #include"stdio.h"int main(){ float h,su ...

  8. gulp-notify处理报错----gulp系列(二)

    上一节,以less为例,入门了gulp,并为任务结构做了抽离. 前端们,gulp该用起来了,简单的demo入门——gulp系列(一) 本节学习下gulp-notify,官方这样解释的: gulp-no ...

  9. salt执行报错一例

    执行报错: 查看服务端日志: 认证有问题 重新认证吧!!! minion端: [root@super66 ~]# cd /etc/salt/[root@super66 salt]# lsminion ...

随机推荐

  1. Memory cycles about Block

    Block keeps a strong point to all object referenced in side of them, so all object will stay in heap ...

  2. 对于iOS 7 隐藏特性和解决之道

    当 iOS7 刚发布的时候,全世界的苹果开发人员都立马尝试着去编译他们的app,接着再花上数月的时间来修复任何出现的故障,甚至重做app.这样的结果,使得人们根本无暇去探究 iOS7 所带来的新东西. ...

  3. 数据库DCL、DDL、DML、DQL

    SQL三部分:data manipulation language      DCL: (控制)管理用户权限(GRANT.REVOKE),数据库整体配置      DDL: (定义)作用于数据库,表, ...

  4. css3某些特性

    在下列情况下,建议使用opacity属性而不是rgba()函数 1.实现多种颜色(元素)的半透明效果.使用opacity属性,不仅背景颜色,就连文本颜色.边框颜色都会变透明. 2.在不知道颜色的情况下 ...

  5. CodeForces-607B:Zuma (基础区间DP)

    Genos recently installed the game Zuma on his phone. In Zuma there exists a line of n gemstones, the ...

  6. 年少和 Smart の日常比赛 R3

    在洛谷上参加了个比赛....写写题解 rank3....共5人...(捂脸 没有注明是官方代码的均是我比赛时本人提交的代码 T1  洗牌 题目描述 小明把 n (n 为偶数)张牌按编号顺序 1, 2, ...

  7. Watir: Watir-WebDriver对打开的浏览器attach操作

    Watir-WebDriver对于已经打开的浏览器,没有办法进行Attach操作. 但是对于自动化操作浏览器过程中点击某链接,打开的新浏览器,是能够定位到的. require 'watir-webdr ...

  8. Android Studio手动下载配置Gradle的方法

    1 问题 (1) android sutdio第一次打开一个工程巨慢怎么办? (2) 手动配置Gradle Home为什么总是无效? (3) 明明已经下载了Gradle,配置了gradle home, ...

  9. (转)Eclipse4.2 Tomcat启动报错 A child container failed during start

     Eclipse4.2 Tomcat启动报错 A child container failed during start 2013-5-21 15:02:24 org.apache.catalina. ...

  10. POJ2488【DFS】

    阿西吧,搞清楚谁是行,谁是列啊!!! #include <stdio.h> #include <string.h> #include <math.h> #inclu ...