我安装了monit,并尝试使用下面的命令检查状态。
monit status但最终会出现下面的错误。
monit: error connecting to the monit daemon我该如何解决这个问题呢?
发布于 2015-01-28 16:36:18
编辑vim /etc/monit/monitrc,从第118行开始,取消各行下面的注释
set httpd port 2812
use address localhost # only accept connection from localhost
allow localhost # allow localhost to connect to the server and
allow admin:monitsudo monit reload生效
Read more
发布于 2017-05-01 15:29:54
有时会因为环回接口关闭而出现问题。我们应该启动lo接口,如下所示
root@server:~# ifup lohttps://stackoverflow.com/questions/28187786
复制相似问题