Failed to install the ModSecurity rule set: Unable to find row with id in domains table.

Follow

Comments

3 comments

  • Avatar
    Lpeters

    Still getting the same error.

  • Avatar
    Artyom Baranov

    Hi!

    I'd like to investigate this issue deeper, so I will create a ticket for you.

     

  • Avatar
    G.V Reddy (Edited )

    We had same issue.

    Failed to install the ModSecurity rule set: Unable to find row with id 11 in domains table.Unable to use the current ModSecurity rule set and to roll back to the previous version because they contain invalid rules.

    Below solution worked for me,

    Check whether the domain exists in the server with the same ID.

    mysql> select * from domains where id=916;
    Empty set (0.00 sec)

    Check whether the Application pool entry exists in 'IisAppPools' for that particular domain id.

    mysql> select id from IisAppPools where ownerId=916;
    +-----+
    | id |
    +-----+
    | 188 |
    +-----+
    1 row in set (0.00 sec)

    Remove record:

    mysql> delete from IisAppPools where ownerId=916;
    Query OK, 1 row affected (0.03 sec)

    Enable mod_security again.

Please sign in to leave a comment.

Have more questions? Submit a request