zoukankan      html  css  js  c++  java
  • The server instance Witness rejected configure request; read its error log file for more information. The reason 1427, and state 31, can be of use for

    数据库服务器做了镜像之后,发现有错误信息

    The server instance Witness rejected configure request; read its error log file for more information. The reason 1427, and state 31, can be of use for diagnostics by Microsoft. This is a transient error hence retrying the request is likely to succeed. Correct the cause if any and retry.

    错误信息可以知道,应该是收不到请求

    然后到镜像服务器去查看镜像信息

    SELECT DB_NAME(database_id) AS 'DatabaseName'
    , mirroring_role_desc AS 'DatabaseRole'
    , mirroring_role_sequence AS 'FailoverCount'
    , mirroring_partner_instance AS 'MirroringInstance'
    , mirroring_state_desc AS 'MirroringState'
    , mirroring_connection_timeout 'MirroringConnectionTimeoutInSeconds'
    , mirroring_witness_name AS 'WitnessInstance'
    , mirroring_witness_state_desc AS 'WitnessState'
    FROM master.sys.database_mirroring
    WHERE mirroring_guid IS NOT NULL

    发现有些数据库没有证人服务器设置

    知道问题后,赶紧恢复

    ALTER DATABASE [DatabaseName] SET WITNESS OFF
    GO
    ALTER DATABASE [DatabaseName]
    GO
  • 相关阅读:
    洛谷P2886 [USACO07NOV]Cow Relays G
    CF1344F Piet's Palette
    CF1344E Train Tracks
    CF1342F Make It Ascending
    LOJ6049 拍苍蝇
    test20200430 最长路径
    LG1742 最小圆覆盖 和 LOJ6360 复燃「恋之埋火」
    LOJ6358 前夕
    LOJ6485 LJJ学二项式定理
    LOJ2882 两个人的星座
  • 原文地址:https://www.cnblogs.com/BinZeng/p/3517235.html
Copyright © 2011-2022 走看看