那么我装的9i没有其他办法设置归档日志模式了?请教各位高手啊作者: gongzidong 时间: 2006-12-23 18:52
步骤如下:试下!
把spfile 改回去!
shutdown immediate
startup mount
alter database archivelog;
alter database open;
alter system set log_archive_dest="LOCATION=D:\oracle\oradata\SID\archive" scope=both;
alter system set log_archive_format='%t_%s.arc' ;
alter system set log_archive_start=true;作者: ellsion 时间: 2006-12-23 23:02
还是不行,在mount模式下用alter database archivelog;
提示:
SQL> alter database archivelog;
alter database archivelog
*
ERROR 位于第 1 行:
ORA-00265: 要求例程恢复,无法设置 ARCHIVELOG 模式作者: imtj 时间: 2006-12-24 00:03
ORA-32017: failure in updating SPFILE
ORA-00439: 未启用特性: Managed Standby
确定你没有启动其他log_archive_dest作者: ellsion 时间: 2006-12-24 00:14
数据库为新安装的,看下面的参数内容
SQL> select * from v$version;
BANNER
--------------------------------------------------------
Oracle9i Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
所以不能用 log_archive_dest_n 的参数来设定 archive log desc”作者: ellsion 时间: 2006-12-24 00:18
现在在mount的模式下
alter system archivelog;成功了,但是仍然没有办法设置归档路径
SQL> startup mount;
ORACLE 例程已经启动。
Total System Global Area 135338868 bytes
Fixed Size 453492 bytes
Variable Size 109051904 bytes
Database Buffers 25165824 bytes
Redo Buffers 667648 bytes
数据库装载完毕。
SQL> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string %ORACLE_HOME%\DATABASE\SPFILE%
ORACLE_SID%.ORA
SQL> alter system set log_archive_dest_1='location=D:\oracle\ora92\database\arch
ive' scope=both;
alter system set log_archive_dest_1='location=D:\oracle\ora92\database\archive'
scope=both
*
ERROR 位于第 1 行:
ORA-32017: failure in updating SPFILE
ORA-00439: 未启用特性: Managed Standby作者: itleo 时间: 2006-12-24 10:31
原因看来就是你的标准版不支持多路径归档了,你用log_archive_dest参数来做吧