Re: RMAN Archive Log

From: <exec_at_chicagorsvp.com>
Date: Wed, 10 Sep 2008 11:15:35 -0700 (PDT)
Message-ID: <0900fe64-f1fe-4510-962b-b902b67ac508@l42g2000hsc.googlegroups.com>


On Sep 10, 12:39 pm, sybra..._at_hccnet.nl wrote:
> On Wed, 10 Sep 2008 10:29:40 -0700 (PDT), e..._at_chicagorsvp.com wrote:
>
> >Hi,
>
> >We put our database into archive log mode.  It has been that way for a
> >day.  We also modified our init.ora file to set the destination and
> >file name format.
>
> >When we run RMAN, it looks in the oracle home and also for a totally
> >different file name with a totally different sequence number.  We set
> >the location in RMAN with no luck.......
>
> >We are on 10g R2 and using the control file rather than the recovery
> >catalog......
>
> >Any thoughts?  Do I need to shutdown and re-open with resetlogs???
>
> RMAN only looks in the catalog whether it is located in the
> controlfile or in the catalog database doesn't matter.
>
> In short: you only state 'It doesn't work' without any evidence.
> You can not expect accurate responses.
>
> --
> Sybrand Bakker
> Senior Oracle DBA- Hide quoted text -
>
> - Show quoted text -

Take a look at this:

SQL> archive log list

Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            /u03/NI00/arch
Oldest online log sequence     68123
Next log sequence to archive   68132
Current log sequence           68132

SQL> select min(sequence#), max(sequence#), min(first_time), max(first_time) from v$archived_log;

MIN(SEQUENCE#) MAX(SEQUENCE#) MIN(FIRST MAX(FIRST -------------- -------------- --------- ---------

         37099 68131 27-MAR-08 10-SEP-08 This is VERY wrong. We did have archiving turned on back in March. We shut it off for several reasons and turned it back on last night. So, RMAN is looking for 37099, which does not exist......

How do we fix that? Received on Wed Sep 10 2008 - 13:15:35 CDT

Original text of this message