Error message on the Home page in Plesk: module unique_id_module is already loaded, skipping




  • Avatar

    after updating Plesk / Atomic Basic ModSecurity, apache is completely down due to duplicate rule id.
    i.e. /etc/apache2/conf.d/00_mod_security.conf
    is being rebuilt.

    #chattr + i /etc/apache2/conf.d/00_mod_security.conf
    is a temporary fix. so that the file is no longer writable.

  • Avatar
    Artyom Volov

    Hello @Gjimi,

    Do you have any directives in Tools & Settings > Web Application Firewall > Settings > Custom directives?

    What exact duplicate rules are in /etc/apache2/conf.d/00_mod_security.conf?

    Could you check that there are no the same duplicate rules in a file /var/asl/data/templates/template-00_mod_security.conf?

  • Avatar

    it's not about rule ... everything is loaded twice.

    so always two identical
    and again

    with content:
    <IfModule security2_module>
             SecDataDir /var/cache/modsecurity
             IncludeOptional "/etc/apache2/modsecurity.d/*.conf"
    </ IfModule>

    at 00_mod_security.conf was still something, but the file is no longer or is now empty and no longer writable.



  • Avatar
    Artyom Volov

    Hello @Gjimi,

    I suggest investigating this issue further in the scope of a support request.

    Please create a support request using instructions from the following article:

Please sign in to leave a comment.

Have more questions? Submit a request