Article ID: 125342, created on Mar 8, 2016, last review on Mar 8, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

问题

无法在 Plesk 12 中创建订阅、域名、子域名或邮箱。

可能会在 Plesk 中出现以下错误:

    This operation is taking too long. Check the results in a few minutes.

创建挂起,在已启用调试模式的 /usr/local/psa/admin/logs/panel.log 日志中出现以下信息:

[2015-03-22 19:31:01] DEBUG [util_exec] [690dad09de1e925a408866f72d84dcd7][0] Finished in 0.005s, Error code: 0, stdout: 0, stderr:
[2015-03-22 19:31:01] DEBUG [util_exec] [15f344ad3820754c65cd3606afe8d48d][0] Starting: f2bmng --status, stdin:

而且有很多 fail2ban 进程:

# ps -ef | grep fail2ban
root      2871  2868  0 15:13 ? 00:00:00 /bin/sh /sbin/service fail2ban status
root      2876  2871  0 15:13 ? 00:00:00 /bin/bash /etc/init.d/fail2ban status
root      2879  2876  0 15:13 ? 00:00:00 /usr/bin/python2.6 /usr/bin/fail2ban-client status
root      3738  3735  0 Mar21 ? 00:00:00 /bin/sh /sbin/service fail2ban stop
root      3743  3738  0 Mar21 ? 00:00:00 /bin/bash /etc/init.d/fail2ban stop
root      3746  3743  0 Mar21 ? 00:00:00 /usr/bin/python2.6 /usr/bin/fail2ban-client stop
root     30890 30885  0 Mar21 ? 00:00:00 /bin/bash /etc/init.d/fail2ban status
root     30893 30890  0 Mar21 ? 00:00:00 /usr/bin/python2.6 /usr/bin/fail2ban-client status
root     32754 32751  0 Mar21 ? 00:00:00 /bin/sh /sbin/service fail2ban stop

原因

该错误由挂起的 fail2ban 进程引起。

解决方案

使用以下命令终止所有已挂起进程:

# ps -ef | grep fail2ban | awk '{print $2}' | xargs kill

29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article