Bug 1626637 - [abrt] fail2ban-server: module(): fail2ban-server:34:<module>:ImportError: No module named fail2ban.client.fail2banserver
Summary: [abrt] fail2ban-server: module(): fail2ban-server:34:<module>:ImportError: No...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fail2ban
Version: 28
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:7c37d06be6bc0d86342a2785d30...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-07 18:39 UTC by RobbieTheK
Modified: 2018-09-28 03:25 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-09-28 03:25:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (907 bytes, text/plain)
2018-09-07 18:39 UTC, RobbieTheK
no flags Details
File: cgroup (353 bytes, text/plain)
2018-09-07 18:39 UTC, RobbieTheK
no flags Details
File: cpuinfo (928 bytes, text/plain)
2018-09-07 18:39 UTC, RobbieTheK
no flags Details
File: environ (2.78 KB, text/plain)
2018-09-07 18:39 UTC, RobbieTheK
no flags Details
File: mountinfo (5.94 KB, text/plain)
2018-09-07 18:39 UTC, RobbieTheK
no flags Details
File: namespaces (129 bytes, text/plain)
2018-09-07 18:39 UTC, RobbieTheK
no flags Details
File: open_fds (280 bytes, text/plain)
2018-09-07 18:39 UTC, RobbieTheK
no flags Details

Description RobbieTheK 2018-09-07 18:39:33 UTC
Version-Release number of selected component:
fail2ban-server-0.10.3.1-2.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python /usr/bin/fail2ban-server -b -s /var/run/fail2ban/fail2ban.sock -p /var/run/fail2ban/fail2ban.pid -x
crash_function: module
exception_type: ImportError
executable:     /usr/bin/fail2ban-server
interpreter:    python2-2.7.15-2.fc28.x86_64
kernel:         4.17.11-200.fc28.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
fail2ban-server:34:<module>:ImportError: No module named fail2ban.client.fail2banserver

Traceback (most recent call last):
  File "/usr/bin/fail2ban-server", line 34, in <module>
    from fail2ban.client.fail2banserver import exec_command_line, sys
ImportError: No module named fail2ban.client.fail2banserver

Local variables in innermost frame:
__copyright__: 'Copyright (c) 2004-2008 Cyril Jaquier, 2012-2014 Yaroslav Halchenko, 2014-2016 Serg G. Brester'
__license__: 'GPL'
__builtins__: <module '__builtin__' (built-in)>
__file__: '/usr/bin/fail2ban-server'
__author__: 'Fail2Ban Developers'
__name__: '__main__'
__package__: None
__doc__: '\nFail2Ban reads log file that contains password failure report\nand bans the corresponding IP addresses using firewall rules.\n\nThis tool starts/stops fail2ban server or does client/server communication\nto change/read parameters of the server or jails.\n\n'

Comment 1 RobbieTheK 2018-09-07 18:39:38 UTC
Created attachment 1481641 [details]
File: backtrace

Comment 2 RobbieTheK 2018-09-07 18:39:39 UTC
Created attachment 1481642 [details]
File: cgroup

Comment 3 RobbieTheK 2018-09-07 18:39:40 UTC
Created attachment 1481643 [details]
File: cpuinfo

Comment 4 RobbieTheK 2018-09-07 18:39:41 UTC
Created attachment 1481644 [details]
File: environ

Comment 5 RobbieTheK 2018-09-07 18:39:42 UTC
Created attachment 1481645 [details]
File: mountinfo

Comment 6 RobbieTheK 2018-09-07 18:39:44 UTC
Created attachment 1481646 [details]
File: namespaces

Comment 7 RobbieTheK 2018-09-07 18:39:44 UTC
Created attachment 1481647 [details]
File: open_fds

Comment 8 Orion Poplawski 2018-09-28 03:25:14 UTC
# head -1 /usr/bin/fail2ban-server
#!/usr/bin/python3 -s

fail2ban is a python3 application - running it with python2 is not going to work.


Note You need to log in before you can comment on or make changes to this bug.