aaP_truongthanhduc270998 I am having the following problem when creating website protection in Fail2Ban : [ ] The log file does not exist and cannot be created Currently I am using aapanel version 6.9.67 , PHP-7.4 , apache 2.4.54 , Fail2Ban 1.9 Illustrating images : Please help me to fix this error
aaPanel_Kern aaP_truongthanhduc270998 Hello, please check whether the log configuration of the site has been changed. Check whether the log file at the site exists. Site log configuration: ErrorLog "/www/wwwlogs/www.xxx.com-error_log" CustomLog "/www/wwwlogs/www.xxx.com-access_log" combined Site default storage path: /www/wwwlogs
aaP_truongthanhduc270998 aaPanel_Kern hello admin! I checked, there are currently exist 2 directories : www/wwwlogs/xxx.com-access_log www/wwwlogs/xxx.com-error_log I tried creating website protection for the subdomain website => it works But the main domain gets an error
aaPanel_Kern aaP_truongthanhduc270998 Whether the site configuration file has been modified ErrorLog "/www/wwwlogs/www.xxx.com-error_log" CustomLog "/www/wwwlogs/www.xxx.com-access_log" combined
aaP_truongthanhduc270998 Sorry, I don't understand what you mean, this is my current configuration, can you be more specific?
aaP_truongthanhduc270998 aaPanel_Kern Thank you very much , I have fixed this problem . Wish you a good day
angelTDW how did u fix the problem? in my case when i checked teh website, i am not able to turn off teh log from the settings, when i click on off it again starts back... and fail2ban also giving same error as above