1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Issue Failed to install the ModSecurity rule set

Discussion in 'Plesk 12.x for Linux' started by Pascal_Netenvie, May 19, 2017.

  1. Pascal_Netenvie

    Pascal_Netenvie Regular Pleskian

    12
    85%
    Joined:
    Dec 4, 2015
    Messages:
    149
    Likes Received:
    5
    Location:
    Marseille (France)
    Hi,
    Since some Plesk update system can't no more update ModSecurity rules.
    Error is :
    Failed to install the ModSecurity rule set: modsecurity_ctl failed: HTTP Error 403: Forbidden Unable to download tortix rule set.

    I already tried to look at this Kb : Unable to activate/update/download rules from Atomic Professional ModSecurity ruleset
    But there is no additionnal licence.
    I also tried to uninstall, reboot then reinstall Modsecurity.

    For now nothing solved the problem.
    How can i fix that ?

    Plesk 12.5 under Debian 7.11‬

    Cheers.
     
  2. UFHH01

    UFHH01 Plesk addicted!

    44
    64%
    Joined:
    Jun 11, 2013
    Messages:
    6,762
    Likes Received:
    1,709
    Location:
    Hamburg / Germany
    Hi Pascal_Netenvie,

    did you consider to DE- and RE-INSTALL the Plesk ModSecurity component?

    Example command from the command line ( logged in as user "root" over SSH ):
    Code:
    plesk installer --select-product-id plesk --select-release-current --remove-component modsecurity
    plesk installer --select-product-id plesk --select-release-current --install-component modsecurity
     
  3. Pascal_Netenvie

    Pascal_Netenvie Regular Pleskian

    12
    85%
    Joined:
    Dec 4, 2015
    Messages:
    149
    Likes Received:
    5
    Location:
    Marseille (France)
  4. UFHH01

    UFHH01 Plesk addicted!

    44
    64%
    Joined:
    Jun 11, 2013
    Messages:
    6,762
    Likes Received:
    1,709
    Location:
    Hamburg / Germany
    Hi Pascal_Netenvie,

    even BETTER, than my suggestion, but as you can see, the DE - installation part for the Plesk COntrol Panel is included there as well:

    Code:
    2. Remove ModSecurity using Plesk installer

    Pls. consider to repeat ALL steps from the mentioned KB - article and make sure, that you don't have any leftovers. You are able to check this for example with a "mlocate" - command:
    Code:
       locate asl
    
    or/and
    
       locate modsecurity
       locate mod_security
    ( Pls. note, that you might have to install the software package "mlocate", which has a database which should be updated regulary with the command "updatedb" in order to have all files and folders being included in the "mlocate" - database. ;) )
     
  5. Pascal_Netenvie

    Pascal_Netenvie Regular Pleskian

    12
    85%
    Joined:
    Dec 4, 2015
    Messages:
    149
    Likes Received:
    5
    Location:
    Marseille (France)
    Hi,
    Didn't redone the process yet but i had the same message on 2 other servers were the license was in grace period.
    So i think the problem comme from licensing.
    Sometimes the Plesk license don't renew correctly because of connection problems so i renew it manually by clicking on retrieve button.
    If Modsecurity try to update before license is up to date it seems that it create this problem.
    So i'm not sure reinstall again will solve this ... no ?
     
  6. Pascal_Netenvie

    Pascal_Netenvie Regular Pleskian

    12
    85%
    Joined:
    Dec 4, 2015
    Messages:
    149
    Likes Received:
    5
    Location:
    Marseille (France)
    2 more servers with the same problem (always 12.5) ...
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,385
    Likes Received:
    1,212
    Location:
    Novosibirsk, Russia
    Affiliate:
    https://plesk.com/?a_aid=59ae552b0731c
    At the moment bugreport PPPM-6302 is under developer's investigation.
     
  8. Pascal_Netenvie

    Pascal_Netenvie Regular Pleskian

    12
    85%
    Joined:
    Dec 4, 2015
    Messages:
    149
    Likes Received:
    5
    Location:
    Marseille (France)
    Hello,
    Now the problem is also on 12.0 Plesk servers with that error :
    Code:
    Error: Failed to update the ModSecurity rule set: modsecurity_ctl failed: gpg: key 4520AFA9: "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 gpg: Signature made Wed May 24 13:53:47 2017 CEST using RSA key ID 4520AFA9 gpg: BAD signature from "Atomicorp (Atomicorp Official Signing Key) <support@atomicorp.com>" Command '['gpg', '--homedir', '/var/lib/plesk/modsec/.gnupg', '--verify', '/tmp/tmpyLxtNs/aum-plesk-installer.asc']' returned non-zero exit status 1 Unable to download tortix rule set 
     
  9. Pascal_Netenvie

    Pascal_Netenvie Regular Pleskian

    12
    85%
    Joined:
    Dec 4, 2015
    Messages:
    149
    Likes Received:
    5
    Location:
    Marseille (France)
  10. UFHH01

    UFHH01 Plesk addicted!

    44
    64%
    Joined:
    Jun 11, 2013
    Messages:
    6,762
    Likes Received:
    1,709
    Location:
    Hamburg / Germany
  11. Pascal_Netenvie

    Pascal_Netenvie Regular Pleskian

    12
    85%
    Joined:
    Dec 4, 2015
    Messages:
    149
    Likes Received:
    5
    Location:
    Marseille (France)
    Hello, thx.
    For me problems solved by themselve on all servers :)
     
Loading...