SQL> alter system set log_archive_dest_1='/oracle/oraarch'; alter system set log_archive_dest_1='/oracle/oraarch' * 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=/oracle/oraarch'; System altered.
我仔細查了一下oracle的參數,暫時只發現這一個是帶"location="字樣的,其他的都不用加這個,以後註意一下就好了。
SQL> col name for a30 SQL> col value for a40 SQL> set linesize 180 SQL> select name,value from v$parameter where value like '%location%'; NAME VALUE ------------------------------ ---------------------------------------- log_archive_dest_1 location=/oracle/oraarch/
這個是個很小的錯誤,但是我還是犯了,小記一下。
Tags: failure 提示信息 oracle system Oracle
文章來源: