• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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