• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Couple fail2ban questions and issues.

Kain

New Pleskian
Hi there,

So after my first problems with fail2ban when I installed it manually on the server and locked myself out I just find out you can easily install fail2ban through a couple clicks within Plesk :D

So got it installed but now I got issues with the jail.

I choose the apache, panel and WP jail (or do I have to select em all?) to be active but then I get errors stating:
Code:
Unable to switch on the selected jails: f2bmng failed: ERROR NOK: ('plesk-apache',)
ERROR NOK: ('plesk-panel',)
ERROR NOK: ('plesk-wordpress',)
ERROR No file(s) found for glob /var/log/secure
ERROR Failed during configuration: Have not found any log file for ssh jail
ERROR:f2bmng:Command '['/usr/bin/fail2ban-client', 'reload', 'ssh']' returned non-zero exit status 255
ERROR:f2bmng:Failed to reload following jails due to errors in configuration: ssh.
I got no idea what that all means but they don't become active.

Also got a settings question, what's the best setting for "Time interval for detection of subsequent attacks *" it's default 300 seconds but 10 minutes seems a bit long?

Cheers.
 
Hey there Kain,

From the looks of it, you didn't turn on intrusion detection first. Make sure all the jails is currently off then go to Settings and place a check mark next to "Enable intrusion detection" and hit apply to save the settings. Once you do that, try turning on a jail again and this time it should turn on with no issue.
 
As I have slept a little more then usual I google again and the answer was rather easy IF you know linux which I don't bwhaha only have a linux server to cut the costs for now.

All I had to do was this:

Code:
touch /var/log/secure
chown root. /var/log/secure
chmod 0600 /var/log/secure
 
Back
Top