Hi,
I have enabled mod_evasive in EasyApache 4 and Apache 2.4 and etc. But when I try to restart Apache via command line it throws a lot of permission's denied errors messages like:
[[email protected] apache2]# /scripts/restartsrv_apache
...
Sep 24 12:09:04 server.tld mod_evasive[7963]: Couldn't open logfile /var/log/apache2/mod_evasive/dos-xxx.xxx.xxx.xxx: Permission denied
...
[[email protected] apache2]#
So I went to specific folder and it appear to have the correct permissions or I'm wrong?
[[email protected] apache2]# pwd
/var/log/apache2
[[email protected] apache2]# ls -la
...
drwxrwx---. 2 root nobody 6 Sep 24 12:06 mod_evasive
...
[[email protected] apache2]#
I have enabled mod_evasive in EasyApache 4 and Apache 2.4 and etc. But when I try to restart Apache via command line it throws a lot of permission's denied errors messages like:
[[email protected] apache2]# /scripts/restartsrv_apache
...
Sep 24 12:09:04 server.tld mod_evasive[7963]: Couldn't open logfile /var/log/apache2/mod_evasive/dos-xxx.xxx.xxx.xxx: Permission denied
...
[[email protected] apache2]#
So I went to specific folder and it appear to have the correct permissions or I'm wrong?
[[email protected] apache2]# pwd
/var/log/apache2
[[email protected] apache2]# ls -la
...
drwxrwx---. 2 root nobody 6 Sep 24 12:06 mod_evasive
...
[[email protected] apache2]#