• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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