Hi,
I am using fail2ban on my Slackware but when firing it up, there is an error 
message:

Starting fail2ban:
2015-02-20 10:13:21,148 fail2ban.server         [28460]: INFO    Starting 
Fail2ban v0.9.1
2015-02-20 10:13:21,148 fail2ban.server         [28460]: INFO    Starting in 
daemon mode
ERROR  NOK: ("'NoneType' object has no attribute '__getitem__'",)
ERROR  NOK: ('Error binding parameter 0 - probably unsupported type.',)

and in log file:

2015-02-20 10:13:21,586 fail2ban.jail           [28462]: INFO    Creating new 
jail 'exim'
2015-02-20 10:13:21,587 fail2ban.jail           [28462]: INFO    Jail 'exim' 
uses Gamin
2015-02-20 10:13:21,588 fail2ban.filter         [28462]: INFO    Set jail log 
file encoding to ISO-8859-1
2015-02-20 10:13:21,588 fail2ban.jail           [28462]: INFO    Initiated 
'gamin' backend
2015-02-20 10:13:21,591 fail2ban.filter         [28462]: INFO    Added logfile 
= /var/log/exim_mainlog
2015-02-20 10:13:21,592 fail2ban.filter         [28462]: INFO    Set maxRetry = 
3
2015-02-20 10:13:21,593 fail2ban.filter         [28462]: INFO    Set jail log 
file encoding to ISO-8859-1
2015-02-20 10:13:21,594 fail2ban.actions        [28462]: INFO    Set banTime = 
86400
2015-02-20 10:13:21,594 fail2ban.filter         [28462]: INFO    Set findtime = 
600
2015-02-20 10:13:21,607 fail2ban.jail           [28462]: INFO    Creating new 
jail 'exim-spam'
2015-02-20 10:13:21,607 fail2ban.jail           [28462]: INFO    Jail 
'exim-spam' uses Gamin
2015-02-20 10:13:21,608 fail2ban.filter         [28462]: INFO    Set jail log 
file encoding to ISO-8859-1
2015-02-20 10:13:21,609 fail2ban.jail           [28462]: INFO    Initiated 
'gamin' backend
2015-02-20 10:13:21,612 fail2ban.filter         [28462]: INFO    Added logfile 
= /var/log/exim_mainlog
2015-02-20 10:13:21,612 fail2ban.filter         [28462]: INFO    Set maxRetry = 
3
2015-02-20 10:13:21,614 fail2ban.filter         [28462]: INFO    Set jail log 
file encoding to ISO-8859-1


2015-02-20 10:13:21,778 fail2ban.jail           [28462]: INFO    Jail 'dovecot' 
started
2015-02-20 10:13:21,933 fail2ban.transmitter    [28462]: WARNING Command 
['start', 'exim'] has failed. Received TypeError("'NoneType' object has no 
attribute '__getitem__'",)
2015-02-20 10:13:21,934 fail2ban.transmitter    [28462]: WARNING Command 
['start', 'exim-spam'] has failed. Received InterfaceError('Error binding 
parameter 0 - probably unsupported type.',)

in jali.conf, I have:

[exim]
enabled = true
port   = smtp,465,submission
logpath = %(exim_main_log)s

[exim-spam]
enabled = true
port   = smtp,465,submission
logpath = %(exim_main_log)s

and in paths-common.conf:

exim_main_log = /var/log/exim_mainlog

what is wrong?



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to