Connecting to RMAN

While trying to connect with RMAN getting the following error :
Recovery Manager incompatible with TARGET database: RMAN 8.0.4 to 9.0.0 required
My DataBase is:
Oracle9i Enterprise Edition Release 9.0.1.0.0 - Production
How to upgrade RMAN ?
Thx

You must upgrade the whole software, of which RMAN utility is a part, you cannot upgrade RMAN alone. If your current RMAN executable is too new for your target database, you have to install an older version or to upgrade your database.

Similar Messages

  • ORA -1031 Error while connecting to RMAN, RMAN connection

    Hi Guru's
    I am getting the above mentioned error when trying to connect to RMAN.
    I recreate the password file as well. and check the user is a part of dba group
    As i am going to connect with user sys so the user have all the required privileges.
    Can anyone help over the same

    Hi Satish,
    Thanks for your response,
    On one Server i am able to connect to dab with RMAN but when i issue the comman as mentioned below:
    conn auxiliary username/password@db_name
    i am getting the same error
    On the Auxiliary machine when i use the above mentioned command i am getting insufficient privilege error

  • Error connecting to RMAN

    Ive been tumbling with this poblem for a while, and have finally reached the point where i decided to try you folks out :)
    Im setting up backup on a 10.1 RAC installation on AIX 5.3, using netbackup through libobk.a64 connection to oracle.
    I should mention that like one time in twenty (or so) i manage to get a good connection and make a backup without failure, but mostly when i try to connect to RMAN I get the following error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00601: fatal error in recovery manager
    RMAN-03010: fatal error during library cache pre-loading
    RMAN-10038: database session for channel default terminated unexpectedly
    RMAN-10038 has led me to believe that this problem probably have some connection to the use of libobk.a64, so i ran the sbttest utility, which resulted in the following message:
    root@aaslabdbsyd # $SBTTEST test.f -trace test.log The sbt function pointers are loaded from libobk.a(shr.o) library.
    -- sbtinit succeeded
    -- sbtinit (2nd time) succeeded
    sbtinit: Media manager supports SBT API version 2.0
    sbtinit: Media manager is version 5.0.0.0
    sbtinit: vendor description string=VERITAS NetBackup for Oracle - Release 6.0 (2005090703)
    sbtinit: allocated sbt context area of 8 bytes
    sbtinit: proxy copy is supported
    -- sbtinit2 succeeded
    -- regular_backup_restore starts ................................
    -- sbtbackup succeeded
    write 100 blocks
    -- sbtwrite2 succeeded
    -- sbtclose2 succeeded
    sbtinfo2: SBTBFINFO_NAME=test.f
    sbtinfo2: SBTBFINFO_SHARE=single user
    sbtinfo2: SBTBFINFO_ORDER=sequential access
    sbtinfo2: SBTBFINFO_LABEL=G:\aasbus01-disk-incr-0\aaslabdbsyd_1157004997_C1_F1
    sbtinfo2: SBTBFINFO_CRETIME=Thu Aug 31 08:16:37 2006
    sbtinfo2: SBTBFINFO_EXPTIME=Sun Sep 10 08:16:37 2006
    sbtinfo2: SBTBFINFO_COMMENT=Backup ID : aaslabdbsyd_1157004997
    sbtinfo2: SBTBFINFO_METHOD=stream
    -- sbtinfo2 succeeded
    -- sbtrestore succeeded
    file was created by this program:
    seed=4031348083, blk_size=16384, blk_count=100 read 100 buffers
    -- sbtread2 succeeded
    -- sbtclose2 succeeded
    -- sbtremove2 succeeded
    -- regular_backup_restore ends ................................
    MMAPI error from sbtcommand: 7501, Syntax error, space found in key word : <test sbtcommand string>
    -- sbtcommand failed
    Though I cant put my finger on the connection, i have a feeling that these two errors are connected in some way.
    Anyone seen anything like this?
    Or have a suggestion what i should do to figure things out?
    Thanks

    Hi,
    here is what oerr says about it, maybe itz helps =;-) :
    [oracle@kr01-KL1 ~]$ oerr rman 3010
    3010, 1, "fatal error during library cache pre-loading"
    // *Cause:  This message should be accompanied by other error message(s)
    // indicating the cause of the error.
    // *Action: Check the accompanying errors.
    [oracle@kr01-KL1 ~]$ oerr rman 10038
    10038, 1, "database session for channel %s terminated unexpectedly"
    // *Cause:  The database connection for the specified channel no longer exists.
    // Either the session was terminated by some external means or
    // the channel terminated because of an internal error.
    // *Action: Check for an oracle trace file for detailed information on why
    // the session terminated

  • Cant connect on rman after change password sys user

    Hello,
    After of to change the sys password user not enable to connect with: rman target /
    Somebody can help me?
    Eder

    hello,
    I am using a script:
    $ORACLE_HOME/bin/rman target/ catalog rman/rman@rman
    run{
    backup database;
    the output:
    RMAN> 2> 3> 4>
    configuration for DISK channel 2 is ignored
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of crosscheck command at 10/14/2008 07:14:21
    RMAN-12001: could not open channel ORA_DISK_1
    RMAN-10008: could not create channel context
    RMAN-10003: unable to connect to target database
    ORA-01017: invalid username/password; logon denied
    RMAN>
    the content of my sqlnet.ora:
    LOG_FILE_SERVER=server.ora
    LOG_FILE_CLIENT=client.ora
    TRACE_DIRECTORY_CLIENT=$ORACLE_HOME/network/trace
    TRACE_DIRECTORY_SERVER=$ORACLE_HOME/network/trace
    TRACE_UNIQUE_CLIENT=ON
    TRACE_LEVEL_CLIENT=26
    Eder
    Edited by: ederpitt on Oct 14, 2008 9:40 AM

  • While connecting to RMAN getting error

    Hi,
    I’m using oracle 10 g in windows XP server.
    While connecting RMAN I’m getting following error
    RMAN> connect target /
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04002: ocipi failed, ORA--1
    Kindly help to sole to this issue
    Thanks
    Bala

    780670.1 is the document to search for and MetaLink is Oracle support.
    It's a common error:
    RMAN-04002: ocipi failed, ORA--1 at the time of schedule backup script.
    RMAN-04002: OCIPI failed, ORA--1

  • Connect to RMAN catalog

    Hi,
    on 10g R2 on AIX. I want to backup via RMAn in a shell script :
    rman catalog rman/password@rmanrepo  target /How can I avoid password in :
    rman/password@rmanrepo
    Thank you.

    Put the connect information in a command file and make sure only a privileged user (normally the 'oracle' user) has read/write access to that file.
         Command file:
    set echo off;
         @ connect catalog rman/password@<connect_string> target /;
    set echo on;
    <RMAN commands>
    $ rman cmdfile <command_file>
    Werner

  • Error while connecting to RMAN

    Hi Gurus,
    DB_VERSION=11.1.0.6
    OS_VERSION=Win 2003 Server
    when i try to connect RMAN , i am facing following error :
    E:\Oracle11g\11g\BIN>set oracle_sid=DB1
    E:\Oracle11g\11g\BIN>rman target sys
    Recovery Manager: Release 11.1.0.6.0 - Production on Tue Nov 9 12:44:41 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    target database Password:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06553: PLS-801: internal error [56319]
    ORA-06553: PLS-801: internal error [56319]
    RMAN-04015: error setting target database character set to WE8MSWIN1252

    Hi Anand,
    Following is the output of debug trace :
    Recovery Manager: Release 11.1.0.6.0 - Production on Tue Nov 9 18:13:42 2010
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 2 - type 586, 1 Physical Cores
    Process Affinity : 0x00000000
    Memory (Avail/Total): Ph:906M/2045M, Ph+PgF:2300M/3944M, VA:1972M/2047M
    Starting with debugging set to level=9, types=ALL
    DBGMISC: ENTERED krmksimronly [18:13:43.875]
    DBGSQL: CHANNEL> alter session set events '19737 trace name context forever' [18:13:43.922]
    DBGSQL: sqlcode = 0 [18:13:43.953]
    DBGSQL: CHANNEL> select decode(archiver, 'FAILED', 1, 0) into :archstuck from v$instance [18:13:44.032]
    DBGSQL: sqlcode = 0 [18:13:44.063]
    DBGSQL: D :archstuck = 0
    DBGSQL: CHANNEL> alter session set events '19737 trace name context off' [18:13:44.157]
    DBGSQL: sqlcode = 0 [18:13:44.188]
    DBGMISC: EXITED krmksimronly [18:13:44.235] elapsed time [00:00:00:00.360]
    DBGRPC: krmxt - terminating krmx layer
    DBGRPC: krmxt - krmxx context freed
    Calling krmmpem from krmmmai
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-06553: PLS-801: internal error [56319]
    ORA-06553: PLS-801: internal error [56319]
    RMAN-04015: error setting target database character set to WE8MSWIN1252
    Still clueless..

  • Can't  connect to RMAN

    Hello,
    I am having a difficult time to figure out how to do a simple backup of an Oracle 9i database in noarchivelog mode. I am not interested in Export/Import. It appears there are100 different ways to backup a database using so many different utilities. Why Oracle had to make it so difficult? It's a no brainer job in SQL Server 2000.
    I need to learn the simplest way to backup and restore a database. In Oracle 9i Enterprise Manager there is a Backup menu option but I get prompted with this message that I can't use the wizard unless I have OEM Repository Server.
    I tried to figure out how to use RMAN since it seemed to be easy appraoch. Unfortunately, when I try to connect to the target the database, I get a TNS error message shown below. I have no trouble connecting to the same database using the Enterprise Manager. Both the TNS and the database service are running. Any ideas why? And any suggestions as to how I could do a simple backup and restore of a database would be appreciated.
    =========================================================
    C:\Documents and Settings\Administrator>rman target ssdb1
    Recovery Manager: Release 9.2.0.1.0 - Production
    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
    target database Password:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12560: TNS:protocol adapter error
    C:\Documents and Settings\Administrator>
    =========================================================
    Thank you,
    Mitra

    Your listener.ora does not contain a static entry for the instance, so dynamic registration is used. For a non-default port this works only, if init.ora parameter LOCAL_LISTENER is defined.
    Command 'lsnrctl status' will show, there are no registered services in your configuration.
    From documentation:
    If you want PMON to register with a local listener that does not use TCP/IP
    port 1521, configure the LOCAL_LISTENER parameter in the initialization
    parameter file to locate the local listener.
    Set the LOCAL_LISTENER parameter as follows:
    LOCAL_LISTENER=<listener_alias>
    The <listener_alias> is resolved to the listening end-point through a naming
    method, such as a TNSNAMES.ORA file on the database server.
    For example, if the Listener is configured to listen on port 1421 rather than
    1521, define the LOCAL_LISTENER parameter in the initialization parameter file
    as follows:
    LOCAL_LISTENER=listener1
    Listener1 must be resolvable on the server so it would need to be defined in
    the TNSNAMES.ORA file as follows:
    listener1=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=sales-server)(PORT=1421))
    )

  • Unable to connect to rman and sqlplus

    Hi,
    my /u01 location where the orainverntory is located is 100% full ,and i am unable to connect to sqlplus and rman i deleted the old trace files but it doesn't help me.
    what is mininum space required to connect to sqlplus

    If you can post the error messge, we may be in a position to help you.
    Jaffar

  • Connecting from RMAN

    I had previously posted a request for difficulty in connecting to Catalog and Target database simultaneously. But I got over the problem though I am not clease as to how it could happen. Without setting the instance after connecting to UNIX, if username@instance/pwd is used I am able to get into both databases. If I set the SID to any of the number of instances running in the system and try connecting I am not able to connect.
    After connecting without setting SID, if I try to backup using RMAN I am getting the errorRMAN-03022: compiling command: allocate
    RMAN-06191: PL/SQL package rman.DBMS_RCVCAT version 08.01.06 in RCVCAT database is too new
    RMAN-06439: RMAN must be upgraded to version 08.01.06 to work with this package
    RMAN-03026: error recovery releasing channel resources
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: allocate
    RMAN-06429: RCVCAT database is not compatible with this version of RMAN
    Both versions of RMAN are in the system and since the SID is not set, I presume that it is taking the default one and I am unable to resolve this issue.
    null

    Based on the error, I am assuming that you have a newly create repository with database version 8.1.6 and you are trying to backup a target database with a version lower than 8.1.6.
    Try this:
    connect to the rman schema in the repository database --> sqlplus rman/rman
    There should be a table called CONFIG.
    If the table CONFIG exist, then check to see if there are any rows with the name
    = to 'compatible'.
    if not then,
    INSERT INTO config VALUES('compatible', '080004');
    otherwise,
    update config set value='080004' where name='compatible';
    ****NOTE: There should ONLY be 1 row with the name = 'compatible' in the table CONFIG.
    null

  • Remote connect to rman

    Hi all, please help.
    I'ts a 10g XE
    I need to connect remotely to rman. My command I think is fine but I get the in insufficient privileges error:
    C:\>rman target username/passwd@dbname nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Jul 31 10:42:52 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    If I want to connect to sql no problem:
    C:\>sqlplus username/passwd!@dbname
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Jul 31 10:28:23 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>
    Is the some privs I need to change. I cabt remote desktop to the database, I have to do it through my dos command.???

    Dba user., i created the user with this script
    prompt create user task_dba identified by passwd
    prompt /
    prompt
    prompt alter user task
    prompt default tablespace &&Default_Tablespace
    prompt temporary tablespace &&Temporary_Tablespace
    prompt /
    prompt
    prompt alter user task
    prompt quota unlimited on &&Default_Tablespace
    prompt /
    prompt
    prompt alter user task
    prompt quota unlimited on &&Temporary_Tablespace
    prompt /
    prompt
    prompt grant dba               to task
    prompt grant CONNECT               to task;;
    prompt grant EXP_FULL_DATABASE           to task
    prompt grant ANALYZE ANY           to task_dba;;
    prompt grant EXECUTE ANY PROCEDURE      to task
    prompt grant SELECT ANY TABLE           to task
    prompt grant ALTER SYSTEM           to task_dba;;
    prompt grant ALTER TABLESPACE           to task
    prompt grant ALTER DATABASE           to task_dba;;
    prompt grant RESTRICTED SESSION          to task
    prompt grant PUBLIC               to task_dba;;
    prompt grant select on sys.dba_tablespaces to task
    prompt grant select on sys.dba_free_space to task
    prompt grant select on sys.dba_data_files to task

  • Costomize user to connect with rman except SYS

    Hi Experts,
    i need your help. actually we are taking backup by RMAN by scripts and in scripts we are using connect string as below
    rman target sys/oracle@testdb
    in this connect string we want to change this user mean we want we use a costmise user wich can connect .. so can any one tell me what grant we will give to user ? please guide
    regardds,

    From the docs:
    When connecting to a target or auxiliary database, you must have the SYSDBA privilege.
    You can connect as SYSDBA with a password file or with operating system authentication.

  • Connect trough rman

    dear friends
    i cannot connect to my db through rman.
    When i put rman at prompt, it didn't shows anything
    [oracle@oraclebd ~]$ rman
    it should be shows the prompt RMAN>.
    My ORACLE_SID variable is set correctly, and when i put:
    rman target /nocatalog
    it shows me:
    rman: can't open target
    Please, why don0t shows the prompt ???
    thanks in advance !!!
    chijar

    but if i put :
    cd $ORACLE_HOME/bin
    i must to execute without any problem RMAN. But it perform the same behavior.So is that to say you ARE on Linux?
    Can you provide the output of:
    echo $PATHand post the EXACT command that you are issuing on the command line to execute RMAN?

  • RMAN: -TNS:listener: all appropriate instances are blocking new connections

    Hi all,
    we are trying the some rman recoveries on test machine when we are trying to restore the conrolfile thru rman
    what they have mentioned in docs id shutdown abort of the target database and then startup no mount thru rman then restore controlfile and open the database.
    Now what i want to know is after shutdown i can t able to connect thru rman target since it is showing
    TNS:listener: all appropriate instances are blocking new connections
    how can i connect when thru rman in this stage when the database is down when i m trying to startup command thru RMAN prompt also it throw me the same error. for this i cant move further can pls anybody help this..
    Thanks
    M.Murali..

    D:\>lsnrctl services
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 20-MAY-2009 16:17:58
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    Services Summary...
    Service "BKPRMANXDB" has 1 instance(s).
    Instance "bkprman", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: INP1MFDDB, pid: 936>
    (ADDRESS=(PROTOCOL=tcp)(HOST=INP1MFDDB)(PORT=1826))
    Service "BKPRMAN_XPT" has 1 instance(s).
    Instance "bkprman", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:90 refused:0 state:ready
    LOCAL SERVER
    Service "MFUNDXDB" has 1 instance(s).
    Instance "mfund", status READY, has 1 handler(s) for this service...
    Handler(s):
    "D000" established:0 refused:0 current:0 max:1002 state:ready
    DISPATCHER <machine: INP1MFDDB, pid: 1876>
    (ADDRESS=(PROTOCOL=tcp)(HOST=INP1MFDDB)(PORT=1054))
    Service "MFUND_XPT" has 1 instance(s).
    Instance "mfund", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:25 refused:0 state:ready
    LOCAL SERVER
    Service "bkprman" has 1 instance(s).
    Instance "bkprman", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:90 refused:0 state:ready
    LOCAL SERVER
    Service "mfund" has 1 instance(s).
    Instance "mfund", status READY, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:25 refused:0 state:ready
    LOCAL SERVER
    The command completed successfully
    Edited by: Balamurali on May 20, 2009 4:33 PM

  • Rman hangs at exit if locally connected

    hiho,
    i've a nasty problem. if i connect rman locally 'rman nocatalog target /' it will
    hang at exit.
    i tried to connect at rman-prompt with the same result.
    im using 8.1.6.1.0 on linux.
    # su - oracle
    [oracle]$ rman nocatalog
    Recovery Manager: Release 8.1.6.1.0 - Production
    RMAN> connect target;
    RMAN-06005: connected to target database: ACCSRV02 (DBID=1987850870)
    RMAN-06009: using target database controlfile instead of recovery catalog
    RMAN> exit
    Recovery Manager complete.
    rman hangs
    can anyone confirm this? workaround? any
    hints?
    thanks for your time,
    ciao -ap
    null

    Hi!
    I got same results on linux RH6.2 with 8.1.6.1.0, with 8.1.7 work fine ;)
    You're right!
    A10!

Maybe you are looking for