ORA-16032和ORA

ORA-16032和ORA主备切换在备库startup时出现归档路径没写到spfile里…注意:修改参数时最好带上scope=spfile或scope=both,以免重启出现异常。SQL> startup mount

主备切换在备库startup时出现归档路径没写到spfile里…
注意:修改参数时最好带上scope=spfile或scope=both,以免重启出现异常。
SQL> startup mount
ORA-16032: parameter LOG_ARCHIVE_DEST_1 destination string cannot be translated
ORA-07286: sksagdi: cannot obtain device information.
Linux-x86_64 Error: 2: No such file or directory
SQL>

当前spfile里面识别的,却没这个路径
[oracle@test154 dbs]$ strings spfiletest154.ora |grep dest_1
*.log_archive_dest_1=”LOCATION=/u01/app/oracle/oradata/testdb/flash_recovery_area valid_for=(all_logf

真正归档路径是下面
[root@test154 ~]# ls -l /u01/app/oracle/oradata/flash_recovery_area
-rw-r—–. 1 oracle oinstall 1024 Nov 6 15:04 arch_959881329_1_1613.arc
-rw-r—–. 1 oracle oinstall 1536 Nov 6 15:04 arch_959881329_1_1614.arc
-rw-r—–. 1 oracle oinstall 1536 Nov 6 15:04 arch_959881329_1_1615.arc
-rw-r—–. 1 oracle oinstall 298496 Nov 6 15:13 arch_959881329_1_1616.arc

处理
pfile启动,重建spfile,更新成正确路径,重启OK

[oracle@test154 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on 星期三 11月 6 15:31:53 2019

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to an idle instance.

SQL> create pfile from spfile;

File created.

参数文件pfile修改log_archive_dest_1为/u01/app/oracle/oradata/flash_recovery_area

SQL> create spfile from pfile;

File created.

SQL> startup;

ORACLE instance started.

Total System Global Area 3975139328 bytes
Fixed Size 2259360 bytes
Variable Size 2634024544 bytes
Database Buffers 1325400064 bytes
Redo Buffers 13455360 bytes
Database mounted.
Database opened.
SQL>

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
转载请注明出处: https://daima100.com/11078.html

(0)
上一篇 2022-12-16
下一篇 2022-12-17

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注