• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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