Oracle Study之--Oracle 11g RAC设置归档路径错误案例
Oracle Study之--Oracle 11g?RAC置歸檔路徑錯誤案例
系統環境:
操作系統: RedHat EL55
集群: ? ? Oracle 11g GI
Oracle: ? Oracle 11gR2
一、錯誤現象
在設置歸檔路徑時出現以下錯誤:
SQL> alter system set log_archive_dest_1='LOCATION=+ARC1'; ? ? ? ? ? ? ?
alter system set log_archive_dest_1='LOCATION=+ARC1'
*
ERROR at line 1:
ORA-17510: Attempt to do i/o beyond file size
SQL> alter system set log_archive_dest_1='LOCATION=/u01/arch1';
alter system set log_archive_dest_1='LOCATION=/u01/arch1'
*
ERROR at line 1:
ORA-17510: Attempt to do i/o beyond file size
查看Oracle online error:
[oracle@bjsrv ~]$oerr ora 17510
17510, 00000, "Attempt to do i/o beyond file size"
// *Cause: ?The i/o request points to a block beyond End Of File
// *Action: check additional error messages and call Oracle Support Services
[oracle@bjsrv ~]$
二、解決方法
將spfile 生成pfile
SQL> create ?pfile='/home/oracle/initprod.bak' from ?spfile;
修改pfile 文件,添加以下參數:
log_archive_dest_1='location=+arc1'
通過pfile 啟動instnace:
SQL> startup force nomount pfile='/home/oracle/initprod.bak';
ORACLE instance started.
Total System Global Area ?418484224 bytes
Fixed Size ? ? ? ? ? ? ? ? ?1336932 bytes
Variable Size ? ? ? ? ? ? 369101212 bytes
Database Buffers ? ? ? ? ? 41943040 bytes
Redo Buffers ? ? ? ? ? ? ? ?6103040 bytes
查看歸檔日志:
SQL> show parameter log
log_archive_dest_1 ? ? ?string ? ? ?location=+arc1
再通過pfile 生成spfile:
SQL> create spfile='+DG1/prod/spfileprod.ora' from pfile='/home/oracle/initprod.bak';
File created.
重新通過spfile啟動instance:
設置歸檔路徑,沒有出現錯誤:
SQL> alter system set log_archive_dest_2='location=+rcy1';
System altered.
SQL> alter system set log_archive_dest_2='';
System altered.
轉載于:https://blog.51cto.com/tiany/1385374
總結
以上是生活随笔為你收集整理的Oracle Study之--Oracle 11g RAC设置归档路径错误案例的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 印度软件业崛起的奥妙
- 下一篇: 网络驱动器设备:iscsi服务器