Hi,
Thx UFHH01 for your answer.
It seems that is no mail from cron for 1 hour.
So i tried your solution. This is what happenned !
- apt-get remove --purge aum
- /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --remove-component modsecurity
- rmdir /etc/asl ( might not be necessary... just to be sure, that all is deleted! If you experience issues here, consider to remove possible existent content INSIDE that folder and retry the command! )
Steps 1 to 3 everything ok. Except that --purge didn't delete
/etc/asl/ and
/var/asl/ so i made it manually:
#
rm -RIf /etc/asl /var/asl #I backed them up before
Everything seems clean except in
/etc/apache2/conf_enabled/00_modsecurity.conf . This file risks to blow things up when apache restarts ! (i know...
). Remove it or comment every line in it to keep temporarily the paths inside (the file should be regenerated after).
- /usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --install-component modsecurity
- Plesk Control Panel: Go to => Home > Tools & Settings > Web Application Firewall ( Pls. see the additional screenshot for further explanations! )
Steps 4 & 5 : Installation succeded, start the module in
Detection only mode for
Atomic basic Modsecurity OK . But with no /etc/asl and no /var/asl directories
Weird!!
apt-get install --only-upgrade aum
It told that it can't update it's not installed.
---> Plesk autoinstaller should install aum ! No?
I stopped ModSecurity with Plesk Control Panel: in
Home > Tools & Settings > Web Application Firewall --> off
- I installed aum manually:
# apt-get update
# apt-get install aum #Version aum 4.0.19-40
#/var/asl/bin/aum -uf
The first time you have to give a USER and a PASSWORD (specific it seems -> available in this file posted on
Plesk forum) and choose
rules only,
update daily.
# nano /etc/asl/config
To modify only:
APACHE_RESTART_COMMAND="/etc/init.d/httpd restart" ---->
APACHE_RESTART_COMMAND="/etc/init.d/apache2 restart"
- Configuration process again
#/var/asl/bin/aum -uf
I started ModSecurity with Plesk Control Panel: in Home > Tools & Settings > Web Application Firewall --> Detection Only #To test before production
Everything looks good. I'm waiting for the next backup and log rotation to be sure !
Thx guys!!