Articles in this section

Plesk WP Toolkit action log rotate failed on SELinux

kb: bug kb: fixed ext: wptk Plesk Obsidian for Linux

Applicable to:

  • Plesk Obsidian for Linux

Symptoms

  • On SELinux enabled server /etc/cron.daily/logrotate fail to rotate WP Toolkit action logs:

    CONFIG_TEXT: error: stat of /usr/local/psa/var/modules/wp-toolkit/action_logs/db05b569-01f4-4393-b30e-22f6ae72e091/db05b569-01f4-4393-b30e-22f6ae72e091.log failed: Permission denied

  • In the system logs the following can be found:

    CONFIG_TEXT: SELinux is preventing /usr/sbin/logrotate from getattr access on the file /usr/local/psa/var/modules/wp-toolki
    t/action_logs/4b6499f3-9efe-423f-91f2-b3a9f0fa3763/4b6499f3-9efe-423f-91f2-b3a9f0fa3763.log

Cause

Product issue:

  • #EXTWPTOOLK-8247 "Log rotation now properly works if a server uses SELinux."
    Fixed in:

Resolution

Please consider updating your server:
Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.