I actually don't have that file, /usr/lib/python2.4/site-packages/server/filterpyinotify.py, on my 5.11 box...for me it is installed in python2.6's site-packages.

On 01/19/2015 01:27 AM, Joey J wrote:
Hello Lee,

my settings haven't changed in a long time, maybe a year and never had an issue.
I realized we are running 5.11 as well.

This is happening on 3 of my 5.11 servers all the same.

Interesting, I erase my fail2ban folder and the executable files and check the version and i get this:
/usr/bin/ fail2ban-client -V
Fail2Ban v0.8.12.dev

RPM shows fail2ban.noarch 0:0.8.14-1.el5 not sure why the version discrepancy.



When i strip out my config and go with stock jail.conf, and run the original vsftpd config with no changes I get the below error :
I actually just saw someone who said they tried
|backend=gamin and it worked for me... not sure what happened.|

Starting fail2ban: ERROR NOK: ('invalid syntax', ('/usr/lib/python2.4/site-packages/server/filterpyinotify.py', 214, 21, '\t\texcept Exception as e:\n'))
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)
ERROR  NOK: ('vsftpd-iptables',)



On Sun, Jan 18, 2015 at 8:33 PM, Lee Clemens <[email protected] <mailto:[email protected]>> wrote:

    I have a centos 5.11 server running fail2ban from epel without
    issues. I am using Python 2.4.3. RPM Package: fail2ban-0.8.14-1.el5

    It seems there may be a general issue with your configuration
    files (missing closing, syntax related).

    Try increasing (in your case it seems, defining) a log level for
    debug or at least info. Since it seems yours is not defined (from
    the warning), there seems to be something wrong with your
    configuration files.

    Further, you can check:

    Do you have pyinotify installed?
    That is not an error you listed, but a Warning. I imagine it
    occurs for each relevant logline with that hostname, so it should
    stop eventually.

    If you still can't figure it out, try a new version of Python and
    make sure the init script is using the newer version of Python
    (verify with ps, check $PATH, init script).

    On 01/18/2015 01:36 PM, Joey J wrote:
    Hello All,

    I have been running fail2ban for a long time but lately having
    issues because we still have some servers on Centos 5.9.

    If I run fail2ban source code 8.4 everything seems to run but get
    this error non-stop:
    2015-01-17 22:52:48,458 fail2ban.filter : WARNING Unable to find
    a corresponding IP address for
    94-153-122-142-ode.broadband.kyivstar.net
    <http://94-153-122-142-ode.broadband.kyivstar.net>

    If run the rpm version from yum, 0:0.8.14-1.el5 I get these
    errors and it doesnt run (pasted below). I believe this wants a
    newer version of python, i'm running Python 2.4.3 :

    I did try yum install python26 and that didn't help.

    I just need to get something running even if it's at a reduced
    functionality or performance.

    Thanks!




    ------------------ errors from 0:0.8.14-1.el5
    --------------------------
    WARNING Wrong value for 'loglevel' in 'Definition'. Using default
    one: '1'
    WARNING 'logpath' not defined in 'INCLUDES'. Using default one:
    '/var/log/messages'
    2015-01-18 13:32:41,105 fail2ban.server [546]: INFO    Starting
    Fail2ban v0.8.12.dev
    2015-01-18 13:32:41,105 fail2ban.server [546]: INFO    Starting
    in daemon mode
    ERROR  NOK: ('invalid syntax',
    ('/usr/lib/python2.4/site-packages/server/filterpyinotify.py',
    214, 21, '\t\texcept Exception as e:\n'))
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('invalid syntax',
    ('/usr/lib/python2.4/site-packages/server/filterpyinotify.py',
    214, 21, '\t\texcept Exception as e:\n'))
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('invalid syntax',
    ('/usr/lib/python2.4/site-packages/server/filterpyinotify.py',
    214, 21, '\t\texcept Exception as e:\n'))
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('invalid syntax',
    ('/usr/lib/python2.4/site-packages/server/filterpyinotify.py',
    214, 21, '\t\texcept Exception as e:\n'))
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('vsftpd-iptables',)
    ERROR  NOK: ('apache-badbots',)
    ERROR  NOK: ('ssh-blocklist',)
    ERROR  NOK: ('postfix',)
    ERROR  NOK: ('vsftpd-iptables',)

-- Thanks!
    Joey



    
------------------------------------------------------------------------------
    New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
    GigeNET is offering a free month of service with a new server in Ashburn.
    Choose from 2 high performing configs, both with 100TB of bandwidth.
    Higher redundancy.Lower latency.Increased capacity.Completely compliant.
    http://p.sf.net/sfu/gigenet


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


    
------------------------------------------------------------------------------
    New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
    GigeNET is offering a free month of service with a new server in
    Ashburn.
    Choose from 2 high performing configs, both with 100TB of bandwidth.
    Higher redundancy.Lower latency.Increased capacity.Completely
    compliant.
    http://p.sf.net/sfu/gigenet
    _______________________________________________
    Fail2ban-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/fail2ban-users




--
Thanks!
Joey


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to