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
Database recovery problem

Database recovery problem

2005-09-20       - By Paul Drake

Reply:     <<     11     12     13  

On 9/20/05, Branimir Petrovic <BranimirP@(protected)> wrote:
>
> Try as hard as you may - you can not delete any Oracle data files on
> Windows (should have said - on Windows ONLY) while the database is up
> and running. Windows keeps them locked 'n safe from deletion attempts.
> However, take the tablespace offline and watch its individual data
> files become "fair game" for deletion attempts...
>  The story you've been told on how the problem came to be - simply ain't
> true. It takes more than a simple mistake (on Windows that is) to get
> to this point. FYI - it takes *deliberate* aim.
>  Branimir
>


Branimir,

This is not correct when it comes to files mounted on a SAN.
It is entirely possible to overwrite files owned by a different database
instance if account separation is not used.
I know someone that proved this to be true (not saying who that might be)
via a "create controlfile" statement during a cloning exercise. Lets just
say that it counted as a backup/restore/recover exercise.

Paul



P.S.
>  If there are no recent cold backups (or schema exports) - expect from
> partial to total data loss. If data loss is not acceptable - somebody
> should get "walking papers" over this.
>  
> -- --Original Message-- --
> *From:* Onkar N Tiwary [mailto:onkarnath.tiwary@(protected)]
> *Sent:* Tuesday, September 20, 2005 7:55 AM
> *To:* oracle-l@(protected)
> *Subject:* Database recovery problem
>
> hi all,
>  We have got one oracle 9i rel 2 on windows 2000 running in no-archive log
> mode. the problem is one of the dba of the other team has deleted some of
> the dbf files while the database was running and tablespace was online.
>
>

On 9/20/05, <b class="gmail_sendername">Branimir Petrovic</b> &lt;<a href=
"mailto:BranimirP@(protected)">BranimirP@(protected)</a>&gt; wrote:<div><span class=
"gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px
solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div><font color="#0000ff" face="Courier New" size="2"><span>Try as hard as you
may - you can not delete any Oracle
data files on </span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>Windows (should
have said - on Windows ONLY)
</span></font><font color="#0000ff" face="Courier New" size="2"><span>while the
database is up </span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>and running.
Windows keeps them locked
</span></font><font color="#0000ff" face="Courier New" size="2"><span>'n safe
from deletion attempts. </span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>However, </span><
/font><font color="#0000ff" face="Courier New" size="2"><span>take the
tablespace offline
</span></font><font color="#0000ff" face="Courier New" size="2"><span>and watch
its individual data </span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>files </span><
/font><font color="#0000ff" face="Courier New" size="2"><span>become &quot;fair
</span></font><font color="#0000ff" face="Courier New" size="2"><span>game&quot
; for deletion attempts...</span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>&nbsp;</span><
/font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>The story you've
been told on&nbsp;how the problem came
to be - simply </span></font><font color="#0000ff" face="Courier New" size="2">
<span>ain't </span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>true. I</span><
/font><font color="#0000ff" face="Courier New" size="2"><span>t takes more
</span></font><font color="#0000ff" face="Courier New" size="2"><span>than a
simple mistake (on Windows that is) to get
</span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>to </span></font>
<font color="#0000ff" face="Courier New" size="2"><span>this </span></font><font
color="#0000ff" face="Courier New" size="2"><span>point.
FYI - i</span></font><font color="#0000ff" face="Courier New" size="2"><span>t
takes *deliberate* aim. </span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span></span></font>
&nbsp;</div>
<div><font color="#0000ff" face="Courier New" size="2"><span></span></font>
<font color="#0000ff" face="Courier New" size="2"><span>Branimir</span></font><
/div></blockquote><div><br>
<br>
Branimir,<br>
<br>
This is not correct when it comes to files mounted on a SAN.<br>
It is entirely possible to overwrite files owned by a different database
instance if account separation is not used.<br>
I know someone that proved this to be true (not saying who that might
be) via a &quot;create controlfile&quot; statement during a cloning exercise.
Lets just say that it counted as a backup/restore/recover exercise.<br>
<br>
Paul<br>
<br>
<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204
, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><font color="
#0000ff" face="Courier New" size="2"><span>P.S.</span></font></div>

<div><font color="#0000ff" face="Courier New" size="2"><span></span></font>
&nbsp;</div>
<div><font color="#0000ff" face="Courier New" size="2"><span>If there&nbsp;are
no recent cold backups (or schema
exports) - expect from</span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span>partial </span><
/font><font color="#0000ff" face="Courier New" size="2"><span>to&nbsp;total
</span></font><font color="#0000ff" face="Courier New" size="2"><span>data <
/span></font><font color="#0000ff" face="Courier New" size="2"><span>loss.&nbsp
;If data loss is
not acceptable - somebody </span></font></div>
<div><font color="#0000ff" face="Courier New" size="2"><span></span></font>
<font color="#0000ff" face="Courier New" size="2"><span>should get </span></font
><font color="#0000ff" face="Courier New" size="2"><span>&quot;walking
papers&quot; over this.</span></font><font color="#0000ff" face="Courier New"
size="2"><span></span></font></div><div><span class="e" id="q_10673a5f2e6735b0
_1">
<div><font color="#0000ff" face="Courier New" size="2"><span></span></font>
&nbsp;</div>
<div><font color="#0000ff" face="Courier New" size="2"><span></span></font>
&nbsp;</div>
<blockquote style="margin-right: 0px;" dir="ltr">
 <div align="left" dir="ltr"><font face="Tahoma" size="2">-- --Original
Message-- --<br><b>From:</b> Onkar N Tiwary
 [mailto:<a href="mailto:onkarnath.tiwary@(protected)" target="_blank" onclick=
"return top.js.OpenExtLink(window,event,this)">onkarnath.tiwary@(protected)</a>]
<br><b>Sent:</b> Tuesday, September 20,
 2005 7:55 AM<br><b>To:</b> <a href="mailto:oracle-l@(protected)" target="
_blank" onclick="return top.js.OpenExtLink(window,event,this)">oracle-l
@(protected)</a><br><b>Subject:</b> Database
 recovery problem<br><br></font></div>
 <div>hi all,</div>
 <div>&nbsp;</div>
 <div>We have got one oracle 9i rel 2 on windows 2000 running in no-archive
log
 mode. the problem is one of the dba of the other team has deleted some of the
 dbf files while the database was running and tablespace was
online.</div></blockquote>

</span></div></blockquote></div><br><br clear="all"><br><br>