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

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

注意:'location=目的地',中间不能有空格,否则也会报这样的错误。

你可能感兴趣的:(ORA-16179: incremental changes to "log_archive_dest_1" not allowed with SPFILE)