mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5159] [Bug]: IP Limit Management #3627
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3627
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vrcher on GitHub (Jun 10, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5159
Describe the bug
After installing the clean panel, I proceed to install IP Limit (step 21 in the script), and the log displays the following text
After that, I try to check the service status and see this error
This is the only thing that helps
cat >/etc/fail2ban/jail.d/sshd.local <<'EOF'
[sshd]
enabled = true
backend = systemd
EOF
How to reproduce the problem
After installing the clean panel, I proceed to install IP Limit (step 21 in the script), and the log displays the following text
Proceed with installation of Fail2ban & IP Limit? [Default y]: y
Fail2ban is not installed. Installing now...!
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3574 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1273 kB]
Fetched 4976 kB in 14s (359 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
build-essential bzip2 cpp cpp-11 dpkg-dev fakeroot fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11
gcc-11-base javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6
libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libdeflate0 libdpkg-perl libexpat1-dev
libfakeroot libfile-fcntllock-perl libfontconfig1 libgcc-11-dev libgd3 libgomp1 libisl23 libitm1 libjbig0
libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libnsl-dev libpython3-dev
libpython3.10-dev libquadmath0 libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libubsan1 libwebp7 libxpm4
linux-libc-dev lto-disabled-list make manpages manpages-dev patch python3-dev python3-wheel python3.10-dev
rpcsvc-proto zlib1g-dev
Suggested packages:
bzip2-doc cpp-doc gcc-11-locales debian-keyring g++-multilib g++-11-multilib gcc-11-doc gcc-multilib autoconf
automake libtool flex bison gdb gcc-doc gcc-11-multilib apache2 | lighttpd | httpd glibc-doc git bzr libgd-tools
libstdc++-11-doc make-doc man-browser ed diffutils-doc
The following NEW packages will be installed:
build-essential bzip2 cpp cpp-11 dpkg-dev fakeroot fontconfig-config fonts-dejavu-core g++ g++-11 gcc gcc-11
gcc-11-base javascript-common libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan6
libatomic1 libc-dev-bin libc-devtools libc6-dev libcc1-0 libcrypt-dev libdeflate0 libdpkg-perl libexpat1-dev
libfakeroot libfile-fcntllock-perl libfontconfig1 libgcc-11-dev libgd3 libgomp1 libisl23 libitm1 libjbig0
libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0 libmpc3 libnsl-dev libpython3-dev
libpython3.10-dev libquadmath0 libstdc++-11-dev libtiff5 libtirpc-dev libtsan0 libubsan1 libwebp7 libxpm4
linux-libc-dev lto-disabled-list make manpages manpages-dev patch python3-dev python3-pip python3-wheel
python3.10-dev rpcsvc-proto zlib1g-dev
0 upgraded, 66 newly installed, 0 to remove and 0 not upgraded.
Need to get 73.0 MB of archives.
After this operation, 242 MB of additional disk space will be used.
Fetched 73.0 MB in 2min 12s (553 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package manpages.
(Reading database ... 100412 files and directories currently installed.)
Preparing to unpack .../00-manpages_5.10-1ubuntu1_all.deb ...
Unpacking manpages (5.10-1ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../01-libc-dev-bin_2.35-0ubuntu3.13_amd64.deb ...
Unpacking libc-dev-bin (2.35-0ubuntu3.13) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../02-linux-libc-dev_5.15.0-181.191_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.15.0-181.191) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../03-libcrypt-dev_1%3a4.4.27-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../04-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../05-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../06-libnsl-dev_1.3.0-2build2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../07-libc6-dev_2.35-0ubuntu3.13_amd64.deb ...
Unpacking libc6-dev:amd64 (2.35-0ubuntu3.13) ...
Selecting previously unselected package gcc-11-base:amd64.
Preparing to unpack .../08-gcc-11-base_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking gcc-11-base:amd64 (11.4.0-1ubuntu1
Selecting previously unselected package libisl23:amd64.
Preparing to unpack .../09-libisl23_0.24-2build1_amd64.deb ...
Unpacking libisl23:amd64 (0.24-2build1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../10-libmpc3_1.2.1-2build1_amd64.deb ...
Unpacking libmpc3:amd64 (1.2.1-2build1) ...
Selecting previously unselected package cpp-11.
Preparing to unpack .../11-cpp-11_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking cpp-11 (11.4.0-1ubuntu1
Selecting previously unselected package cpp.
Preparing to unpack .../12-cpp_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking cpp (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../13-libcc1-0_12.3.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libcc1-0:amd64 (12.3.0-1ubuntu1
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../14-libgomp1_12.3.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libgomp1:amd64 (12.3.0-1ubuntu1
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../15-libitm1_12.3.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libitm1:amd64 (12.3.0-1ubuntu1
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../16-libatomic1_12.3.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libatomic1:amd64 (12.3.0-1ubuntu1
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../17-libasan6_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libasan6:amd64 (11.4.0-1ubuntu1
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../18-liblsan0_12.3.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking liblsan0:amd64 (12.3.0-1ubuntu1
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../19-libtsan0_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libtsan0:amd64 (11.4.0-1ubuntu1
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../20-libubsan1_12.3.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libubsan1:amd64 (12.3.0-1ubuntu1
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../21-libquadmath0_12.3.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libquadmath0:amd64 (12.3.0-1ubuntu1
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../22-libgcc-11-dev_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libgcc-11-dev:amd64 (11.4.0-1ubuntu1
Selecting previously unselected package gcc-11.
Preparing to unpack .../23-gcc-11_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking gcc-11 (11.4.0-1ubuntu1
Selecting previously unselected package gcc.
Preparing to unpack .../24-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libstdc++-11-dev:amd64.
Preparing to unpack .../25-libstdc++-11-dev_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking libstdc++-11-dev:amd64 (11.4.0-1ubuntu1
Selecting previously unselected package g++-11.
Preparing to unpack .../26-g++-11_11.4.0-1ubuntu1
22.04.3_amd64.deb ...22.04.3) ...Unpacking g++-11 (11.4.0-1ubuntu1
Selecting previously unselected package g++.
Preparing to unpack .../27-g++_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../28-make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../29-libdpkg-perl_1.21.1ubuntu2.6_all.deb ...
Unpacking libdpkg-perl (1.21.1ubuntu2.6) ...
Selecting previously unselected package bzip2.
Preparing to unpack .../30-bzip2_1.0.8-5build1_amd64.deb ...
Unpacking bzip2 (1.0.8-5build1) ...
Selecting previously unselected package patch.
Preparing to unpack .../31-patch_2.7.6-7build2_amd64.deb ...
Unpacking patch (2.7.6-7build2) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../32-lto-disabled-list_24_all.deb ...
Unpacking lto-disabled-list (24) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../33-dpkg-dev_1.21.1ubuntu2.6_all.deb ...
Unpacking dpkg-dev (1.21.1ubuntu2.6) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../34-build-essential_12.9ubuntu3_amd64.deb ...
Unpacking build-essential (12.9ubuntu3) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../35-libfakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.28-1ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../36-fakeroot_1.28-1ubuntu1_amd64.deb ...
Unpacking fakeroot (1.28-1ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../37-fonts-dejavu-core_2.37-2build1_all.deb ...
Unpacking fonts-dejavu-core (2.37-2build1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../38-fontconfig-config_2.13.1-4.2ubuntu5_all.deb ...
Unpacking fontconfig-config (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../39-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../40-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../41-libalgorithm-diff-xs-perl_0.04-6build3_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-6build3) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../42-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../43-libfontconfig1_2.13.1-4.2ubuntu5_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../44-libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../45-libjpeg8_8c-2ubuntu10_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu10) ...
Selecting previously unselected package libdeflate0:amd64.
Preparing to unpack .../46-libdeflate0_1.10-2_amd64.deb ...
Unpacking libdeflate0:amd64 (1.10-2) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../47-libjbig0_2.1-3.1ubuntu0.22.04.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Selecting previously unselected package libwebp7:amd64.
Preparing to unpack .../48-libwebp7_1.2.2-2ubuntu0.22.04.2_amd64.deb ...
Unpacking libwebp7:amd64 (1.2.2-2ubuntu0.22.04.2) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../49-libtiff5_4.3.0-6ubuntu0.13_amd64.deb ...
Unpacking libtiff5:amd64 (4.3.0-6ubuntu0.13) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../50-libxpm4_1%3a3.5.12-1ubuntu0.22.04.2_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../51-libgd3_2.3.0-2ubuntu2.3_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2ubuntu2.3) ...
Selecting previously unselected package libc-devtools.
Preparing to unpack .../52-libc-devtools_2.35-0ubuntu3.13_amd64.deb ...
Unpacking libc-devtools (2.35-0ubuntu3.13) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../53-libexpat1-dev_2.4.7-1ubuntu0.7_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.7) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../54-libfile-fcntllock-perl_0.22-3build7_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build7) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../55-libjs-jquery_3.6.0+dfsg+
3.5.13-1_all.deb ...dfsg-2) ...Unpacking libjs-jquery (3.6.0+dfsg+
3.5.13-1) ...dfsg-2_all.deb ...Selecting previously unselected package libjs-underscore.
Preparing to unpack .../56-libjs-underscore_1.13.2
Unpacking libjs-underscore (1.13.2
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../57-libjs-sphinxdoc_4.3.2-1_all.deb ...
Unpacking libjs-sphinxdoc (4.3.2-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../58-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Selecting previously unselected package libpython3.10-dev:amd64.
Preparing to unpack .../59-libpython3.10-dev_3.10.12-1
22.04.15_amd64.deb ...22.04.15) ...Unpacking libpython3.10-dev:amd64 (3.10.12-1
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../60-libpython3-dev_3.10.6-1
22.04.1_amd64.deb ...22.04.1) ...Unpacking libpython3-dev:amd64 (3.10.6-1
Selecting previously unselected package manpages-dev.
Preparing to unpack .../61-manpages-dev_5.10-1ubuntu1_all.deb ...
Unpacking manpages-dev (5.10-1ubuntu1) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../62-python3.10-dev_3.10.12-1
22.04.15_amd64.deb ...22.04.15) ...Unpacking python3.10-dev (3.10.12-1
Selecting previously unselected package python3-dev.
Preparing to unpack .../63-python3-dev_3.10.6-1
22.04.1_amd64.deb ...22.04.1) ...Unpacking python3-dev (3.10.6-1
Selecting previously unselected package python3-wheel.
Preparing to unpack .../64-python3-wheel_0.37.1-2ubuntu0.22.04.1_all.deb ...
Unpacking python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../65-python3-pip_22.0.2+dfsg-1ubuntu0.7_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1ubuntu0.7) ...
Setting up javascript-common (11+nmu1) ...
Setting up gcc-11-base:amd64 (11.4.0-1ubuntu1
22.04.3) ...22.04.3) ...Setting up lto-disabled-list (24) ...
Setting up libxpm4:amd64 (1:3.5.12-1ubuntu0.22.04.2) ...
Setting up libfile-fcntllock-perl (0.22-3build7) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up manpages (5.10-1ubuntu1) ...
Setting up libdeflate0:amd64 (1.10-2) ...
Setting up linux-libc-dev:amd64 (5.15.0-181.191) ...
Setting up libgomp1:amd64 (12.3.0-1ubuntu1
Setting up bzip2 (1.0.8-5build1) ...
Setting up python3-wheel (0.37.1-2ubuntu0.22.04.1) ...
Setting up libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Setting up libfakeroot:amd64 (1.28-1ubuntu1) ...
Setting up libasan6:amd64 (11.4.0-1ubuntu1
22.04.3) ...22.04.3) ...Setting up fakeroot (1.28-1ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn't exist
Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up make (4.3-4.1build1) ...
Setting up libquadmath0:amd64 (12.3.0-1ubuntu1
Setting up libmpc3:amd64 (1.2.1-2build1) ...
Setting up libatomic1:amd64 (12.3.0-1ubuntu1
22.04.3) ...22.04.3) ...Setting up patch (2.7.6-7build2) ...
Setting up fonts-dejavu-core (2.37-2build1) ...
Setting up python3-pip (22.0.2+dfsg-1ubuntu0.7) ...
Setting up libjpeg-turbo8:amd64 (2.1.2-0ubuntu1) ...
Setting up libdpkg-perl (1.21.1ubuntu2.6) ...
Setting up libwebp7:amd64 (1.2.2-2ubuntu0.22.04.2) ...
Setting up libubsan1:amd64 (12.3.0-1ubuntu1
Setting up libnsl-dev:amd64 (1.3.0-2build2) ...
Setting up libcrypt-dev:amd64 (1:4.4.27-1) ...
Setting up libjs-jquery (3.6.0+dfsg+
3.5.13-1) ...22.04.3) ...Setting up libisl23:amd64 (0.24-2build1) ...
Setting up libc-dev-bin (2.35-0ubuntu3.13) ...
Setting up libalgorithm-diff-xs-perl (0.04-6build3) ...
Setting up libcc1-0:amd64 (12.3.0-1ubuntu1
Setting up liblsan0:amd64 (12.3.0-1ubuntu1
22.04.3) ...22.04.3) ...Setting up libitm1:amd64 (12.3.0-1ubuntu1
Setting up libjs-underscore (1.13.2
dfsg-2) ...22.04.3) ...Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libtsan0:amd64 (11.4.0-1ubuntu1
Setting up libjpeg8:amd64 (8c-2ubuntu10) ...
Setting up cpp-11 (11.4.0-1ubuntu1
22.04.3) ...22.04.3) ...Setting up manpages-dev (5.10-1ubuntu1) ...
Setting up fontconfig-config (2.13.1-4.2ubuntu5) ...
Setting up dpkg-dev (1.21.1ubuntu2.6) ...
Setting up libjs-sphinxdoc (4.3.2-1) ...
Setting up libgcc-11-dev:amd64 (11.4.0-1ubuntu1
Setting up gcc-11 (11.4.0-1ubuntu1
22.04.3) ...22.04.3) ...Setting up cpp (4:11.2.0-1ubuntu1) ...
Setting up libc6-dev:amd64 (2.35-0ubuntu3.13) ...
Setting up libtiff5:amd64 (4.3.0-6ubuntu0.13) ...
Setting up libfontconfig1:amd64 (2.13.1-4.2ubuntu5) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.7) ...
Setting up libgd3:amd64 (2.3.0-2ubuntu2.3) ...
Setting up libstdc++-11-dev:amd64 (11.4.0-1ubuntu1
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libc-devtools (2.35-0ubuntu3.13) ...
Setting up g++-11 (11.4.0-1ubuntu1
22.04.3) ...22.04.15) ...Setting up libpython3.10-dev:amd64 (3.10.12-1
Setting up python3.10-dev (3.10.12-1
22.04.15) ...22.04.1) ...Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn't exist
Setting up build-essential (12.9ubuntu3) ...
Setting up libpython3-dev:amd64 (3.10.6-1
Setting up python3-dev (3.10.6-1~22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.13) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Scanning processes...
Scanning candidates...
Scanning linux images...
Pending kernel upgrade
Newer kernel available
The currently running kernel version is 5.15.0-177-generic which is not the expected kernel version 5.15.0-181-generic.
Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting.
Restarting services...
Daemons using outdated libraries
(Enter the items or ranges you want to select, separated by spaces.)
Which services should be restarted? 1
systemctl restart qemu-guest-agent.service
Service restarts being deferred:
systemctl restart ssh.service
systemctl restart systemd-resolved.service
systemctl restart systemd-timesyncd.service
systemctl restart systemd-udevd.service
systemctl restart user@0.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Usage:
/usr/bin/python3 -m pip install [options] [package-index-options] ...
/usr/bin/python3 -m pip install [options] -r [package-index-options] ...
/usr/bin/python3 -m pip install [options] [-e] ...
/usr/bin/python3 -m pip install [options] [-e] ...
/usr/bin/python3 -m pip install [options] <archive url/path> ...
no such option: --break-system-packages
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libjansson4 libnftables1 libnftnl11 python3-pyinotify whois
Suggested packages:
mailx system-log-daemon monit sqlite3 firewalld python-pyinotify-doc
The following NEW packages will be installed:
fail2ban libjansson4 libnftables1 libnftnl11 nftables python3-pyinotify whois
0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 970 kB of archives.
After this operation, 3930 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libjansson4 amd64 2.13.1-1.1build3 [32.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libnftnl11 amd64 1.2.1-1build1 [65.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnftables1 amd64 1.0.2-1ubuntu3.1 [332 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 nftables amd64 1.0.2-1ubuntu3.1 [67.2 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 fail2ban all 0.11.2-6 [394 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 python3-pyinotify all 0.9.6-1.3 [24.8 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/main amd64 whois amd64 5.5.13 [53.4 kB]
Fetched 970 kB in 6s (164 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libjansson4:amd64.
(Reading database ... 107536 files and directories currently installed.)
Preparing to unpack .../0-libjansson4_2.13.1-1.1build3_amd64.deb ...
Unpacking libjansson4:amd64 (2.13.1-1.1build3) ...
Selecting previously unselected package libnftnl11:amd64.
Preparing to unpack .../1-libnftnl11_1.2.1-1build1_amd64.deb ...
Unpacking libnftnl11:amd64 (1.2.1-1build1) ...
Selecting previously unselected package libnftables1:amd64.
Preparing to unpack .../2-libnftables1_1.0.2-1ubuntu3.1_amd64.deb ...
Unpacking libnftables1:amd64 (1.0.2-1ubuntu3.1) ...
Selecting previously unselected package nftables.
Preparing to unpack .../3-nftables_1.0.2-1ubuntu3.1_amd64.deb ...
Unpacking nftables (1.0.2-1ubuntu3.1) ...
Selecting previously unselected package fail2ban.
Preparing to unpack .../4-fail2ban_0.11.2-6_all.deb ...
Unpacking fail2ban (0.11.2-6) ...
Selecting previously unselected package python3-pyinotify.
Preparing to unpack .../5-python3-pyinotify_0.9.6-1.3_all.deb ...
Unpacking python3-pyinotify (0.9.6-1.3) ...
Selecting previously unselected package whois.
Preparing to unpack .../6-whois_5.5.13_amd64.deb ...
Unpacking whois (5.5.13) ...
Setting up whois (5.5.13) ...
Setting up fail2ban (0.11.2-6) ...
Setting up python3-pyinotify (0.9.6-1.3) ...
Setting up libnftnl11:amd64 (1.2.1-1build1) ...
Setting up libjansson4:amd64 (2.13.1-1.1build3) ...
Setting up libnftables1:amd64 (1.0.2-1ubuntu3.1) ...
Setting up nftables (1.0.2-1ubuntu3.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.13) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
Scanning processes...
Scanning candidates...
Scanning linux images...
Pending kernel upgrade
Newer kernel available
The currently running kernel version is 5.15.0-177-generic which is not the expected kernel version 5.15.0-181-generic.
Restarting the system to load the new kernel will not be handled automatically, so you should consider rebooting.
Restarting services...
Daemons using outdated libraries
(Enter the items or ranges you want to select, separated by spaces.)
Which services should be restarted? 1
systemctl restart ssh.service
Service restarts being deferred:
systemctl restart systemd-resolved.service
systemctl restart systemd-timesyncd.service
systemctl restart systemd-udevd.service
systemctl restart user@0.service
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
Fail2ban installed successfully!
Configuring IP Limit...
Ip Limit jail files created with a bantime of 30 minutes.
Synchronizing state of fail2ban.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable fail2ban
Created symlink /etc/systemd/system/multi-user.target.wants/fail2ban.service → /lib/systemd/system/fail2ban.service.
IP Limit installed and configured successfully!
Press enter to return to the main menu:
After that, I try to check the service status and see this error
Please enter your selection [0-27]: 21
Choose an option: 8
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2026-06-10 08:50:23 UTC; 6s ago
Docs: man:fail2ban(1)
Main PID: 59256 (code=exited, status=255/EXCEPTION)
CPU: 63ms
Jun 10 08:50:23 server systemd[1]: Started Fail2Ban Service.
Jun 10 08:50:23 server fail2ban-server[59256]: 2026-06-10 08:50:23,607 fail2ban [59256]: E
RROR Failed during configuration: Have not found any log file for sshd jail
Jun 10 08:50:23 server fail2ban-server[59256]: 2026-06-10 08:50:23,617 fail2ban [59256]: E
RROR Async configuration of server failed
Jun 10 08:50:23 server systemd[1]: fail2ban.service: Main process exited, code=ex
ited, status=255/EXCEPTION
Jun 10 08:50:23 server systemd[1]: fail2ban.service: Failed with resu
lt 'exit-code'.
Expected behavior
● fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2026-06-10 09:01:04 UTC; 1s ago
Docs: man:fail2ban(1)
Main PID: 63244 (fail2ban-server)
Tasks: 7 (limit: 1009)
Memory: 14.3M
CPU: 122ms
CGroup: /system.slice/fail2ban.service
└─63244 /usr/bin/python3 /usr/bin/fail2ban-server -xf start
Jun 10 09:01:04 server systemd[1]: Started Fail2Ban Service.
Jun 10 09:01:04 server fail2ban-server[63244]: Server ready
Actual behavior
× fail2ban.service - Fail2Ban Service
Loaded: loaded (/lib/systemd/system/fail2ban.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2026-06-10 08:50:23 UTC; 10min ago
Docs: man:fail2ban(1)
Main PID: 59256 (code=exited, status=255/EXCEPTION)
CPU: 63ms
Jun 10 08:50:23 server systemd[1]: Started Fail2Ban Service.
Jun 10 08:50:23 server fail2ban-server[59256]: 2026-06-10 08:50:23,607 fail2ban [59256]: E
RROR Failed during configuration: Have not found any log file for sshd jail
Jun 10 08:50:23 server fail2ban-server[59256]: 2026-06-10 08:50:23,617 fail2ban [59256]: E
RROR Async configuration of server failed
Jun 10 08:50:23 node-20857.nodehost.ru systemd[1]: fail2ban.service: Main process exited, code=ex
ited, status=255/EXCEPTION
Jun 10 08:50:23 server systemd[1]: fail2ban.service: Failed with resu
lt 'exit-code'.
Relevant logs
Screenshots
No response
3x-ui version
3.3.0
Xray-core version
26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 22.04
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
Yandex Browser
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@github-actions[bot] commented on GitHub (Jun 10, 2026):
Root cause confirmed — script bug in
x-ui.sh.What's happening
create_iplimit_jails()inx-ui.sh(line 2305-2308) already applies the needed fix for Debian 12+, but not for Ubuntu 22.04+:On a minimal Ubuntu 22.04 installation (VMs, cloud images, containers), SSH logs go to the systemd journal only —
/var/log/auth.logdoes not exist. The fail2ban package ships with a default[sshd]jail enabled in/etc/fail2ban/jail.d/defaults-debian.confthat usesbackend = auto, which looks for a log file and finds none, producing:The fix needs to be extended to Ubuntu 22.04+ as well.
Immediate workaround (already working for you)
That overrides just the sshd jail's backend and is exactly correct.
Secondary note (unrelated to the crash)
The script also runs
python3 -m pip install pyasynchat --break-system-packageson Ubuntu 22.04 due to an off-by-one in theos_versioncomparison (the variable is2204, not22, after dots are stripped). Ubuntu 22.04's pip 22.0.2 doesn't support--break-system-packages, which is why you see that "no such option" error.pyasynchatis not needed on Ubuntu 22.04 (Python 3.10 still includesasynchatin stdlib), so this error is benign — fail2ban still installs fine — but it is a separate script bug.The fix for the main crash is to extend the
backend = systemdpatch to also cover Ubuntu 22.04+. The correct condition would compare against2200(sinceos_versionstrips dots, Ubuntu 22.04 →2204):