Links
Home
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
Trying to drop old undo tablespace that needs recovery

Trying to drop old undo tablespace that needs recovery

2005-10-26       - By Marquez, Chris

Reply:     1     2     3     4     5     6     7  


Mark,

Your problem is likely the oracle (transactions) are still holing on to and
UNDO segment and oracle want to right itself.

>>They [offline undo segments] don't show a status of needing recovery.

I have not been in the exact position, but in a very similar one...sadly
several times.
I would like to see more of the ORA-00600 (See ORA-00600.ora-code.com) or other ORA- error details.

I have my own notes titled;
Drop Rollback or UNDO Tablspace With Active / Corrupt / "NEEDS RECOVERY"
Segments
I will send them to you directly.

But in a basically it goes like this;

- The Issue: ORA- errors
- UNDO/RBS Seem OK!?:  select segment_name, status from dba_rollback_segs;
- Edit init.ora to Comment UNDO/RBS parameters
- UNDO/RBS Issue Obvious now!:  select segment_name, status from dba_rollback
_segs;
- IF YOU CAN *NOT* OPEN THE DATABASE: Edit init.ora to Comment UNDO/RBS
parameters & ADD "_smu_debug_mode", event 10015
- startup Again
- View event="10015 trace file for corrupted rollback/undo segments
- NOW FIX CORRUPTED SEGMENTS
- Edit init.ora to "force" Rollback or UNDO offline: _OFFLINE_ROLLBACK_SEGMENTS
or _CORRUPTED_ROLLBACK_SEGMENTS
- UNDO/RBS Issue Is Real (bad)!: select segment_name, status from dba_rollback
_segs;
- Drop Rollback or UNDO Segments:
- UNDO/RBS All Gone...Easy and Simple to Drop UNDO/RBS Tablespace.
- Drop The Rollback or UNDO Tablespace
- RE-Create The Rollback or UNDO Tablespace
- Edit init.ora to Comment _OFFLINE_ROLLBACK_SEGMENTS= and UNcomment "undo_",
"rbs" parameters.
- UNDO/RBS Issue GONE!: select segment_name, status from dba_rollback_segs;


I will past the whole doc in another post but not sure if it will make it
through?

hth

Chris Marquez
Oracle DBA




-- --Original Message-- --
From: oracle-l-bounce@(protected) on behalf of Strickland, Mark
Sent: Wed 10/26/2005 6:19 PM
To: oracle-l@(protected)
Subject: Trying to drop old undo tablespace that needs recovery

I've opened a TAR, but I wanted to also solicit ideas from the list.  I
inherited a database that has an old undo tablespace "UNDO2" that had a
datafile that has needed recovery since August 9th.  I don't have
archived logs going back that far.  The tablespace isn't being used.  A
new undo tablespace called "UNDO" was created sometime back and is being
used.  The database has been shutdown and restarted successfully since
the problem started.  Every night when the tablespaces are put in backup
mode, errors are thrown in the alert log for the  undo2 tablespace
because the file that needs recovery is offline.  The tablespace has
offline undo segments.  They don't show a status of needing recovery.  I
researched it in Metalink and believed that I could offline drop the
datafiles in that old tablespace and then drop the tablespace.   I was
able to execute the alter database offline drop statements successfully,
but when I tried to drop the tablespace, I got an ORA-00600 (See ORA-00600.ora-code.com).  Anybody
got any ideas?

Mark Strickland
Seattle, WA



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.28">
<TITLE>RE: Trying to drop old undo tablespace that needs recovery </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Mark,<BR>
<BR>
Your problem is likely the oracle (transactions) are still holing on to and
UNDO segment and oracle want to right itself.<BR>
<BR>
&gt;&gt;They [offline undo segments] don't show a status of needing recovery.
<BR>
<BR>
I have not been in the exact position, but in a very similar one...sadly
several times.<BR>
I would like to see more of the ORA-00600 (See ORA-00600.ora-code.com) or other ORA- error details.<BR>
<BR>
I have my own notes titled;<BR>
Drop Rollback or UNDO Tablspace With Active / Corrupt / &quot;NEEDS RECOVERY
&quot; Segments<BR>
I will send them to you directly.<BR>
<BR>
But in a basically it goes like this;<BR>
<BR>
- The Issue: ORA- errors<BR>
- UNDO/RBS Seem OK!?:&nbsp; select segment_name, status from dba_rollback_segs;
<BR>
- Edit init.ora to Comment UNDO/RBS parameters<BR>
- UNDO/RBS Issue Obvious now!:&nbsp; select segment_name, status from dba
_rollback_segs;<BR>
- IF YOU CAN *NOT* OPEN THE DATABASE: Edit init.ora to Comment UNDO/RBS
parameters &amp; ADD &quot;_smu_debug_mode&quot;, event 10015<BR>
- startup Again<BR>
- View event=&quot;10015 trace file for corrupted rollback/undo segments<BR>
- NOW FIX CORRUPTED SEGMENTS<BR>
- Edit init.ora to &quot;force&quot; Rollback or UNDO offline: _OFFLINE
_ROLLBACK_SEGMENTS or _CORRUPTED_ROLLBACK_SEGMENTS<BR>
- UNDO/RBS Issue Is Real (bad)!: select segment_name, status from dba_rollback
_segs;<BR>
- Drop Rollback or UNDO Segments:<BR>
- UNDO/RBS All Gone...Easy and Simple to Drop UNDO/RBS Tablespace.<BR>
- Drop The Rollback or UNDO Tablespace<BR>
- RE-Create The Rollback or UNDO Tablespace<BR>
- Edit init.ora to Comment _OFFLINE_ROLLBACK_SEGMENTS= and UNcomment &quot;undo
_&quot;, &quot;rbs&quot; parameters.<BR>
- UNDO/RBS Issue GONE!: select segment_name, status from dba_rollback_segs;<BR>
<BR>
<BR>
I will past the whole doc in another post but not sure if it will make it
through?<BR>
<BR>
hth<BR>
<BR>
Chris Marquez<BR>
Oracle DBA<BR>
<BR>
<BR>
<BR>
<BR>
-- --Original Message-- --<BR>
From: oracle-l-bounce@(protected) on behalf of Strickland, Mark<BR>
Sent: Wed 10/26/2005 6:19 PM<BR>
To: oracle-l@(protected)<BR>
Subject: Trying to drop old undo tablespace that needs recovery<BR>
<BR>
I've opened a TAR, but I wanted to also solicit ideas from the list.&nbsp; I<BR>
inherited a database that has an old undo tablespace &quot;UNDO2&quot; that had
a<BR>
datafile that has needed recovery since August 9th.&nbsp; I don't have<BR>
archived logs going back that far.&nbsp; The tablespace isn't being used.&nbsp;
A<BR>
new undo tablespace called &quot;UNDO&quot; was created sometime back and is
being<BR>
used.&nbsp; The database has been shutdown and restarted successfully since<BR>
the problem started.&nbsp; Every night when the tablespaces are put in backup
<BR>
mode, errors are thrown in the alert log for the&nbsp; undo2 tablespace<BR>
because the file that needs recovery is offline.&nbsp; The tablespace has<BR>
offline undo segments.&nbsp; They don't show a status of needing recovery.&nbsp
; I<BR>
researched it in Metalink and believed that I could offline drop the<BR>
datafiles in that old tablespace and then drop the tablespace.&nbsp;&nbsp; I
was<BR>
able to execute the alter database offline drop statements successfully,<BR>
but when I tried to drop the tablespace, I got an ORA-00600 (See ORA-00600.ora-code.com).&nbsp; Anybody<BR>
got any ideas?<BR>
<BR>
Mark Strickland<BR>
Seattle, WA<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>