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: help "cloning" a database

Jose Luis Delgado

2004-05-18

Replies:
Hi Rich...

I think your problem is here:

> the create statement, so it looks like:
>  CREATE CONTROLFILE SET DATABASE "DST" RESETLOGS
> ARCHIVELOG

If I'm wrong, others can correct me, but,...

if you are using RESETLOGS, then you are resetting
your log sequence to 0.

I think you can try this:

sql> @/tmp/cntrl.sql
sql> recover database until cancel using backup
controlfile;

when asked for archive logs, type: CANCEL
then...

sql> alter database open resetlogs;

this should open your db...

HTH
JL



--- Rich Holland <holland@(protected):
> On the source system (SRC), I create a SQL copy of
> the control file:
>  SQL> alter database backup controlfile to trace;
>
> Then I force log switches (four, just to be safe):
>  SQL> alter system archive log current;
>  SQL> alter system archive log current;
>  SQL> alter system archive log current;
>  SQL> alter system archive log current;
>
> the create statement, so it looks like:
>  CREATE CONTROLFILE SET DATABASE "DST" RESETLOGS
> ARCHIVELOG
>
> SQL> @/tmp/cntrl.sql
>
> This creates the control files successfully. I
> realize there will likely be
> some media recovery needed
>
> SQL> recover database using backup controlfile
> until CANCEL;
>
> ...It rolls through log 400,
> which was the last of the 4 I
> created with the 'alter system archive log current'
> commands earlier. When it
> asks for 401, there isn't anything to give it, so I
> CANCEL the recovery, but I
> see this error:
>
>  ORA-01547: warning: RECOVER succeeded but OPEN
> RESETLOGS would get
> error
>  below
>  ORA-01195: online backup of file 1 needs more
> recovery to be consistent
>  ORA-01110: data file 1:
> '/oracle/DST/sapdata1/system_1/system.data1'
>
> Help! What am I overlooking here? I could swear
> I've done it this way in
> previous releases with no problems....
>
> Thanks!
> Rich
>
>
----------------------------------------------------------------
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
>
----------------------------------------------------------------
> To unsubscribe send email to:
> oracle-l-request@(protected)
> put 'unsubscribe' in the subject line.
> --
> Archives are at
> http://www.freelists.org/archives/oracle-l/
> FAQ is at
> http://www.freelists.org/help/fom-serve/cache/1.html
>
-----------------------------------------------------------------



 
   
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------