Thank you for your reply.
I tried it as you instructed.

I received below output when running "service fail2ban start"root     29217     
1 49 15:52 ?        00:00:07 /usr/bin/python /usr/local/bin/fail2ban-server -s 
/var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -b
root     29456  7728  0 15:52 pts/0    00:00:00 grep --color=auto fail2ban
A few minutes later, it dropped out and produced the below message (after 
checking the status of fail2ban) ERROR  Unable to contact server. Is it running?
 *  fail2ban is not running but /var/run/fail2ban/fail2ban.sock exists
Next, I tried what you recommended by starting it in the foreground:
$ /usr/bin/fail2ban-server -f &
and at this time, it was running. Then, run $ /usr/bin/fail2ban-client reload.
fail2ban stopped running after a few minutes - same problem still.

One thing I noticed it (v0.9.1) different from v0.9.9 is that I received more 
than 10 banned IPs coming into my inbox per seconds. But with v0.9.0, I 
received about 5 banned IPs notifications per day in my inbox.
Thank you very much
 



     On Thursday, 12 March 2015, 11:16, Lee Clemens <j...@leeclemens.net> wrote:
   

 On 03/10/2015 09:28 PM, daniel lee wrote:
> Hi,
>
> I have recently updated my fail2ban to v0.9.1 on my Ubuntu Server 
> 12.04.5 32bit. I've never had this problem with my old version 0.9.0.
>
> It didn't spit out any error messages that indicate it has stopped 
> running until I inadvertently check the status of it and found this 
> message:
>
> > $ service fail2ban status
>  * Status of authentication failure monitor ERROR  Unable to contact 
> server. Is it running?
>  *  fail2ban is not running but /var/run/fail2ban/fail2ban.sock exists
Is it running? (ps -ef | grep fail2ban ?)

If it is not, and nothing is printed to the console, system logs, 
fail2ban log, try starting it in the foreground by running 
`fail2ban-server -f &` and then `fail2ban-client reload` (assuming it 
started)


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users


  
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to