Troubleshooting the Salt master

In this recipe, you will learn about the various ways to identify and troubleshoot situations when the Salt master stops responding and there is a problem with the configuration of the Salt master.

How to do it...

  1. Run the following command from the Salt master on a minion, and when the command does not respond terminate the command using the Ctrl + C key combination:
    [root@salt-master ~]# salt 'salt-minion' test.ping
    ^C
    Exiting gracefully on Ctrl-c
    [root@salt-master ~]#
    
  2. Stop the Salt master, using the following command:
    [root@salt-master ~]# service salt-master stop
    Stopping salt-master daemon:                             [  OK  ]
    
  3. Start the Salt master, using the following command:
    [root@salt-master ~]# salt-master -l debug
    [DEBUG ] Reading configuration ...

Get Salt Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.