您的位置:首页 > 数据库 > Oracle

oracle adg突然报密码文件错误

2016-08-05 16:03 399 查看
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[server, ARC0]: FAL archive failed, see trace file.
ARCH: FAL archive failed. Archiver continuing
ORACLE Instance BDSTG - Archival Error. Archiver continuing.
诊断:
估计是主库上面的BDSTG 的sys密码被修改了,导致访问不通
处理办法:
将备库停机,重新拷贝主库密码文件到备库,重启备库
再次查看主库备库archive日志情况
主库
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u01/app/oracle/oradata/BDODS/Archive
Oldest online log sequence 8564
Next log sequence to archive 8569
Current log sequence 8569
备库
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u01/app/oracle/oradata/BDODS/Archive
Oldest online log sequence 8410
Next log sequence to archive 0
Current log sequence 8413
此时主库备库日志不一致,需要主库追加日志,(说明此问题早已出现)没有问题
这里注意:
oracle@bd-prd-oracle-151:~$scp /u01/app/oracle/product/11.2.0.4/db_1/dbs/orapwBDODS 10.203.70.162:/u01/app/oracle/product/11.2.0.4/db_1/
传日志以后,再次执行从库同步进程
alter system set log_archive_dest_state_2='enable' ;
这里需要执行这个才生效!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  oracle ORA-16191