Rman issues - running archive job

Recovery Manager: Release 10.2.0.4.0 - Production on Tue Dec 4 02:12:19 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
RMAN>
connected to target database: S7PB (DBID=1234567)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run{ execute script firtuna_backup_archive; }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06002: command not allowed when not connected to a recovery catalog
RMAN> exit;
Recovery Manager complete.
Could anybody tell me how I can solve this issue (catalog) using grid control oracle 10g

have you used syntax like
rman target / catalog username/passsword@dbname ??

Similar Messages

  • Archiving job successful but no messages archived

    Hi guys,
    what's wrong? When I check processing statistics, nothing has changed.
    Thank you,
    Olian
    BTW:  how to delete these archived messages? I don't want to delete what hasn't been archived, so I just want to be sure. Thanks.
    Edited by: Olian Saludew on Aug 22, 2008 2:16 PM

    Hi
    Is there a way how to archive messages sent before the job has been scheduled?
    1) --> You have to update all SXMSPMAST records. Field: ITFACTION = ARCH
    Write ABAP-Report!
    Please do this just for one record! Then run the archive job an see if the message was archived.
    (First do in your test-system!)
    If this works, you can do this with all records!
    What do you advise me, how should I schedule delete job so I will not delete any unarchived messages?
    2) --> If you sucessfull archived all messages, you can run your deletion job
    (note: sync. messages can not be archived)
    is it possible to run archive job every week & delete only once a month? Won't be archived messages archoved twice?
    3) --> No, because after you run the archive job, the messages get ITFACTION = DEL
    Please test first!
    Regards Mario
    Edited by: Mario Müller on Aug 22, 2008 9:32 AM

  • RMAN BACKUPS AND ARCHIVED LOG ISSUES

    제품 : RMAN
    작성날짜 : 2004-02-17
    RMAN BACKUPS AND ARCHIVED LOG ISSUES
    =====================================
    Scenario #1:
    1)RMAN이 모든 archived log들을 삭제할 때 실패하는 경우.
    database는 두 개의 archive destination에 archive file을 생성한다.
    다음과 같은 스크립트를 수행하여 백업후에 archived redo logfile을 삭제한다.
    run {
    allocate channel c1 type 'sbt_tape';
    backup database;
    backup archivelog all delete input;
    Archived redo logfile 삭제 유무를 확인하기 위해 CROSSCHECK 수행시 다음과
    같은 메시지가 발생함.
    RMAN> change archivelog all crosscheck;
    RMAN-03022: compiling command: change
    RMAN-06158: validation succeeded for archived log
    RMAN-08514: archivelog filename=
    /oracle/arch/dest2/arcr_1_964.arc recid=19 stamp=368726072
    2) 원인분석
    이 문제는 에러가 아니다. RMAN은 여러 개의 arhive directory중 하나의
    directoy안에 있는 archived file들만 삭제한다. 그래서 나머지 directory안의
    archived log file들은 삭제되지 않고 남게 되는 것이다.
    3) 해결책
    RMAN이 강제로 모든 directory안의 archived log file들을 삭제하게 하기 위해서는
    여러 개의 채널을 할당하여 각 채널이 각 archive destination안의 archived file을
    백업하고 삭제하도록 해야 한다.
    이것은 아래와 같이 구현될 수 있다.
    run {
    allocate channel t1 type 'sbt_tape';
    allocate channel t2 type 'sbt_tape';
    backup
    archivelog like '/oracle/arch/dest1/%' channel t1 delete input
    archivelog like '/oracle/arch/dest2/%' channel t2 delete input;
    Scenario #2:
    1)RMAN이 archived log를 찾을 수 없어 백업이 실패하는 경우.
    이 시나리오에서 database를 incremental backup한다고 가정한다.
    이 경우 RMAN은 recover시 archived redo log대신에 incremental backup을 사용할
    수 있기 때문에 백업 후 모든 archived redo log를 삭제하기 위해 OS utility를 사용한다.
    그러나 다음 번 backup시 다음과 같은 Error를 만나게 된다.
    RMAN-6089: archive log NAME not found or out of sync with catalog
    2) 원인분석
    이 문제는 OS 명령을 사용하여 archived log를 삭제하였을 경우 발생한다. 이때 RMAN은
    archived log가 삭제되었다는 것을 알지 못한다. RMAN-6089는 RMAN이 OS 명령에 의해
    삭제된 archived log가 여전히 존재하다고 생각하고 백업하려고 시도하였을 때 발생하게 된다.
    3) 해결책
    가장 쉬운 해결책은 archived log를 백업할 때 DELETE INPUT option을 사용하는 것이다.
    예를 들면
    run {
    allocate channel c1 type 'sbt_tape';
    backup archivelog all delete input;
    두 번째로 가장 쉬운 해결책은 OS utility를 사용하여 archived log를 삭제한 후에
    다음과 같은 명령어를 RMAN prompt상에서 수행하는 것이다.
    RMAN>allocate channel for maintenance type disk;
    RMAN>change archivelog all crosscheck;
    Oracle 8.0:
         RMAN> change archivelog '/disk/path/archivelog_name' validate;
    Oracle 8i:
    RMAN> change archivelog all crosscheck ;
    Oracle 9i:
    RMAN> crosscheck archivelog all ;
    catalog의 COMPATIBLE 파라미터가 8.1.5이하로 설정되어 있으면 RMAN은 찾을 수 없는
    모든 archived log의 status를 "DELETED" 로 셋팅한다. 만약에 COMPATIBLE이 8.1.6이상으로
    설정되어 있으면 RMAN은 Repository에서 record를 삭제한다.

    Very strange, I issue following command in RMAN on both primary and standby machine, but it they don't delete the 1_55_758646076.dbf, I find in v$archived_log, this "/home/oracle/app/oracle/dataguard/1_55_758646076.dbf" had already been applied.
    RMAN> connect target /
    RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    old RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters:
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
    new RMAN configuration parameters are successfully stored
    RMAN>
    ----------------------------------------------------------------------------------

  • Archiving Job. Running and no file..

    Hello all!
    For a some cubes (not for all!!!) I have problem.
    Archiving job write to log
    DROP VIEW "/BI0/0302712378"                                                 
    SQL-END: 15.01.2007 12:09:29 00:00:00                                       
    Selection conditions for the archiving request were checked successfully    
    Archiving session 000012 is being created                                   
    And it is all... Job running up to 48 hours and no files created...
    Other cube have not problem:
    28.12.2006 12:04:49 SQL-END: 28.12.2006 12:04:49 00:00:00                                   
    28.12.2006 12:04:49 Selection conditions for the archiving request were checked successfully
    28.12.2006 12:04:50 Archiving session 000010 is being created                               
    28.12.2006 12:04:52 Path: /Archive/                                                         
    28.12.2006 12:04:52 Name for new archive file: archive_BW_1228_0.120452.GOLOD
    28.12.2006 17:09:09 Name for new archive file: archive_BW_1228_0.170909.GOLOD        
    Help me.
    Thanks.

    Hello,
    Please ask in the
    Visual Basic .Net Language forum on MSDN if you want a program.
    If you are creating a script or batch file, I'd ask in
    The Official Scripting Guys Forum!
    Neither place is a good place to go to if you want someone else to do the work for you.
    If you want hints or suggestions to improve what you already have, then the above suggestions are valid.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • RMAN script- delete archives.

    Is this a solid rman backup script? I am getting varied times for a daily backup- some days it's a normal 1 hour, next day it's 6 hours. I can't find a reason- no errors are being generated, I am told to find out why this server does this and not our other servers- they were all built the same (same hardware/os/database build).
    I am new to RMAN, but here is my "at job" running nightly.
    rman target/
    run {
    backup database plus archivelog;
    delete noprompt obsolete;
    delete expired archivelog all;
    sql 'alter system archive log current';
    exit
    Any reason why RMAN would run longer on certain days? Where do I look to figure this out?

    rman target/
    run {
    backup database plus archivelog;
    delete noprompt obsolete;
    delete expired archivelog all;
    sql 'alter system archive log current';
    exitWhen you use "plus archivelog" then you dont need to issue "'alter system archive log current';" command bcz after taking DB backup it switches the logfile.
    For slowness, I will say check the system state when it misbehave. Check for any locks/wait-events in the DB. Do you run any other process at that time when backup runs?? Check for any other scheduled tasks on that box on that time. Also check alert log for that time period for more information.
    they were all built the same (same hardware/os/database build).Can you tell us what hardware/os/database you are on??
    Daljit Singh

  • Chain of archive jobs ie write, delete & store

    Hi All,
    We are doing archiving for technical objects. Currently we have scheduled the archiving write job periodically but after that, manually executing the delete job & store job.  We are not using standard functionality of chaining these jobs because there are high data & write job is creating the archive file in a high quantity & chaiing the deletion & store job may create the issue of high quantity of background job running simultaneously at a time.
    Now, Is there any process by which i can limit the simultaneously running these jobs to a number ie max 5 or 10. I have searched for program RSARCHD but i am not able to understand how to schedule this program  as i want to schedule this for periodically after write job. and also let me know if it can be used for store job also.
    Thanks in advance.
    Ankit

    Hi Ankit,
    I am not aware of a technique for limiting the number of simultaneous jobs, but you have a way (if you have chosen to start the delete jobs automatically) to start the delete jobs only after the write job is complete (else normally delete job starts once a archive file reaches its max size / no of objects and a new archive file is created).
    To activate this, go to transaction AOBJ, double click on the object (i assume you are trying to archive IDOC) and there is a check box 'Do Not Start Before End of Write Phase', chck that. You can test this on QA system to see if it gves satisfactory results before trying on production.
    hope this helps,
    Naveen

  • S_arch_all for archiving job

    Hello all,
    I'm having some issues with authorizations:
    There is a user who has to run an archiving job for COPA. This job is cancelled because it is missing authorization for S_ARCHIVE / S_ARCH_ALL. I have added this to the user, but even now the job gives the same message. Are there any other solutions besides sap_all

    are you able to run an su53 on the amended profile?
    This link may help!
    http://help.sap.com/saphelp_nw04s/helpdata/en/60/16d93f2e93f106e10000000a1550b0/frameset.htm
    Also check these SAP Notes:
    175901 – Insufficient authorization checks in the Archive Information System
    156336 - Authorization object S_ARCHIVE for status management

  • Not able to run the job with user id - is

    Hello experts,
    We have problem.
    Every day we run the job.
    ( the job contians two programs called  ZTIBCOPRG  and J_5HJSTP  )).
    I would like to know why the above job is running with the user ID TIBCOADM.  Because this user has German settings for the size conversion in program ZTIBCOPRG and we are having some issues.
    We changed the user to TIBCOUSA and the job would not run. 
    We have changed the user back to TIBCOADM.  It is running.
    KINDLY HELP ME WITH YOUR VALUABLE inputs.   YOUR HELP WILL BE HIGHLY APPRECIATED.
    I have checked for both users in AGR_USERS  table.
    The AGR_USERS is the old user and have many roles compared to userid TIBCOUSA.
    WHERE WE NEED TO SEE . IS it authorisation problem or the other user with whom unable to run the job ?
    or is this the error in the program ZTIBCOPRG which is not able to do size conversion and causing some issues.
    Thanks and Regards,

    Hi,
         after running the job with user id TIBCOUSA, it should be in cancelled state as per your comments.
    you just select the cancelled job and type JDBG in command box and enter it takes you to Debug mode.
    There you may get some information where it is failing.
    Sudheer. A

  • Taking long time to run a jobs-in programRBDMIDOC

    hi expert
    hope all r doing well.i have one issue related to jobs which is taking long time
    40 hrs.so please any body help me on this issue. i am giving information related
    to issue as below
    job name:"J4674-sd-pric-cond-chng-for-vncl" this job is running with program
    RBDMIDOC
    Job name:"j2378-fi-auto-clear-wo-curr-all" this job is running with program
    SAPFI24
    can anybady tell me what is the reason its taking so long time.or for improving
    performance any OSS note require .
    please suggest me the solution
    awating for quick response.
    Regards
    Nisha A

    Dear rob,
    thanks for your quick response,as you have given the OSS note
    but i  discussed with ABAPER but they say this  will not support
    so please can you give me other note no so,that we can do some
    thing to wipe out problem.i am awaiting for your valuable response
    Regds
    Nisha A

  • EPMCSS-00000 error when running a job at Workspace

    Hi Gurus,
          I am facing an error at workspace when trying to run a job with my username as following :
    [2015-03-31T15:31:14.866-03:00] [EPMRAF] [ERROR] [] [oracle.EPMRAF.com.sqribe.transformer.SAConfig] [host: bihost.petrobras.com.br]
    [nwaddr: 10.30.52.26] [tid: 59] [userId: sapandes] [ecid: 0000Kll6WmaAxGw_wD5EiW1Kytos0009cx,0:5]
    [SRC_CLASS: com.sqribe.transformer.SAConfig] [session_id: g85V33u7-0000014c71175b4b-0000-ea1e-0a1e341a]
    [subject: userJohnDoe] [SRC_METHOD: log:?] [originator_name: JF1] AUTHEN_CSSLoginFailed[[
    Mar 31 15:31:14.866
    Login failed for . Error Code: EPMCSS-00000. Message: EPMCSS-00000: Failed to process request. Internal server error. Refer EPM Shared Services Security log file for related errors.[RESTORE_TOKEN] com.brio.one.services.authentication.CSSAuthenticationException: Login failed for . Error Code: EPMCSS-00000. Message: EPMCSS-00000: Failed to process request. Internal server error. Refer EPM Shared Services Security log file for related errors.[RESTORE_TOKEN]
            at com.brio.one.common.utils.CommonIdlUtility.convert(Unknown Source)
            at com.brio.one.common.utils.CommonIdlUtility.convertCorbaException(Unknown Source)
            at com.brio.one.common.utils.CommonIdlUtility.convertCorbaException(Unknown Source)
            at com.brio.one.services.proxy.BusinessServiceProxy.convertCorbaException(Unknown Source)
            at com.brio.one.services.sessionmanager.proxy.SessionManagerProxy.createSession(Unknown Source)
            at com.brio.one.client.impl.ServerClient.createClient(Unknown Source)
            at com.brio.one.client.impl.ServerClient.createSubjectClient(Unknown Source)
            at com.sqribe.transformer.utils.ConversionRoutines.getUserContext(Unknown Source)
            at com.sqribe.transformer.RunAsyncJobFactoryCommand.execute(Unknown Source)
            at com.sqribe.transformer.SessionCommand.execute(Unknown Source)
            at com.sqribe.transformer.ClientThread.run(Unknown Source)
    [AUTHEN_CSSLoginFailed]: EPMCSS-00000, , EPMCSS-00000: Failed to process request. Internal server error. Refer EPM Shared Services Security log file for related errors.[RESTORE_TOKEN]]]
          However I've got to run this same job when I log as admin user, but my username (userJohnDoe)  belongs a group with admin provision in all environment.
          I've already checked out the permission to my group at all folders in Workspace and set it to "Full Control", but the error still persists....
         Does anyone could help me on that ?
          My environment is at 11.1.2.0 version in  a linux box.
    Regards
    Thanks

    Are you having issues only with a particular job or all the job? Also checking shared services security client log would give you more details.
    Thx
    Vivek

  • Issues while executing Jobs - Rapid Mart Accounts Payable

    Hello,
    We are implementing A/c Payable  rapid marts at customer location.
    We installed dataservices and above it installed RM AP XI3.0.
    We successfully configured  source and target DS.
    When we validated the Jobs ,
    we faced the following error :
    [Query:SetLoadDateTime]
    Invalid mapping expression for column <SetLoadDateTime.EXCHANGE_TYPE_ID>. Additional information: <Cannot parse expression.
    Column <EXCHANGE_TYPE_ID> was not found in table <Effective_Date_1>. Please check the spelling of the referenced column and ensure such a column exists in the table.. (BODI-1112351)>. (BODI-1111081)
    [Query:SetLoadDateTime]
    Invalid mapping expression for column <SetLoadDateTime.FROM_CURRENCY_ID>. Additional information: <Cannot parse expression.
    Column <FROM_CURRENCY_ID> was not found in table <Effective_Date_1>. Please check the spelling of the referenced column and ensure such a column exists in the table.. (BODI-1112351)>. (BODI-1111081)
    [Query:SetLoadDateTime]
    Invalid mapping expression for column <SetLoadDateTime.TO_CURRENCY_ID>. Additional information: <Cannot parse expression.
    Column <TO_CURRENCY_ID> was not found in table <Effective_Date_1>. Please check the spelling of the referenced column and ensure such a column exists in the table.. (BODI-1112351)>. (BODI-1111081)
    and some more errors with same query SetLoadDateTime.
    We uploaded the file "fiscal_dates.dat"  in the SAP server "
    JUB02SAPJRD\BO_SHARE" ( which is used in DS setting )
    as mentioned in the Installation log.
    Would really appreciate any pointers wrt this issue.
    Thanks and regards,
    Vinay

    1. Can you check whether the System User ID with which Data Services try to fetch the auxillay files placed folder?
    2. How did you test the configurations? Have test run any job to test all the connectitivities required?

  • Issue with Archiving & Deletion of messages in PI ,SXMB_MONI messages

    Hello experts
    I am  working on Archiving & Deletion of messages in PI ,SXMB_MONI, i have fallowed all the steps which are avialable in /people/deepak.shah/blog/2010/04/22/archiving-deletion-of-messages-in-pi--part-2, but the messages still there in SXMB_MONI.
    please help me to resolve this issue.
    regards
    chandra

    Hi Krish
    i have fallowed steps like....
    in SXMB_ADM
    >>>step 1: Define the interface for archivng and retnetion period
    >>>step2):Schedule Archive Jobs,
    after this i have checked the in SM37 the jobs got sheduled and released after that it showing finished.
    >>>step3):ARV_BC_XMB_WRP<date> (archiving, step 1)
    ARV_BC_XMB_DEL<date> (archiving, step 2)
    here i am getting message like "0 XML messages got archived".
    "0 XML message for deleated".
    I have doubt in SXMBPMAST  table here when i check the status of interface , ITFACTION field is containing the value INIT and if I understood correctly it job deletes only those messages where ITFACTION is set to DEL.
    We are actually trying to delete the messages avoiding archiving but what I am seeing is we cannot delete error messages and for them we must have to go through archiving. Please correct me if I am wrong.
    Thanks
    Chandra

  • Where is the account to execute ssis in file system when run a job

    Hi
    I have a ssis package in file system, and create a job, in general... the section package:... select "File System".
    but it thrown: access denegate: the user should be administrator..
    what is the account or where is it, that use to run the job in agent, this is owner of the job?
    this is my configuration..
    http://blog.sqlauthority.com/2011/05/23/sql-server-running-ssis-package-in-scheduled-job/

    By default it would be the service account which SQLAgent uses
    You can see this from services properties
    for that go to start-> run
    type services .msc
    In local services window right click SQL Agent Service and check the properties and in LogOn tab you will see the account configured for it
    Most cases it would be network service account and in some cases local system account (if not in a domain)
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Long runnning IDOC Archiving jobs

    Hi Techies,
    Long runnning IDOC Archiving jobs: ARV_IDOC_WRI* are being observed in PRD system with Avg runtime > 150,000 sec.
    Job Details:
    Main Program: RSEXARCA
    Parameter: IDOC ALL MONTH
    These jobs are also resource consuming & extensively using CPU & Memory.
    For info: These jobs are getting finished but only after long runtime.
    Some SQL stmts observed while this job-execution:
    SELECT
      "OBJKEY" , "OBJTYPE" , "LOGSYS" , "ROLETYPE" , "ROLEID" , "UTCTIME"
    FROM
      "SRRELROLES"
    WHERE
      "CLIENT" = :A0 AND "OBJKEY" = :A1 AND "OBJTYPE" = :A2#
    SELECT
      "MANDT" , "DOCNUM" , "COUNTER" , "PAGENO" , "TIMESTMP" , "PAGELG" , "VARDATA"
    FROM
      "EDI40"
    WHERE
      "MANDT" = :A0 AND "DOCNUM" = :A1
    ORDER BY
      "MANDT" , "DOCNUM" , "COUNTER" , "PAGENO"#
    SELECT
      "DOCNUM" , "DOCREL" , "STATUS"
    FROM
      "EDIDC"
    WHERE
      "MANDT" = :A0 AND "UPDDAT" >= :A1 AND "UPDDAT" BETWEEN :A2 AND :A3 AND "DIRECT" BETWEEN :A4 AND :A5 AND
      "STATUS" = :A6 AND NOT "MESTYP" IN ( :A7 , :A8 , :A9 , :A10 , :A11 , :A12 , :A13 , :A14 , :A15 , :A16 ,
      :A17 , :A18 , :A19 , :A20 , :A21 , :A22 , :A23 , :A24 , :A25 , :A26 , :A27 , :A28 , :A29 , :A30 , :A31 )
    Please suggest as to how the job runtime can be reduced.
    Awaiting for your reply.

    Hi,
    Since the variant used is fetching data for the entire month, you could try splitting the jobs and have multiple runs instead.
    You can also try to schedule the jobs when there is minimum system load, incase its not already done.
    As far as the program is concerned, if this is standard program, there is little scope for tuning.
    You can always check for related index quality and statements with high CPU costs to better understand why the job is running for such a long duration.

  • Automate Archiving Jobs

    Hi
    We wanted to run the Archive jobs every year by Company Code and Object wise.
    We have around 7 sales companies  and 10 objects so we have to run 70 jobs Every year. So we wanted to automate this process so that we dodnt need to eneter the texts etc and schedule the jobs every year.
    But these are the problems which we are facing:
    1.If we wanted to Archive SD_VBAK object for the ABC Sales org , then we need to enter some text( some thing like "ABC Slaes org 1999 Year Sales docs")  in the varaint(this can done using table TVARVC(By using Dynamic variants).
    2. But after the jobs, we need to change the Spool paramaters,where in we will select the output device,Storage Mode as " Archive " only,     and Text same as which I used earlier in step .1.
    But how can we make this Text field to get the value from TVARVC or somewhere ? Sicne its Popo-up box.(This spool text will be the Archove File name ,which will be displayed when we are reading the Archives.)
    Can somebody help to advice what are ways to Automate the Archive jobs( so that users doenst need to run these 70 jobs manually every year by entering Text and spool text etc..?
    We are running on SAP 4.7 version.
    Thankyou

    SARA is the tcode for archive objects

Maybe you are looking for