Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RMAN Backup control file

RMAN Backup control file

From: DENNIS WILLIAMS <DWILLIAMS_at_LIFETOUCH.COM>
Date: Thu, 10 Apr 2003 14:33:50 -0800
Message-ID: <F001.0057F49E.20030410143350@fatcity.com>


In setting up RMAN on Oracle 8.1.6, I found it very convenient to have a backup controlfile. This is a good idea anyway. I added the following line to the backup script:

sql "alter database backup controlfile to ''$BACKUP_DIR/control_`date +%y%m%d`.ctl''";

This produces the following error:

RMAN-06162: sql statement: alter database backup controlfile to ''/rman3/fin7/control_030410.ctl''

RMAN-03023: executing command: sql
RMAN-03026: error recovery releasing channel resources
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03006: non-retryable error occurred during execution of command: sql
RMAN-07004: unhandled exception during command execution on channel default
RMAN-20000: abnormal termination of job step
RMAN-11003: failure during parse/execution of SQL statement: alter database
backup controlfile to '/rman3/fin7/control_030410.ctl' RMAN-11001: Oracle Error: ORA-01585: error identifying backup file /rman3/fin7/control_030410.ctl
ORA-27086: skgfglk: unable to lock file - already in use Compaq Tru64 UNIX Error: 77: No locks available Additional information: 8

RMAN> Recovery Manager complete.

It actually produces the requested control file, but in the one time I've been able to test it, the file was corrupted. Any suggestions?

Dennis Williams
DBA, 40%OCP, 100% DBA
Lifetouch, Inc.
dwilliams_at_lifetouch.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: DENNIS WILLIAMS
  INET: DWILLIAMS_at_LIFETOUCH.COM

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Apr 10 2003 - 17:33:50 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US