For example this will error:

[apache-overflows]
enabled = true
port     = http,https
logpath  = /var/log/apache2/error.log
/var/log/apache2/error2.log
maxretry = 2


ERROR  Failed during configuration: Source contains parsing errors: 
'/etc/fail2ban/jail.local'
        [line 883]: '/var/log/apache2/error2.log\n'


But this will not error:

[apache-overflows]
enabled = true
port     = http,https
logpath  = /var/log/apache2/error.log
maxretry = 2

And this will not error:

[apache-overflows]
enabled = true
port     = http,https
logpath  = /var/log/apache2/error2.log
maxretry = 2


/var/log/apache2/error2.log is a substitute name.


Wayne Sallee
[email protected]
http://www.WayneSallee.com


On 08/10/2018 02:14 PM, Tony Collins wrote:
Maybe there is a small mistake somewhere in the configuration?

Please paste the jail's configuration here - we will use "fresh eyes" to see if 
we can find the problem :-)

On Fri, 10 Aug 2018 at 19:05, Wayne Sallee <[email protected] 
<mailto:[email protected]>> wrote:

    I figured that was it, but then wondered surely he knows it's disabled. :-)
    I thought spacing was working before, but it's not, nether does ";" and 
nether does a new line. So I just put the
    others on new lines, and commented them out. That works :-) sortof :-)


    Wayne Sallee
    [email protected] <mailto:[email protected]>
    http://www.WayneSallee.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to