• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Fail2ban errors in log after domain change !

Status
Not open for further replies.

Pascal_DEVIF

New Pleskian
Hi,
After changing website domain name (from development one -dev-domain.com- to production one) we have this error in fail2ban.log :

2015-02-01 06:46:41,176 fail2ban.filter [2848]: ERROR Unable to open /var/www/vhosts/system/dev-domain.com/logs/proxy_access_log
2015-02-01 06:46:41,176 fail2ban.filter [2848]: ERROR [Errno 2] No such file or directory: '/var/www/vhosts/system/dev-domain.com/logs/proxy_access_log'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/server/filter.py", line 520, in getFailures
has_content = container.open()
File "/usr/lib/python2.7/dist-packages/server/filter.py", line 601, in open
self.__handler = open(self.__filename)
IOError: [Errno 2] No such file or directory: '/var/www/vhosts/system/dev-domain.com/logs/proxy_access_log'

A way to fix that ?
 
Try to restart fail2ban with

# /etc/init.d/fail2ban stop
# /etc/init.d/fail2ban start
 
Fail2ban already restarted by Plesk Panel many times as i added lot of IP to whitelist.

Whatever i tried to restart by console with your commands.
For now (some minutes after) it seems ok.
I will tell you if error appear again.

Thanks.
 
Status
Not open for further replies.
Back
Top