Title: Error Message
Last modified: August 22, 2016

---

# Error Message

 *  Resolved [rnexussix](https://wordpress.org/support/users/rnexussix/)
 * (@rnexussix)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/error-message-370/)
 * After adding a section to jail.local and copying the wordpress.conf to filter.
   d , restarting fail2ban, displays an error message:
 *  * Restarting authentication failure monitor fail2ban
    ERROR Failed during configuration:
   Bad value substitution: section: [wordpress] option : action key : port rawval:“,
   protocol=”%(protocol)s”, chain=”%(chain)s”]
 * I have standard LAMP install on Ubuntu 14.04.1 LTE
 * [https://wordpress.org/plugins/wp-fail2ban/](https://wordpress.org/plugins/wp-fail2ban/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [rchman](https://wordpress.org/support/users/rchman/)
 * (@rchman)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-message-370/#post-5465650)
 * It took me a bit to figure this out but the jail.local is missing the port definition.
 * add port = http,https to your jail.local file.
 * [wordpress]
    enabled = true filter = wordpress port = http,https logpath = /var/
   log/auth.log
 *  [Gwyneth Llewelyn](https://wordpress.org/support/users/gwynethllewelyn/)
 * (@gwynethllewelyn)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-message-370/#post-5465661)
 * Awesome! That fixed it for me as well. Thank you!
 *  Plugin Author [invisnet](https://wordpress.org/support/users/invisnet/)
 * (@invisnet)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-message-370/#post-5465662)
 * That’s actually covered in the FAQ – see “Why is fail2ban complaining on my flavour
   of Linux?”.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error Message’ is closed to new replies.

 * ![](https://ps.w.org/wp-fail2ban/assets/icon-256x256.png?rev=2814701)
 * [WP fail2ban - Advanced Security](https://wordpress.org/plugins/wp-fail2ban/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fail2ban/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fail2ban/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fail2ban/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fail2ban/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fail2ban/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [invisnet](https://wordpress.org/support/users/invisnet/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/error-message-370/#post-5465662)
 * Status: resolved