Home
All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

RE: Open read only after incomplete recovery?

Baumgartel, Paul

2006-06-01

Replies:

No, not RAC. Here's the transcript of my latest attempt. Any suggestions/corrections welcomed.

Note that I have also tried this without specifying "using backup controlfile"--same result.

 
SQL> recover database until cancel using backup controlfile
ORA-00279: change 5656280046240 generated at 05/31/2006 22:24:13 needed for
thread 1
ORA-00289: suggestion : /app/oracle/PNYTP102/admin/archive11794.arc
ORA-00280: change 5656280046240 for thread 1 is in sequence #11794
 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/db_dumps/oracle/PNYTP102/archive1/11794.arc
ORA-00279: change 5656280047319 generated at 05/31/2006 22:29:22 needed for
thread 1
ORA-00289: suggestion : /app/oracle/PNYTP102/admin/archive11795.arc
ORA-00280: change 5656280047319 for thread 1 is in sequence #11795
ORA-00278: log file '/db_dumps/oracle/PNYTP102/archive1/11794.arc' no longer
needed for this recovery
 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/db_dumps/oracle/PNYTP102/archive1/11795.arc
ORA-00279: change 5656563507271 generated at 06/01/2006 07:26:43 needed for
thread 1
ORA-00289: suggestion : /app/oracle/PNYTP102/admin/archive11796.arc
ORA-00280: change 5656563507271 for thread 1 is in sequence #11796
ORA-00278: log file '/db_dumps/oracle/PNYTP102/archive1/11795.arc' no longer
needed for this recovery
 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/db_dumps/oracle/PNYTP102/archive1/11796.arc
ORA-00279: change 5656564123418 generated at 06/01/2006 10:10:57 needed for
thread 1
ORA-00289: suggestion : /app/oracle/PNYTP102/admin/archive11797.arc
ORA-00280: change 5656564123418 for thread 1 is in sequence #11797
ORA-00278: log file '/db_dumps/oracle/PNYTP102/archive1/11796.arc' no longer
needed for this recovery
 

Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/data/oracle/PNYTP102/u01/system_01.dbf'
 

ORA-01112: media recovery not started
 

SQL> alter database open read only;
alter database open read only
*
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/data/oracle/PNYTP102/u01/system_01.dbf'
 
 

Paul Baumgartel
CREDIT SUISSE
Information Technology
DBA & Admin - NY, KIGA 1
11 Madison Avenue
New York, NY 10010
USA
Phone 212.538.1143
paul.baumgartel@credit-suisse.com
www.credit-suisse.com

-----Original Message-----
From: David Sharples [mailto:davidsharples@gmail.com]
Sent: Thursday, June 01, 2006 4:05 PM
To: paul.baumgartel@credit-suisse.com
Cc: oracle-l@Freelists.org
Subject: Re: Open read only after incomplete recovery?

yes it is possible, can be used to see how far down a recovery process you are.  Is this a RAC database?

On 01/06/06, Baumgartel, Paul <paul.baumgartel@credit-suisse.com> wrote:
Oracle 9.2.0.6 on 64-bit Solaris 5.8.

We have a BCV setup to maintain a copy of a production database on another server.  The BCV is updated every night.  Tablespaces are placed in backup mode beforehand and taken out after.

I am told by other DBAs that they have successfully performed the following:

startup mount
recover database using backup controlfile until cancel

...apply a few logs
... cancel

alter database open read only;

We do NOT want to open resetlogs.  The purpose of this exercise is to see if we can use the BCV copy for reporting, but still be able to recover it further if need be.

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================