ubuntu – Fail2ban不想启动服务器

我刚在我的Ubuntu 10.04服务器上安装了fail2ban.

当我尝试启动客户端时,它返回:

ERROR Could not start server. Maybe an old socket file is still present. Try to remove /var/run/fail2ban/fail2ban.sock. If you used fail2ban-client to start the server,adding the -x option will do it

删除了fail2ban.sock,但没有任何改变.我该怎么解决这个问题?

我猜你的fail2ban服务器意外关闭(可能会被杀死?).检查/var/run/fail2ban/fail2ban.sock文件.如果存在则删除并使用以下命令运行fail2ban:

sudo服务fail2ban开始

您也可以尝试运行另一个fail2ban实例.在运行fail2ban之前,请使用ps ax |检查服务grep fail2ban.如果服务未运行,则可以安全地启动服务.

相关文章

目录前言一、创建Hadoop用户二、更新apt和安装Vim编辑器三、...
原文连接:https://www.cnblogs.com/yasmi/p/5192694.html ...
电脑重启后,打开VirtualBox,发现一直用的虚拟机莫名的消失...
参见:https://blog.csdn.net/weixin_38883338/article/deta...
Ubuntu 18.04 LTS 已切换到 Netplan 来配置网络接口。Netpla...
介绍每个 Web 服务都可以通过特定的 URL 在 Internet 上访问...