• 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 No logrotate for fail2ban.log

SabineW

Basic Pleskian
Hi to all,
on my server (Plesk Onyx v17.0.17 on Ubuntu 14.04.5 LTS) the fail2ban.log is quite large (more than 8 GB) and it seems, that the logrotate dosn't work correctly.
With the command
logrotate -d -f /etc/logrotate.d/fail2ban​
I got this errormessage
error: skipping "/var/log/fail2ban.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.​
but the "su" directive is set in my config file
# use the syslog group by default, since this is the owning group
# of /var/log/syslog.
su root syslog
​
And here is the information about the rights of the logfile:
-rw------- 1 root root 8,8G Dez 30 11:23 fail2ban.log​

Are this enough Information to help?
(Sorry for my bad english.)
 
... because parent directory has insecure permissions (It's world writable or writable by group which is not "root") ...
--> Check the permissions and owner of the parent directory, not of the log file. I think /var/log ought to be 755 and root:root.
 
Hi Peter,
thank you for your help. I have changed the permissions and the group of the /var/log-directory and now the logrotate works fine.
Best regards
Sabine
 
Back
Top