aaPanel_Kern When I run the command I get this error
[root@mail ~]# /www/server/panel/pyenv/bin/python /usr/bin/fail2ban-server -xf start
/www/server/panel/pyenv/bin/python: can't open file '/usr/bin/fail2ban-server': [Errno 2] No such file or directory
/tmp/panelShell.pl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: ftp-stud.hs-esslingen.de
Package git-1.8.3.1-25.el7_9.x86_64 already installed and latest version
Nothing to do
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: ftp-stud.hs-esslingen.de
Package rsyslog-8.24.0-57.el7_9.3.x86_64 already installed and latest version
Nothing to do
Traceback (most recent call last):
File "/tmp/fail2ban/setup.py", line 200, in <module>
setup(
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 146, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/dist.py", line 283, in __init__
_Distribution.__init__(self, dist_attrs)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 279, in __init__
self.finalize_options()
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/dist.py", line 635, in finalize_options
ep(self)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/dist.py", line 655, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/importlib/metadata/__init__.py", line 207, in load
return functools.reduce(getattr, attrs, module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'setuptools.dist' has no attribute 'check_test_suite'
cp: cannot stat ‘/tmp/fail2ban/build/fail2ban.service’: No such file or directory
Traceback (most recent call last):
File "/tmp/fail2ban/setup.py", line 200, in <module>
setup(
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/__init__.py", line 117, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 146, in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/dist.py", line 283, in __init__
_Distribution.__init__(self, dist_attrs)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 279, in __init__
self.finalize_options()
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/dist.py", line 635, in finalize_options
ep(self)
File "/www/server/panel/pyenv/lib/python3.12/site-packages/setuptools/dist.py", line 655, in _finalize_setup_keywords
ep.load()(self, ep.name, value)
^^^^^^^^^
File "/www/server/panel/pyenv/lib/python3.12/importlib/metadata/__init__.py", line 207, in load
return functools.reduce(getattr, attrs, module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'setuptools.dist' has no attribute 'check_test_suite'
cp: cannot stat ‘/tmp/fail2ban/build/fail2ban.service’: No such file or directory
sed: can't read /etc/fail2ban/fail2ban.conf: No such file or directory
sed: can't read /etc/fail2ban/fail2ban.conf: No such file or directory
cp: cannot create regular file ‘/etc/fail2ban/jail.local’: No such file or directory
sed: can't read /etc/fail2ban/jail.local: No such file or directory
*.info;mail.none;authpriv.none;cron.none /var/log/messages
install.sh: line 108: fail2ban-client: command not found
Failed to restart fail2ban.service: Unit not found.
fail2ban.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig fail2ban on
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Successify