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. vmware nat不能上网的解决办法

    1 很多奇怪的问题都是vmware突然不能上网导致的 当yum.pip等包管理工具突然不能上网了时,要ping www.baidu.com,看看网络是不是好的. 2 nat网络出现问题的解决办法 2. ...

  2. CH 5302 金字塔(区间DP)

    CH 5302 金字塔 \(solution:\) 很神奇的一道题目,当时看到还以为是一道字符串求回文子串的题目.但是数据范围很小,而且只知道回文串也不好做.但是我们观察可得,如果是深度搜索便利,那么 ...

  3. Model drivern

    <s:hidden name="id" value="%{role.id}"></s:hidden> 其中的value传到后台是有类型的 ...

  4. bootstrap的学习注意点

    1.bootstrop里面所有的内容都需要用一个container 容器包裹起来: 2.一屏二屏什么的,是通过id 与href实现的: 3.下拉与菜单之类的都有固定的代码: 4.需要修改相关属性的话, ...

  5. jsorder 第三方修改版 修正bug 增加总价

    我主要运用这个jsorder,修正了它的不足//1.0版本bug:刷新页面 无法增加或者删除原来添加的商品//1.1版本:修正了1.0版本  新增bug 能够修改原来的商品 但出现产品数量为0 仍然保 ...

  6. NOIP2007普及 守望者的逃离

    传送门 普及组的题目……很水. 原来写了一个模拟不过好像状态考虑的不全得了80,这次我们考虑一下dp做法. 守卫者有两种移动的方法,一种是闪现,一种是跑,我们可以把闪现和跑分开处理. 首先只处理闪现的 ...

  7. codevs 等差数列

    1006 等差数列  时间限制: 1 s  空间限制: 128000 KB  题目等级 : 黄金 Gold 题解       题目描述 Description 给定n(1<=n<=100) ...

  8. 【前端】CentOS 7 系列教程之六: 安装 mysql 5.7

    转载请注明出处:http://www.cnblogs.com/shamoyuu/p/linux_6.html 进入/usr/local/src目录 cd /usr/local/src 下载mysql的 ...

  9. 将svn的项目转移到另外一个仓库中

    前几天在做一个项目的时候,因为需要,需要将Server A 上SVN仓库 repos1中的项目pro1迁移到Server B 上的SVN仓库中,首先想到的是:通过复制,但是仔细一想,这样是不可能的:然 ...

  10. 【转】implements百科

    implements是一个类,实现一个接口用的关键字,它是用来实现接口中定义的抽象方法.实现一个接口,必须实现接口中的所有方法.   中文名 实现 外文名 implements 意    思 类实现一 ...