/var/run is probably mounted with tempfs (or similar) instead of on a real
disk, which explains why it goes away. It could be a permissions problem,
but I can't look at it now.
You can change the location of the socket in the config file and see if
that helps.

- Y

Sent from a device with a very small keyboard and hyperactive autocorrect.
Hi

My Server is ubuntu 14.04, and Fail2ban is 0.9.3 which I recently
installed. I am having a problem. Fail2ban wont start after the server has
been restarted. When the server restarts there are no error messages but
fail2ban is not running. Entering the command below returns the error below
that.

> fail2ban-client start

ERROR  There is no directory /var/run/fail2ban to contain the socket file
/var/run/fail2ban/fail2ban.sock.

If I create the file /var/run/fail2ban and then run > fail2ban-client start
again fail2ban starts and runs correctly until the next time the server has
to be restarted and the folder no longer exists.

Why is the folder /var/run/fail2ban being deleted and why isn’t the folder
being recreated or am I missing something?
------------------------------------------------------------------------------

_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users
------------------------------------------------------------------------------
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to