On 27/10/14 19:24, Orion Poplawski wrote:
> On 10/27/2014 06:29 AM, Dean De Leo wrote:
>> Hi there,
>> I am not able to start fail2ban, stuck to this error:
>>
>> $ 0 [root@vps107065] /tmp: fail2ban-client -x start
>> ERROR  Found no accessible config files for
>> 'action.d/firewallcmd-new.conf' under /etc/fail2ban
>> ERROR  Error in action definition firewallcmd-new.conf
>> ERROR  Errors in jail 'sshd'. Skipping...
>> $ 0 [root@vps107065] /tmp: ls -l
>> /etc/fail2ban/action.d/firewallcmd-new.conf
>> -rw-r--r-- 1 root root 1963 Oct 26 22:28
>> /etc/fail2ban/action.d/firewallcmd-new.conf
>>
>> I am on a CentOS VPS, and I set in the configuration is:
>> [sshd]
>> enabled = true
>> action = firewallcmd-new.conf
>> port    = ssh
>> logpath = %(sshd_log)s
>>
>> see http://pastebin.com/pL6Vp8AB for the full configuration...
>>
>> what am I missing?
>>
>> Thanks,
>> Dean
> Possibly the fact that you are on a CentOS 6 box with an older version of
> fail2ban?  firewallcmd is only for Fedora and CentOS 7.
>
>
Hello,
solved, it was a silly error :))

[sshd]
action = firewallcmd-new 

Thanks,
Dean


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

Reply via email to