• Resolved salpilk

    (@salpilk)


    “The Wordfence Web Application Firewall cannot run. The configuration files are corrupt or inaccessible by the web server, which is preventing the WAF from functioning. Please verify the web server has permission to access the configuration files. You may also try to rebuild the configuration file by clicking here. It will automatically resume normal operation when it is fixed. (opens in new tab)”

    I am seeing this message in my dashboard and have followed the page it links to but the guidance is a bit vague:

    https://www.wordfence.com/help/firewall/troubleshooting/?utm_source=plugin&utm_medium=pluginUI&utm_campaign=docsIcon#problems-reading-wordfence-firewall-config-data

    “If the message still appears after reloading the page, you may need to fix file permissions on the files in the “wp-content/wflogs” directory, including the “wflogs” directory itself. Some hosting companies may need to do this for you, while most others allow you to do it yourself.”

    What do you mean exactly by fix the file permissions? What permissions should the file in wflogs folder have?

    Many thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support wfjanet

    (@wfjanet)

    Hi @salpilk,

    Thank you for reaching out to us.

    This issue normally occurs when Wordfence has an issue writing data to the wflogs folder. This can be caused by corrupt files or the hosting environment has run out of allowed space or the file is not available/permitted to be written to.

    As for your question on permissions, they should be set to 755 for the WordPress site’s directories – this includes the wflogs folder and the process owner should be set to www-data if needed for your setup.

    If the issue persists, you can bypass the need to write to these files entirely by setting Wordfence to use the MySQLi storage engine instead: https://www.wordfence.com/help/firewall/mysqli-storage-engine/

    Please get back to us in case the above doesn’t solve your issue.

    Thanks,

    Janet.

Viewing 1 replies (of 1 total)
  • The topic ‘wflogs permissions – The Wordfence Web Application Firewall cannot run.’ is closed to new replies.