• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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