sql server2008 做数据库镜像报错1418

chrissky2006 2014-10-17 09:53:55
主体服务器和镜像服务器都是SQLSERVER 2008R2 ,在域环境下进行镜像配置,不使用见证服务器。
在配置镜像的实例服务账户时采用的是域管理员,所以用户登录不存在问题。
点击开始镜像,提示如下错误:
查看镜像服务器数据库日志如下:
2014-10-17 09:29:07.82 服务器 SQL Server is now ready for client connections. This is an informational message; no user action is required.
2014-10-17 09:29:08.03 spid7s Recovery is complete. This is an informational message only. No user action is required.
2014-10-17 09:29:18.35 spid53 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.
2014-10-17 09:29:18.36 spid53 Using 'xpstar.dll' version '2009.100.1600' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.
2014-10-17 09:29:18.37 spid53 Database mirroring has been enabled on this instance of SQL Server.
2014-10-17 09:29:39.68 spid25s Error: 1474, Severity: 16, State: 1.
2014-10-17 09:29:39.68 spid25s Database mirroring connection error 2 'Connection attempt failed with error: '10060(由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。)'.' for 'TCP://192.168.6.20:5022'.

我根据网上的方案,将'xpstra.dll'的权限设为everyone 完全控制后没有任何效果。再次点击开始镜像,提示如下:
,必须重启镜像服务器的SQL服务才可。
...全文
856 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
dali88888 2014-10-28
  • 打赏
  • 举报
回复
镜像的稳定性并不是那么好,建议使用DBTWIN集群系统做集群, 可以做到实时同步,负载均衡,数据零丢失。
chrissky2006 2014-10-17
  • 打赏
  • 举报
回复
我用 ALTER ENDPOINT 语句,也是这个提示 消息 1088,级别 15,状态 100,第 1 行 找不到对象 "Endpoint_Mirroring",因为它不存在或者您没有所需的权限。
chrissky2006 2014-10-17
  • 打赏
  • 举报
回复
DROP ENDPOINT Endpoint_Mirroring 消息 1088,级别 15,状态 103,第 1 行 找不到对象 "Endpoint_Mirroring",因为它不存在或者您没有所需的权限。
还在加载中灬 2014-10-17
  • 打赏
  • 举报
回复
提示你说不存在或者无权限。 是在你操作了以下之后吗? ALTER ENDPOINT 语句,或对现有端点使用 DROP 语句,然后执行 CREATE ENDPOINT 语句
chrissky2006 2014-10-17
  • 打赏
  • 举报
回复
我在create ENDPOINT Endpoint_Mirroring 的时候提示: 消息 7874,级别 16,状态 1,第 1 行 具有指定绑定的端点已存在。一个特定绑定仅支持一个端点。请使用 ALTER ENDPOINT 语句,或对现有端点使用 DROP 语句,然后执行 CREATE ENDPOINT 语句。 消息 7807,级别 16,状态 1,第 1 行 试图注册端点 'Endpoint_Mirroring' 时出错('0x800700b7')。 我drop ENDPOINT Endpoint_Mirroring 又提示我说不存在或者无权限。
chrissky2006 2014-10-17
  • 打赏
  • 举报
回复
一直没有解决啊
还在加载中灬 2014-10-17
  • 打赏
  • 举报
回复
第一个报错解决了吗? 参考一下~ http://bbs.csdn.net/topics/390747331
chrissky2006 2014-10-17
  • 打赏
  • 举报
回复
两个服务器都已经开启了
还在加载中灬 2014-10-17
  • 打赏
  • 举报
回复
远程连接有开启吗
rouqu 2014-10-17
  • 打赏
  • 举报
回复
这个通过命令应该就是

sp_configure 'show advanced options', 1
go
reconfigure with override
go

sp_configure 'remote admin connections',1
go
reconfigure with override

两台都要运行
rouqu 2014-10-17
  • 打赏
  • 举报
回复



参考
rouqu 2014-10-17
  • 打赏
  • 举报
回复
你之前做个数据库镜像吗?做之前,要开启两边数据库一个选项的“RemoteDACEnabled”。

22,210

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧