ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated,logarchivedest1
standby down了,所以重啟報錯,ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated :
1,重啟報錯資訊
SQL> startup
ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated
ORA-07286: sksagdi: cannot obtain device information.
Linux-x86_64 Error: 2: No such file or directory
SQL>
2,嘗試重新建立spfile
SQL> create pfile from spfile ;
File created.
SQL> create spfile from pfile;
File created.
SQL> startup;
ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated
ORA-07286: sksagdi: cannot obtain device information.
Linux-x86_64 Error: 2: No such file or directory
SQL>
SQL> startup mount
ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated
ORA-07286: sksagdi: cannot obtain device information.
Linux-x86_64 Error: 2: No such file or directory
SQL>
SQL> startup nomount
ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated
ORA-07286: sksagdi: cannot obtain device information.
Linux-x86_64 Error: 2: No such file or directory
SQL>
沒有成功,還是一樣報錯。
3,由於資料庫是shutdown的,所以無法通過sql命令去查看路徑,不過可以嘗試strings spfile的方式去查看下LOG_ARCHIVE_DEST_3的路徑
[oracle@localhost dbs]$ strings spfile*.ora|grep dest_3
*.log_archive_dest_3='LOCATION=/data/oracle/oradgdata/standby_archive VALID_FOR=(STANDBY_LOGFILES,STANDBY_ROLE) DB_UNIQUE_NAME=pddgunq'
[oracle@localhost dbs]$
這個路徑/data/oracle/oradgdata/standby_archive不存在,需要建立
[oracle@localhost ~]$ cd $ORACLE_HOME
[oracle@localhost dbhome_1]$ cd dbs
[oracle@localhost dbs]$ mkdir -p /data/oracle/oradgdata/standby_archive
[oracle@localhost dbs]$
4,再去startup nomount,OK。
[oracle@localhost dbs]$ rlwrap sqlplus "/ as sysdba"
rlwrap: warning: your $TERM is 'xterm' but rlwrap couldn't find it in the terminfo database. Expect some problems.
SQL*Plus: Release 11.2.0.1.0 Production on Tue Jan 27 18:39:27 2015
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount
ORACLE instance started.
Total System Global Area 5344731136 bytes
Fixed Size 2213136 bytes
Variable Size3489663728 bytes
Database Buffers1811939328 bytes
Redo Buffers 40914944 bytes
SQL>
總結原因:是因為磁碟故障,所以不識別原來的路徑;而掛載壞磁碟卸載後,加入新磁碟,也需要重新建立歸檔路徑。
----------------------------------------------------------------------------------------------------------------
<著作權,文章允許轉載,但必須以連結方式註明源地址,否則追究法律責任!>
原部落格地址: http://blog.itpub.net/26230597/viewspace-1413077/
原作者:黃杉 (mchdba)
----------------------------------------------------------------------------------------------------------------