ORA-16191: Primary log shipping client not logged on standby---待测

本文详细探讨了在数据库复制过程中遇到的密码文件配置错误导致的ORA-01031错误,并通过重建密码文件后仍存在的新问题进行深入分析。包括主库和备库的日志记录提示,涉及到密码文件的正确配置、远程登录密码文件设置以及SYS密码一致性检查等关键步骤。此外,还提供了备库重启后的故障依旧存在的现象和具体的测试验证过程。最终,文章针对数据库复制中的常见错误和解决策略进行了总结。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

因为主库上的密码文件是错误的(名称中多了个d),导致搭建完成之后无法使用导致 ora-01031:insufficient privileges错误 详见:http://blog.youkuaiyun.com/aaaaaaaa2000/article/details/7549901 

重建密码文件之后,在主库日志中报:
ed May 09 14:53:26 2012
Error 1017 received logging on to the standby
------------------------------------------------------------
Check that the primary and standby are using a password file
and remote_login_passwordfile is set to SHARED or EXCLUSIVE, 
and that the SYS password is same in the password files.
      returning error ORA-16191
------------------------------------------------------------
Errors in file /disk2/oracle/diag/rdbms/maildata/maildata/trace/maildata_arc2_6852.trc:
ORA-16191: Primary log shipping client not logged on standby
PING[ARC2]: Heartbeat failed to connect to standby 'maildata_std'. Error is 16191.

备库中:
ARC3 started with pid=23, OS id=21610 
ARC1: Becoming the 'no FAL' ARCH
ARC2: Becoming the heartbeat ARCH
Completed: alter database mount standby database
Error 1017 received logging on to the standby
------------------------------------------------------------
Check that the primary and standby are using a password file
and remote_login_passwordfile is set to SHARED or EXCLUSIVE, 
and that the SYS password is same in the password files.
      returning error ORA-16191
------------------------------------------------------------
FAL[client, ARC2]: Error 16191 connecting to MAILDATA for fetching gap sequence
Errors in file /home/oracle/diag/rdbms/maildata_std/maildata/trace/maildata_arc2_21606.trc:
ORA-16191: Primary log shipping client not logged on standby
Errors in file /home/oracle/diag/rdbms/maildata_std/maildata/trace/maildata_arc2_21606.trc:
ORA-16191: Primary log shipping client not logged on standby
重启备库之后问题依然,


具体的测试----
http://blog.chinaunix.net/uid-66396-id-2688930.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值