[TroubleShooting]Neither the partner nor the witness server instance for database is availble

Posted ldxsuanfa

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[TroubleShooting]Neither the partner nor the witness server instance for database is availble相关的知识,希望对你有一定的参考价值。

Problem:

You are trying to setup a mirroring on a Database called xxxDB(SQL server 2012).

You are getting this error while trying to setup mirroring.
“Neither the partner nor the witness server instance for database “xxxDB” is available. Reissue the command when at least one of the instances becomes available. (Microsoft SQL Server, Error: 1431)”

Cause:

This can happen if the mirroring breaks.The principal server is not configured for mirroring any more  , but the mirror server still thinks that he is the mirror partner. The state of the Mirror server is  “Disconnected”.

Solution:

At the Mirror server open Microsoft SQL Managment Studio , and run the command

ALTER DATABASE “DBNAME” SET PARTNER OFF

This will remove the mirroring partnership from the mirror server.

Then run the mirroring wizard again , on the principal server.


以上是关于[TroubleShooting]Neither the partner nor the witness server instance for database is availble的主要内容,如果未能解决你的问题,请参考以下文章

java 不是NEITHER 2 NOR 5的倍数。

ASDM Installation and Troubleshooting

Neither shaken nor stirred(DFS理解+vector存图)

is neither an array nor a List nor a Map

Linux 错误记录:configure: error: Neither flex nor lex was found.

DevOps Troubleshooting-运维实战