ORA-16019: cannot use LOG_ARCHIVE_DEST_1 with LOG_ARCHIVE_DEST
搭建Data Guard時遇到ORA-16019: cannot use LOG_ARCHIVE_DEST_1 with LOG_ARCHIVE_DEST or LOG_ARCHIVE_DUPLEX_DEST錯誤
環境是Oracle 11.2.0.3,錯誤如下:
SQL> alter system set log_archive_dest_1='location=/u01/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=jyp';
alter system set log_archive_dest_1='location=/u01/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=jyp'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16019: cannot use LOG_ARCHIVE_DEST_1 with LOG_ARCHIVE_DEST or
LOG_ARCHIVE_DUPLEX_DEST
環境是Oracle 11.2.0.3,錯誤如下:
SQL> alter system set log_archive_dest_1='location=/u01/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=jyp';
alter system set log_archive_dest_1='location=/u01/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=jyp'
*
ERROR at line 1:
ORA-02097: parameter cannot be modified because specified value is invalid
ORA-16019: cannot use LOG_ARCHIVE_DEST_1 with LOG_ARCHIVE_DEST or
LOG_ARCHIVE_DUPLEX_DEST
從錯誤資訊看,應該是設定了log_archive_dest引數
SQL> show parameter log_archive
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_config string
log_archive_dest string /u01/oracle/arch
log_archive_dest_1 string
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
更改log_archive_dest後,執行成功
SQL> alter system set log_archive_dest='';
System altered.
SQL> alter system set log_archive_dest_1='location=/u01/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=jyp';
System altered.
SQL> show parameter log_archive
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_config string
log_archive_dest string /u01/oracle/arch
log_archive_dest_1 string
log_archive_dest_10 string
log_archive_dest_11 string
log_archive_dest_12 string
log_archive_dest_13 string
log_archive_dest_14 string
log_archive_dest_15 string
log_archive_dest_16 string
log_archive_dest_17 string
更改log_archive_dest後,執行成功
SQL> alter system set log_archive_dest='';
System altered.
SQL> alter system set log_archive_dest_1='location=/u01/oracle/arch valid_for=(all_logfiles,all_roles) db_unique_name=jyp';
System altered.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10271187/viewspace-1977754/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- you cannot use this control in design mode。
- Golang Cannot use ss(type AAA) as type AAA in map indexGolangIndex
- cannot use '/dev/da1': must be a block device or regular filedevBloC
- PHP Fatal error: Cannot use PhpParser\Node\Scalar\String as StringPHPError
- Msg 3702:Cannot drop the database 'gcard' because it is currently in use.DatabaseGC
- ORA-19550: cannot use backup/restore functions while using dispatcherRESTFunctionWhile
- Workspace in use or cannot be created, choose a different one.--錯誤解決辦法
- ORA-39322: Cannot use transportable tablespace with timestamp with timezone...
- ORA-22992 cannot use LOB locators selected from remote tablesREM
- ORA-01552: cannot use system rollback錯誤解決方法
- Ajax 報錯jquery-3.3.1.min.js:2 Uncaught TypeError: Cannot use 'in' operator to seajQueryJSError
- ORA-01552: cannot use system rollback segment for non-system tablespace 'USERS'錯誤解決
- 【轉載】Kano Model — Ways to use it and NOT use it
- log_archive_dest與log_archive_dest_n區別Hive
- the "in" use in mysqlMySql
- nginx useNginx
- oracle hint_use_concat_use_nl_with_indexOracleIndex
- ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILEREMHive
- plsql use skillsSQL
- GPFS use with OracleOracle
- how to use typeset?
- USE EXPLAIN PLANAI
- 【轉】詳解log_archive_dest與log_archive_dest_n區別Hive
- 關於 log_archive_dest與log_archive_dest_n a的區別Hive
- Use PHP7PHP
- IPFS_basic_use
- how to use coffee script
- Use index_descIndex
- why use dynamic SQL?SQL
- In Oracle,How to use dumpOracle
- WireGuard Use Notes
- [Typescript] Use Bitwise FlagsTypeScript
- python3 tkinter報錯:_tkinter.TclError: cannot use geometry manager pack inside . which already has slaves managed by gridPythonErrorIDE
- Oracle Hint:USE_NL、USE_MERGE、UESE_HASH(原理)Oracle
- ORA-16019 和 ORA-16018 錯誤的處理方法
- Yii2.012 版本與 PHP7.2 不相容 (報錯 Cannot use 'Object' as class name as...) 問題的處理方法PHPObject
- the NTP socket is in use, exiting
- 嚴格模式use strict模式