ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE

2014-11-24 09:23:49 · 作者: · 浏览: 0
ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE 错误解决

Oracle很多参数都是 参数='值'的形式

而log_archive_dest_1的值是里面带上'location=目录'
SQL> alter system set log_archive_dest_1='D:\oracle\product\10.2.0\flash_recovery_area\BUT\archivedlog\';
alter system set log_archive_dest_1='D:\oracle\product\10.2.0\flash_recovery_area\BUT\archivedlog\'
*
ERROR at line 1:
ORA-32017: failure in updating SPFILE
ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE

原因是值里面缺少location=,oracle的提示信息通常让人看的一头雾水...

SQL> alter system set log_archive_dest_1='location=D:\oracle\product\10.2.0\flash_recovery_area\BUT\archivedlog\';

System altered.

摘自 kkdelta