-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi,
The directory /var/run/fail2ban is on tmpfs, and the init script used on ubuntu (typically added by the packager) is supposed to create the directory when you start the daemon. If you want to install f2b by hand (which apparently you did, since none of the debian/ubuntu sources listed on http://www.fail2ban.org/wiki/index.php/Downloads has 0.9.3 packages), you'll need to handle all the requirements also yourself. Probably the easiest fix is to grab the ubuntu init script from github and use that with your custom install. If you *did* use a ready-made ubuntu package to install f2b 0.9.3, then please tell us where you got it, so we know what we're talking about ;) Regards, Tom On 16-11-15 16:44, allanit wrote: > Hi > > Just to let you know I set up a virtual machine with Ubuntu 14.04 > and Fail2ban 0.9.3 and Fail2ban started after instalation but after > a restart of ubuntu I had the same issues as in my previous post. > > allanit <[email protected]> wrote .. > >> 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? > > > > ---------------------------------------------------------------------- - -------- > > Presto, an open source distributed SQL query engine for big data, initia lly > developed by Facebook, enables you to easily query your data on > Hadoop in a more interactive manner. Teradata is also now providing > full enterprise support for Presto. Download a free open source > copy now. > http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 > > > > _______________________________________________ Fail2ban-users > mailing list [email protected] > https://lists.sourceforge.net/lists/listinfo/fail2ban-users > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWSi71AAoJEJPfMZ19VO/1zrwQAOHgjFVTTlKXWqhDgN/Q6tUM TauQ2xHczVRufJNILQ5JJv+80wc7tog4DCqRN1L7fPSsR8YNeYkVgujvFjfx10V8 MVX3By1bm3IRfF0rj7lo0r4GvVXpSJoOiQwXqRNhWrYgYnlVPXwhLjfT2GhQdAQu FYSuA23cs8DjSXcAHnWNuO4cmD+sVJOp4b3hSiHkMGMK4G0fdoLKlVf5Qbr8sXE7 U8lHS32Vo1n5txJf5YocGGx6jdDKamYNxJQuGT0T3cDFThQc9lnvJ6jT451oOiV3 HjyPzpl0zHS+icaPnNQFd4eEunOAxoeybAg5c6kxxZy+ppmO3uy3kWQI2bHOHYdG IsUqHLpqoBMR9UVhnCqFM0IPXgadQbnu8/yhobLKTrf8FxZnTx8PCsmE0F/Rfb59 QeZkuGIo3K/RRzbcNpNDrSLuppiGnZTfBM12ugnYME/xQWo6iafCan3gTvIWZtTx QROHCNF2PW7JM3UmwFC9iq+mSxKpS+rhwpzTE8IkavRqACxBVJXOyIRP+ysD2WrX CwwYLKWajagNdcNYnuoZawYKqO9Eig39e7cEuFVpdhvfwvGlr7hofO9QT+crqC4k twXI4ojJvoXiMmpj67Owa1o2+8p0gCwonsnvjNDtLNgUIJZkNFKM/SmlQp6jX47l FlVZFXoJkDdUafk9Ip2J =C7su -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
