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
Saving Backup Errros inside the db

Saving Backup Errros inside the db

2005-12-27       - By Sriram Kumar

Reply:     1     2     3     4     5  

Hi,

I guess you can use the following logic.

1. You can provide log file name in the RMAN command line.
2. Generate a unique log file name for every RMAN backup operation.(say
Date)
3. Once the RMAN backup is over, execute another shell script that accepts
this RMAN logfile name as parameter and uploads this text file into the
database.( Use DBMS_LOB)
4. If you have a catalog database, you can create a new schema that
maintains these log files.
5. Create one more shell script that accepts the unique log file name can
download the file name from the database to a predefined directory for
reviewing

Hope this helps

Best Regards

Sriram Kumar



On 12/27/05, BN <bnsarma@(protected)> wrote:
>
> Greetings,
>
> I would like to save the following RMAN error messages inside a table
> along with the timestamp
>
>
>
> RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
> RMAN-00571: ===========================================================
> RMAN-03007: retryable error occurred during execution of command: backup
> RMAN-07004: unhandled exception during command execution on channel d1
> RMAN-10035: exception raised in RPC: ORA-19502 (See ORA-19502.ora-code.com): write error on file
> "/u03/oradata/vrwedb/control03.dbf", blockno 1751 (blocksize=8192)
> ORA-27072 (See ORA-27072.ora-code.com): skgfdisp: I/O error
> HP-UX Error: 28: No space left on device
> Additional information: 1751
> RMAN-10031: ORA-19624 (See ORA-19624.ora-code.com) occurred during call to
> DBMS_BACKUP_RESTORE.BACKUPPIECECREATE
>
> RMAN>
>
>
>
> Can somebody suggest me how I can do this. I want to save the new lines,
> as they appear in the error message.
> Am I looking at a CLOB or do I have other options.
>
>
> --
> Regards & Thanks
> BN
>

<div>Hi,</div>
<div>&nbsp;</div>
<div>I guess you can use the following logic.</div>
<div>&nbsp;</div>
<div>1. You can provide log file name in the RMAN command line.</div>
<div>2. Generate a unique log file name for every RMAN backup operation.(say
Date)</div>
<div>3. Once the RMAN backup is over, execute another shell script that accepts
this RMAN&nbsp;logfile name as parameter and uploads this text file into the
database.( Use DBMS_LOB)</div>
<div>4. If you have a catalog database, you can create a new schema that
maintains these log files.</div>
<div>5. Create one more shell script that accepts the unique log file name can
download the file name from the database to a predefined directory for
reviewing</div>
<div>&nbsp;</div>
<div>Hope this helps</div>
<div>&nbsp;</div>
<div>Best Regards</div>
<div>&nbsp;</div>
<div>Sriram Kumar</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 12/27/05, <b class="gmail_sendername">BN</b>
&lt;<a href="mailto:bnsarma@(protected)">bnsarma@(protected)</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Greetings,</div>
<div>&nbsp;</div>
<div>I would like to save the following RMAN error messages inside a table
along with the timestamp</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<p>RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============<br
>RMAN-00571: ===========================================================<br>RMAN
-03007: retryable error occurred during execution of command: backup
<br>RMAN-07004: unhandled exception during command execution on channel d1<br
>RMAN-10035: exception raised in RPC: ORA-19502 (See ORA-19502.ora-code.com): write error on file &quot;/u03
/oradata/vrwedb/control03.dbf&quot;, blockno 1751 (blocksize=8192)
<br>ORA-27072 (See ORA-27072.ora-code.com): skgfdisp: I/O error<br>HP-UX Error: 28: No space left on device
<br>Additional information: 1751<br>RMAN-10031: ORA-19624 (See ORA-19624.ora-code.com) occurred during call
to DBMS_BACKUP_RESTORE.BACKUPPIECECREATE</p>
<p>RMAN&gt;<br></p>
<p>&nbsp;</p>
<div>&nbsp;</div>
<div>Can somebody suggest me how I can do this. I want to save the new lines,
as they appear in the error message.</div>
<div>Am I looking at a CLOB or do I have other options.</div>
<div><br clear="all"><br>-- <br>Regards &amp; Thanks<br>BN </div></blockquote><
/div><br>