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
problem getting rid of an undo tablespace

problem getting rid of an undo tablespace

2004-03-16       - By Rachel Carmichael
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

> It all started several hours ago when OEM let me mistakenly create a
> new datafile with a name of '.ora '...

you can name a datafile anything you want. OEM didn 't make a mistake.

And if all you wanted to do was change the name of the datafile, 'alter
database rename file <oldname > to <newname >; ' is a MUCH better option
than dropping a file (which you can 't actually do anyway). You can 't
have the database open when you do this but then you 've already said
you are the only user and you are able to do the shutdown

You started with several mistaken premises:

1) that you have to drop a file to change the name
2) that you can even drop a file that is part of a tablespace without
dropping the tablespace itself
3) that you can directly edit the spfile

May I gently suggest that a review of the concepts and reference guides
is in order?

Rachel






--- david wendelken <davewendelken@(protected) > wrote:
>
> I did a shutdown immediate, but I 'm the only one on it.
>
> In recreating the problem, I just figured out why my approach didn 't
> work.
> Dropped a digit off the undo tablespace name by mistake.
>
> It all started several hours ago when OEM let me mistakenly create a
> new datafile with a name of '.ora '...
> After beating one 's head against the wall long enough...
>
> -- --Original Message-- --
> From: "Bobak, Mark " <Mark.Bobak@(protected) >
> Sent: Mar 16, 2004 10:33 AM
> To: oracle-l@(protected)
> Subject: RE: problem getting rid of an undo tablespace
>
> What kind of shutdown did you do? (Not an abort, I hope!)
>
> Please define "the database would not open up ". Error message?
> Error number? Anything in alert.log? Other hints?
>
> -- --Original Message-- --
> From: david wendelken [mailto:davewendelken@(protected)]
> Sent: Tuesday, March 16, 2004 1:30 PM
> To: oracle-l@(protected)
> Subject: Re: problem getting rid of an undo tablespace
>
>
>
> I have a problem with one of the files in my undo tablepace.
>
> Given that there are not any transactions to undo, it seemed simplest
> to just drop the file.
> But I haven 't been able to get the database to let me do that.
>
> So, I created a 2nd undo tablespace with the intention of taking the
> first off line and then dropping it.
> But I haven 't been able to get the database to let me take it off
> line.
>
> I found a parameter in my spfile called "undo_tablespace " which was
> set to the old tablespace.
> I shut down the database, changed the entry to point to the new
> tablespace, but the database would not open up.
>
> Any ideas on how to clear out the corrupted undo tablespace file?
>
> Thanks in advance!
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> 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
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> 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
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> 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!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
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
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --