我刚在我的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.如果服务未运行,则可以安全地启动服务.