yes the fail2ban-client contain:

 try:
 from common.version import version
 except ImportError, e:
 sys.path.insert(1, "/usr/share/fail2ban")
 from common.version import version

line 34 is from common.version import version

starting fail2ban with "service fail2ban start" gives the same error

I will install and email the results for the strace

> Date: Wed, 2 Oct 2013 13:55:02 +1000
> From: daniel.subs@internode.on.net
> To: fail2ban-users@lists.sourceforge.net
> Subject: Re: [Fail2ban-users] fail2ban start error
>
> Samuel,
>
> Please keep on the mailing list when seeking help. That way more that
> just me can help.
>
> I can't see anything obviously wrong or installed in bugzilla.redhat.com.
>
>
> Does the fail2ban-client contain:
>
> try:
> from common.version import version
> except ImportError, e:
> sys.path.insert(1, "/usr/share/fail2ban")
> from common.version import version
>
> If so which is line 34?
>
>
>
> Can you install strace and email /tmp/strace to the list.
>
> sudo strace -fe trace=open,stat -o /tmp/strace /usr/bin/fail2ban-client
> start
>
> Does starting it as an init script work? service fail2ban start
>
>
> On 02/10/13 10:42, SAMUEL GREGORY wrote:
> > i yum installed from epel
> >
> > i tried the rpm -qal fail2ban show? but the full list is too long and i
> > only see the last section of it.
> > is there a way to show the list by page? (Sorry new to Centos/Linux
> > commands)
>
>
> On 02/10/13 11:32, SAMUEL GREGORY wrote:
> > here is what rpm -qal fail2ban show?
> >
> > /etc/fail2ban
> > /etc/fail2ban/action.d
> > /etc/fail2ban/action.d/bsd-ipfw.conf
> > /etc/fail2ban/action.d/complain.conf
> > /etc/fail2ban/action.d/dshield.conf
> > /etc/fail2ban/action.d/dummy.conf
> > /etc/fail2ban/action.d/hostsdeny.conf
> > /etc/fail2ban/action.d/ipfilter.conf
> > /etc/fail2ban/action.d/ipfw.conf
> > /etc/fail2ban/action.d/iptables-allports.conf
> > /etc/fail2ban/action.d/iptables-blocktype.conf
> > /etc/fail2ban/action.d/iptables-ipset-proto4.conf
> > /etc/fail2ban/action.d/iptables-ipset-proto6.conf
> > /etc/fail2ban/action.d/iptables-multiport-log.conf
> > /etc/fail2ban/action.d/iptables-multiport.conf
> > /etc/fail2ban/action.d/iptables-new.conf
> > /etc/fail2ban/action.d/iptables-xt_recent-echo.conf
> > /etc/fail2ban/action.d/iptables.conf
> > /etc/fail2ban/action.d/mail-buffered.conf
> > /etc/fail2ban/action.d/mail-whois-lines.conf
> > /etc/fail2ban/action.d/mail-whois.conf
> > /etc/fail2ban/action.d/mail.conf
> > /etc/fail2ban/action.d/mynetwatchman.conf
> > /etc/fail2ban/action.d/pf.conf
> > /etc/fail2ban/action.d/route.conf
> > /etc/fail2ban/action.d/sendmail-buffered.conf
> > /etc/fail2ban/action.d/sendmail-whois-lines.conf
> > /etc/fail2ban/action.d/sendmail-whois.conf
> > /etc/fail2ban/action.d/sendmail.conf
> > /etc/fail2ban/action.d/shorewall.conf
> > /etc/fail2ban/fail2ban.conf
> > /etc/fail2ban/filter.d
> > /etc/fail2ban/filter.d/apache-auth.conf
> > /etc/fail2ban/filter.d/apache-badbots.conf
> > /etc/fail2ban/filter.d/apache-common.conf
> > /etc/fail2ban/filter.d/apache-nohome.conf
> > /etc/fail2ban/filter.d/apache-noscript.conf
> > /etc/fail2ban/filter.d/apache-overflows.conf
> > /etc/fail2ban/filter.d/assp.conf
> > /etc/fail2ban/filter.d/asterisk.conf
> > /etc/fail2ban/filter.d/common.conf
> > /etc/fail2ban/filter.d/courierlogin.conf
> > /etc/fail2ban/filter.d/couriersmtp.conf
> > /etc/fail2ban/filter.d/cyrus-imap.conf
> > /etc/fail2ban/filter.d/dovecot.conf
> > /etc/fail2ban/filter.d/dropbear.conf
> > /etc/fail2ban/filter.d/exim.conf
> > /etc/fail2ban/filter.d/gssftpd.conf
> > /etc/fail2ban/filter.d/lighttpd-auth.conf
> > /etc/fail2ban/filter.d/lighttpd-fastcgi.conf
> > /etc/fail2ban/filter.d/mysqld-auth.conf
> > /etc/fail2ban/filter.d/named-refused.conf
> > /etc/fail2ban/filter.d/pam-generic.conf
> > /etc/fail2ban/filter.d/php-url-fopen.conf
> > /etc/fail2ban/filter.d/postfix.conf
> > /etc/fail2ban/filter.d/proftpd.conf
> > /etc/fail2ban/filter.d/pure-ftpd.conf
> > /etc/fail2ban/filter.d/qmail.conf
> > /etc/fail2ban/filter.d/recidive.conf
> > /etc/fail2ban/filter.d/roundcube-auth.conf
> > /etc/fail2ban/filter.d/sasl.conf
> > /etc/fail2ban/filter.d/sieve.conf
> > /etc/fail2ban/filter.d/sogo-auth.conf
> > /etc/fail2ban/filter.d/sshd-ddos.conf
> > /etc/fail2ban/filter.d/sshd.conf
> > /etc/fail2ban/filter.d/vsftpd.conf
> > /etc/fail2ban/filter.d/webmin-auth.conf
> > /etc/fail2ban/filter.d/wuftpd.conf
> > /etc/fail2ban/filter.d/xinetd-fail.conf
> > /etc/fail2ban/jail.conf
> > /etc/logrotate.d/fail2ban
> > /etc/rc.d/init.d/fail2ban
> > /etc/tmpfiles.d/fail2ban.conf
> > /usr/bin/fail2ban-client
> > /usr/bin/fail2ban-regex
> > /usr/bin/fail2ban-server
> > /usr/share/doc/fail2ban-0.8.10
> > /usr/share/doc/fail2ban-0.8.10/COPYING
> > /usr/share/doc/fail2ban-0.8.10/ChangeLog
> > /usr/share/doc/fail2ban-0.8.10/README.md
> > /usr/share/doc/fail2ban-0.8.10/TODO
> > /usr/share/doc/fail2ban-0.8.10/run-rootless.txt
> > /usr/share/fail2ban
> > /usr/share/fail2ban/client
> > /usr/share/fail2ban/client/__init__.py
> > /usr/share/fail2ban/client/__init__.pyc
> > /usr/share/fail2ban/client/__init__.pyo
> > /usr/share/fail2ban/client/actionreader.py
> > /usr/share/fail2ban/client/actionreader.pyc
> > /usr/share/fail2ban/client/actionreader.pyo
> > /usr/share/fail2ban/client/beautifier.py
> > /usr/share/fail2ban/client/beautifier.pyc
> > /usr/share/fail2ban/client/beautifier.pyo
> > /usr/share/fail2ban/client/configparserinc.py
> > /usr/share/fail2ban/client/configparserinc.pyc
> > /usr/share/fail2ban/client/configparserinc.pyo
> > /usr/share/fail2ban/client/configreader.py
> > /usr/share/fail2ban/client/configreader.pyc
> > /usr/share/fail2ban/client/configreader.pyo
> > /usr/share/fail2ban/client/configurator.py
> > /usr/share/fail2ban/client/configurator.pyc
> > /usr/share/fail2ban/client/configurator.pyo
> > /usr/share/fail2ban/client/csocket.py
> > /usr/share/fail2ban/client/csocket.pyc
> > /usr/share/fail2ban/client/csocket.pyo
> > /usr/share/fail2ban/client/fail2banreader.py
> > /usr/share/fail2ban/client/fail2banreader.pyc
> > /usr/share/fail2ban/client/fail2banreader.pyo
> > /usr/share/fail2ban/client/filterreader.py
> > /usr/share/fail2ban/client/filterreader.pyc
> > /usr/share/fail2ban/client/filterreader.pyo
> > /usr/share/fail2ban/client/jailreader.py
> > /usr/share/fail2ban/client/jailreader.pyc
> > /usr/share/fail2ban/client/jailreader.pyo
> > /usr/share/fail2ban/client/jailsreader.py
> > /usr/share/fail2ban/client/jailsreader.pyc
> > /usr/share/fail2ban/client/jailsreader.pyo
> > /usr/share/fail2ban/common
> > /usr/share/fail2ban/common/__init__.py
> > /usr/share/fail2ban/common/__init__.pyc
> > /usr/share/fail2ban/common/__init__.pyo
> > /usr/share/fail2ban/common/exceptions.py
> > /usr/share/fail2ban/common/exceptions.pyc
> > /usr/share/fail2ban/common/exceptions.pyo
> > /usr/share/fail2ban/common/helpers.py
> > /usr/share/fail2ban/common/helpers.pyc
> > /usr/share/fail2ban/common/helpers.pyo
> > /usr/share/fail2ban/common/protocol.py
> > /usr/share/fail2ban/common/protocol.pyc
> > /usr/share/fail2ban/common/protocol.pyo
> > /usr/share/fail2ban/common/version.py
> > /usr/share/fail2ban/common/version.pyc
> > /usr/share/fail2ban/common/version.pyo
> > /usr/share/fail2ban/fail2ban-0.8.10-py2.6.egg-info
> > /usr/share/fail2ban/server
> > /usr/share/fail2ban/server/__init__.py
> > /usr/share/fail2ban/server/__init__.pyc
> > /usr/share/fail2ban/server/__init__.pyo
> > /usr/share/fail2ban/server/action.py
> > /usr/share/fail2ban/server/action.pyc
> > /usr/share/fail2ban/server/action.pyo
> > /usr/share/fail2ban/server/actions.py
> > /usr/share/fail2ban/server/actions.pyc
> > /usr/share/fail2ban/server/actions.pyo
> > /usr/share/fail2ban/server/asyncserver.py
> > /usr/share/fail2ban/server/asyncserver.pyc
> > /usr/share/fail2ban/server/asyncserver.pyo
> > /usr/share/fail2ban/server/banmanager.py
> > /usr/share/fail2ban/server/banmanager.pyc
> > /usr/share/fail2ban/server/banmanager.pyo
> > /usr/share/fail2ban/server/datedetector.py
> > /usr/share/fail2ban/server/datedetector.pyc
> > /usr/share/fail2ban/server/datedetector.pyo
> > /usr/share/fail2ban/server/datetemplate.py
> > /usr/share/fail2ban/server/datetemplate.pyc
> > /usr/share/fail2ban/server/datetemplate.pyo
> > /usr/share/fail2ban/server/faildata.py
> > /usr/share/fail2ban/server/faildata.pyc
> > /usr/share/fail2ban/server/faildata.pyo
> > /usr/share/fail2ban/server/failmanager.py
> > /usr/share/fail2ban/server/failmanager.pyc
> > /usr/share/fail2ban/server/failmanager.pyo
> > /usr/share/fail2ban/server/failregex.py
> > /usr/share/fail2ban/server/failregex.pyc
> > /usr/share/fail2ban/server/failregex.pyo
> > /usr/share/fail2ban/server/filter.py
> > /usr/share/fail2ban/server/filter.pyc
> > /usr/share/fail2ban/server/filter.pyo
> > /usr/share/fail2ban/server/filtergamin.py
> > /usr/share/fail2ban/server/filtergamin.pyc
> > /usr/share/fail2ban/server/filtergamin.pyo
> > /usr/share/fail2ban/server/filterpoll.py
> > /usr/share/fail2ban/server/filterpoll.pyc
> > /usr/share/fail2ban/server/filterpoll.pyo
> > /usr/share/fail2ban/server/filterpyinotify.py
> > /usr/share/fail2ban/server/filterpyinotify.pyc
> > /usr/share/fail2ban/server/filterpyinotify.pyo
> > /usr/share/fail2ban/server/iso8601.py
> > /usr/share/fail2ban/server/iso8601.pyc
> > /usr/share/fail2ban/server/iso8601.pyo
> > /usr/share/fail2ban/server/jail.py
> > /usr/share/fail2ban/server/jail.pyc
> > /usr/share/fail2ban/server/jail.pyo
> > /usr/share/fail2ban/server/jails.py
> > /usr/share/fail2ban/server/jails.pyc
> > /usr/share/fail2ban/server/jails.pyo
> > /usr/share/fail2ban/server/jailthread.py
> > /usr/share/fail2ban/server/jailthread.pyc
> > /usr/share/fail2ban/server/jailthread.pyo
> > /usr/share/fail2ban/server/mytime.py
> > /usr/share/fail2ban/server/mytime.pyc
> > /usr/share/fail2ban/server/mytime.pyo
> > /usr/share/fail2ban/server/server.py
> > /usr/share/fail2ban/server/server.pyc
> > /usr/share/fail2ban/server/server.pyo
> > /usr/share/fail2ban/server/ticket.py
> > /usr/share/fail2ban/server/ticket.pyc
> > /usr/share/fail2ban/server/ticket.pyo
> > /usr/share/fail2ban/server/transmitter.py
> > /usr/share/fail2ban/server/transmitter.pyc
> > /usr/share/fail2ban/server/transmitter.pyo
> > /usr/share/man/man1/fail2ban-client.1.gz
> > /usr/share/man/man1/fail2ban-regex.1.gz
> > /usr/share/man/man1/fail2ban-server.1.gz
> > /usr/share/man/man1/fail2ban.1.gz
> > /var/lib/fail2ban
> > /var/run/fail2ban
> >
> >
> >
> >> Date: Wed, 2 Oct 2013 10:28:06 +1000
> >> From: daniel.subs@internode.on.net
> >> To: fail2ban-users@lists.sourceforge.net
> >> Subject: Re: [Fail2ban-users] fail2ban start error
> >>
> >> On 02/10/13 10:23, SAMUEL GREGORY wrote:
> >> > Hi,
> >> >
> >> > I installed fail2ban on a Centos 6.4 64 bit running server using the
> >> > sudo yum install fail2ban command, and I am having trouble starting it.
> >> > When I type $ sudo fail2ban-client start I get the following error:
> >> >
> >> > Traceback (most recent call last):
> >> > File "/usr/bin/fail2ban-client", line 34, in <module>
> >> > from common.version import version
> >> > ImportError: No module named version
> >> >
> >> > is there something else I need to configure before I start fail2ban?
> >>
> >> no. Its some form of packaging error.
> >>
> >> Where did yum install it from?
> >>
> >> What does rpm -qal fail2ban show?
> >>
> >>
> > ------------------------------------------------------------------------------
> >> October Webinars: Code for Performance
> >> Free Intel webinars can help you accelerate application performance.
> >> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
> > most from
> >> the latest Intel processors and coprocessors. See abstracts and register >
> >>
> > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> Fail2ban-users mailing list
> >> Fail2ban-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/fail2ban-users
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Fail2ban-users mailing list
> Fail2ban-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fail2ban-users