ITPub博客

首页 > 数据库 > 数据库开发技术 > 做Informix HDR 的时候出现这样的错误

做Informix HDR 的时候出现这样的错误

原创 数据库开发技术 作者:tonykorn97 时间:2008-05-15 02:12:58 0 删除 编辑

设置本机为主服务器模式:


[informix@test ~]$ onmode -d primary ontest02

出现的日志信息为:

[@more@]


[informix@test etc]$ onstat -m
02:02:55 On-Line Mode
02:03:43 DR: Reservation of the last logical log for log backup turned on
02:03:43 DR: new type = primary, secondary server name = ontest02
02:03:43 DR: Trying to connect to secondary server = ontest02
02:03:44 DR: Turned off on primary server
02:03:44 DR: Local and Remote server type and/or last change(LC) incompatible
[Local type: Primary, LC: Standard to Primary mode]
[Remote type: Primary, LC: ]

02:03:44 DR: Cannot start the Primary server when the paired server is of
incompatible (Primary or Standard) type. Please convert
the paired server to compatible (Secondary) type.

[informix@test etc]$


原因是sqlhosts里面的第二个主机名写的有问题,本来应该写test02的,写成test了。
ontest onsoctcp test 12345
ontest02 onsoctcp test02 12345

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/312079/viewspace-1004056/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 安装xp sp3了
请登录后发表评论 登录
全部评论

注册时间:2007-12-05

  • 博文量
    1854
  • 访问量
    2088311