• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk 12 with fail2ban module fails to activate plesk-proftpd- and ssh-jail

Jonas_Hauser

New Pleskian
Hi Forum

I have a brand new Plesk 12 Installation with just a first Subscription/Domain for my test. Enabling fail2ban jails brings me the following error for the jails plesk-proftpd and ssh. All others went on.

error 'f2bmng failed: ERROR No file(s) found for glob /var/log/secure'.

I see that /var/log/secure is missing, althoug I already used ssh and ftp to log in once. I can go to touch the /var/log/secure file or adjust the jail configs to proper log file location? Which is the way to go?

Many thanks for your hints.
Kind regards
Jonas
 
Yes, just login as root with ssh and create missing file with

# touch /var/log/secure

It should help.
 
Hi IgorG

This helped to start the jails, but the jails are not blocking anything now, as in /var/log/secure no information will ever get recorded. This is a Centos 7 with journald. So I need an updated jail-config?

Has anybody setup Plesk 12 on Centos 7 with journald and fail2ban module?

Kind regards
Jonas
 
Back
Top