[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.

时间: 2024-08-27 19:21:02

[TroubleShooting]Neither the partner nor the witness server instance for database is availble的相关文章

[TroubleShooting]'trn\bak' is incorrectly formed. SQL Server cannot process this media family.

 SQL Server online consultants came across an interesting scenario where one of our client was unable to restore a native SQL Server backup successfully performed from one instance running on Machine A on another instance of SQL Server running on m

使用 Oracle GoldenGate 在 Microsoft SQL Server 和 Oracle Database 之间复制事务

使用 Oracle GoldenGate 在 Microsoft SQL Server 和 Oracle Database 之间复制事务 作者:Nikolay Manchev 分步构建一个跨这些平台的简单事务复制示例. 2011 年 8 月发布 大多数关注数据复制的 Oracle 技术专家都熟悉 Oracle Streams.在 2009 年之前,Streams 一直是推荐使用的最流行的 Oracle 数据分发技术. 2009 年 7 月,Oracle 收购了 GoldenGate 这一数据库复

转:安装MySQL遇到MySQL Server Instance Configuration Wizard未响应的解决办法

问题:安装了MySQL之后进入配置界面的时候,总会显示“MySQL Server Instance Configuration Wizard未响应”,一直卡死. 解决办法:Win7系统中,以管理员的权限登录系统,将C盘的ProgramData中的MySQL文件夹删掉即可(如果没有该文件夹,可能是因为隐藏了) 转自:http://blog.csdn.net/liuxiyangyang/article/details/8810094 若配置方案选择“Detailed Configuration”的配

[nQSError: 37001]Could not connect to the Oracle BI Server Instance

[nQSError: 37001]Could not connect to the Oracle BI Server Instance 使用本机的OBIEE Client 的Oracle BI管理工具,连接远程服务器上的OBIEE Server, 联机打开rpd时,报如下错误 解决办法:关闭OBIEE Server 所在服务器的防火墙 service iptables stop 重新登录即可 原文地址: [nQSError:37001] Could not connect to BI Serve

SQL Server中的database checkpoint

基于性能方面的考虑, 数据库引擎会在内存(buffer cache)中执行数据库数据页(pages)的修改, 不会再每次做完修改之后都把修改了的page写回到磁盘上. 更准确的说, 数据库引擎定期在每个数据库上生成一个checkpoint. Checkpoint会把当前内存中的修改了的页(dirty pages)还有transaction log的信息从内存中写入到磁盘, 还要记录关于tranaction log的信息. 数据库引擎支持下面几种checkpoint: automatic - 在后

SQL SERVER 2008配置Database Mail –用SQL 数据库发邮件

SQL SERVER 2008配置Database Mail –用SQL  数据库发邮件 https://blogs.msdn.microsoft.com/apgcdsd/2011/06/28/sql-server-2008database-mail-sql/ 原文来自:http://blog.sqlauthority.com/2008/08/23/sql-server-2008-configure-database-mail-send-email-from-sql-database/  Aug

SQL Server Instance无法启动了, 因为TempDB所在的分区没有了, 怎么办?

我的SQL 2014的虚拟机在迁移的时候, 存放TempDB的LUN被删掉了. 在虚拟机的操作系统启动了之后, SQL Server Instance却启动不起来了. 检查Event Log, 报错. 于是, 找到了这篇文章. 其目标是强制SQL Server启动, 并允许接收sqlcmd的修改一些选项的命令.  一旦SQL可以接受命令, 那我们就可以重新指定tempdb的路径了.   然而, 使用文章中的步骤, 我还是无法强制启动SQL Server. 检查Sqlservr.exe /f /c

SSMS 远程连接SERVER 设置 - Unable to connect to SQL Server instance remotely

问题描述: 新装了一台SERVER,在SERVER本地打开SSMS链接sever,一且正常.但是用我自己local去链接的时候出现以下错误. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name

Learning Note: SQL Server VS Oracle–Database architecture

http://www.sqlpanda.com/2013/07/learning-note-sql-server-vs.html This is my learning note base on the "SQL Server Essentials for Oracle DBAs Jump Start" . DATA BLOCK/EXTEND AND SEGMENT image: http://lh5.ggpht.com/-FxEKn7CCNd0/UetkOxZ6igI/AAAAAAA