Details

    • Type: New Feature
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Somewhere in the startup scripts...it is deleting /var/run/fail2ban/
      which is causing fail2ban to not start unless you manually make the directory.

      On a reboot the directory is deleted again.

      NING 'action' not defined in 'php-url-fopen'. Using default value
      WARNING 'action' not defined in 'lighttpd-fastcgi'. Using default value
      2017-11-02 12:43:26,365 fail2ban.server : INFO Starting Fail2ban v0.8.4
      2017-11-02 12:43:26,365 fail2ban.server : INFO Starting in daemon mode
      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
      [root@ip-172-31-58-183 centos]# ls /var/run/fail2ban
      ls: cannot access /var/run/fail2ban: No such file or directory
      [root@ip-172-31-58-183 centos]# ls /var/run/fail2ban
      ls: cannot access /var/run/fail2ban: No such file or directory
      [root@ip-172-31-58-183 centos]# mkdir /var/run/fail2ban/
      [root@ip-172-31-58-183 centos]# service fail2ban start

        Attachments

          Activity

            People

            Assignee:
            samir.doshi Samir Doshi
            Reporter:
            countrdd countrdd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: