RMAN-04006: auxiliary database error: ORA-01031: insufficient privilege

To clone physical db Eve, during the implementation of custody of data I am getting following error. How can I solve this problem.
Recovery Manager: Release 11.2.0.1.0 - Production on Mon May 2 15:01:50 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

RMAN> connect target sys

target database Password: 
connected to target database: TMDB (DBID=1592716922)

RMAN> connect auxiliary sys@tbdb

auxiliary database Password: 
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges

Small link will help

http://forums.Oracle.com/forums/thread.jspa?threadID=920605

Tags: Database

Similar Questions

  • RMAN-04005: target database error: ORA-01031: insufficient privileges

    Try to duplicate db
    I checked the orapwd file looks ok.

    Oracle: tulpcorpadb03$ rman TARGET sys/***@wcmp AUXILIARY.

    Release of Recovery Manager: 9.2.0.8.0 - 64 bit Production

    Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04005: target database error:
    ORA-01031: insufficient privileges

    I findout, this is prod db and not allowed to bounce to change, any other solution do rman duplicate work without changing it?

    SQL > show parameter password

    VALUE OF TYPE NAME
    -----------
    Remote_login_passwordfile string NONE

    SQL > connect virtue sysdba;
    Connected.
    SQL > select * from v$ pwfile_users;

    no selected line

    The auxiliary node must always have access to the backupset.

  • RMAN-04006: auxiliary database error: ORA-12504: TNS:listener has not been

    HIII...

    I was doing my dataguard configuration, my primary side is a 2 node RAC and my stand by is a single node.
    IM using the database and 11 GR 2 grid infrastructure.

    When I try to connect to the rating system standy priamry using RMAN im getting the following error.

    [*[*Oracle@Rac2 ~] rman target $ / auxiliary sys / sys@to_std *.

    Recovery Manager: release 11.2.0.1.0 - Production on Thu Sep 29 20:39:04 2011

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: RAC (DBID = 2346715690)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04006: auxiliary database error: ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA


    My tnsnames.ora file is as follows

    to_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    (CONNECT_DATA =
    (SERVICE_NAME = STB.msftpnq.com)
    )
    )


    and my listsner.ora file is as follows

    list_std =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp (PORT = 9999))(HOST=datagrd))
    )
    )
    SID_LIST_list_std =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = STB.msftpnq.com)
    (SID_NAME = STB)
    (ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
    )
    )


    Please can someone help me to solve the issue.


    Thanks in advance.

    change the string Service_name in the tnsnames.ora file in the following and try again

    (SERVICE_NAME = STB) will be replaced by (SERVICE_NAME = STB.msftpnq.com)

  • RMAN-04006: auxiliary database error.

    Hi all

    Get this error when you try to do an RMAN Duplicate command.
    Well, first of all, just try to connect to THE DB fails with this error:

    ORA-12528: TNS:listener: all appropriate instances are blocking new connections


    (1) target to the db is in State of EDITING.
    (2) the DB versions are 11.2.0.2
    (3) file listener is supported by the GRID.

    I looked at a few notes of ML, specially
    Connection to the use of the auxiliary string failed with ORA-12528 [419440.1 ID]
    also this:

    ORA-12528: TNS:listener: all appropriate instances are blocking new connections [301099.1 ID]

    doesn't help at all...

    any ideas?

    RMAN-03002: failure of Db in dual at 13/06/2011 13:25:01
    RMAN-06174: not connected to the auxiliary database
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-04006: auxiliary database error: ORA-12514: TNS:listener is not currently of service requested in connect descriptor

    Well... DATABASE TARGET (script running);

    I always offer to run DUPLICATE ONLY auxiliary instance. No source/target server.

    Instance Oracle to close
    output channel: prmy1

    Because if you connect an auxiliary instance of another remotly server, for the most part, it fails each time as oracle bounces to THE databases (because of internal scripts).
    So I highly recommend to run the script from the auxiliary server no target.

    as

    $ rman target sys/***@prod auxiliary.

    RMAN > duplicate target database to "to the";

    Thank you.

  • Download "error: ORA-01031: insufficient privileges" when try to add relief of database

    Hi all

    I get insufficient privileges error when I added a standby database to dg configuration. I read some blog and he said that dgmgrl does not support os authentication, which means that I need to connect with sys and password. But I found that if I keep standby and primary SIDs are the same, the error will not occur even if I don't provide a password. Anyone know the reason? And no workaround?

    The process as follows:

    main SID: orcl ensures sid: prxx

    connect to "dgmgrl / '.

    Run ' add the database ' prxx_stby "as an identifier of connection is"prxx_stby"

    Download:

    Error: ORA-01031: insufficient privileges

    Failed.

    But if sid main: orcl ensures sid: orcl

    connect to "dgmgrl / '.

    Run ' add the database ' orcl_stby "as an identifier of connection is"orcl_stby"

    Download:

    Database "orcl_stby" added

    Liz

    I think still you can connect as "dgmgrl /", but its recommended to use "dgmgrl sys / * '.

    As rchem has said, there can be question of password. It doesn't matter whether the SID is the same or not primary and standby so different locations. So the best practice is to connect to the database from the primary server before using Oracle net service and test whether you connect or not.

    Ex: Prim_host > sqlplus sys/***@stby as sysdba

    There are a lot of possible issues

    -Missing or invalid password file

    -Service name is not registered with earphone

    -service incorrect, mentioned in the tns names

    and so many things, overlaps with these things.

  • Error ORA-01031 insufficient privilege when selecting a view

    OK, I think it's maybe a stupid question, but I can't understand it:

    The user John won the right to SELECT (directly, not by a database role) to the FRED.table1 schema.
    John user can issue select * from FRED.table1; and it works very well.

    User John then got the right to SELECT (directly, without going through a database role) to the schema
    MARK.view1;

    MARK.view1 selects only FRED.table1. No other table is in the View1.
    Schema MARK questionable views successfully. SELECT * FROM View1 returns results.
    I also checked the MARK scheme to ensure that she got the select on FRED.table1 directly that he has.

    Now, when you're logged in schema John, I try SELECT * to SCORE. VIEW1; and I get error ORA-01031 insufficient privileges.

    I don't know how to solve this. If John is granted SELECT a TABLE, it works of course but I don't want John to have this powerful private.

    As a reminder, SELECT these two brands a John. View1 and the table View1 selects from (FRED. (TABLE 1).
    John can select FRED. Table1: no problem but does not receive a privilege error even if John has SELECT on the BRAND. VIEW1.

    Any thoughts?

    Oh, Oracle 10.2.0.4 EA

    JSebastian wrote:
    OK, I think it's maybe a stupid question, but I can't understand it:

    The user John won the right to SELECT (directly, not by a database role) to the FRED.table1 schema.
    John user can issue select * from FRED.table1; and it works very well.

    User John then got the right to SELECT (directly, without going through a database role) to the schema
    MARK.view1;

    MARK.view1 selects only FRED.table1. No other table is in the View1.
    Schema MARK questionable views successfully. SELECT * FROM View1 returns results.
    I also checked the MARK scheme to ensure that she got the select on FRED.table1 directly that he has.

    Now, when you're logged in schema John, I try SELECT * to SCORE. VIEW1; and I get error ORA-01031 insufficient privileges.

    I don't know how to solve this. If John is granted SELECT a TABLE, it works of course but I don't want John to have this powerful private.

    As a reminder, SELECT these two brands a John. View1 and the table View1 selects from (FRED. (TABLE 1).
    John can select FRED. Table1: no problem but does not receive a privilege error even if John has SELECT on the BRAND. VIEW1.

    Any thoughts?

    Oh, Oracle 10.2.0.4 EA

    Are you sure that John was granted select on Mark.view1? In order for that to work, Mark would have had to select on the WITH GRANT OPTION Fred.table1... otherwise the grant to fail and then John would not be able to select the view because the grant was never issued successfully.

    Here is a basic test case (which I think is consistent with what you said) to make it work.

    drop user u1 cascade;
    drop user u2 cascade;
    drop user u3 cascade;
    
    create user u1 identified by u1;
    grant connect, resource to u1; 
    
    create user u2 identified by u2;
    grant connect, resource, create view to u2;
    
    create user u3 identified by u3;
    grant connect, resource to u3;
    
    connect u1/u1@orcl
    create table test1 (col1 number);
    grant select on test1 to u2 with grant option; --> this is the important part
    grant select on test1 to u3;
    
    connect u2/u2@orcl
    create view test2 as select * from u1.test1;
    grant select on test2 to u3;
    
    connect u3/u3@orcl
    select * from u2.test2;
    
  • Error ORA-01031: insufficient privileges

    Hi all

    I am currently working on the logic of the standby database

    but I am facing a primary database problem

    "Select * from V$ ARCHIVE_DEST.

    LOG_ARCHIVE_DEST_1 valid
    LOG_ARCHIVE_DEST_2 ERROR ORA-01031: insufficient privileges

    to the current database, do not sync

    Help, please

    Vaibhav

    Vaibhav;

    Is the password file is missing from the backup site? Or is the different password between the primary/secondary database?

    If so I would correct by copying the file password from the primary to the waiting and changing the name to match your configuration.

    OR

    Try this command:

    Alter database guard standby;
    

    Best regards

    mseberg

  • Error: ORA-01031: insufficient privileges, the connect via SQLPlus

    Hello
    I installed Oracle database 11.2.0.1.0 on Windows 2008.
    When I try to connect using sqlplus, it gives me the following error:

    C:\users\administrator > sqlplus "/ as sysdba".

    SQL * more: Production of release 11.2.0.1.0 Fri Sep 2 10:43:57 2011

    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    ERROR:
    ORA-01031: insufficient privileges


    Enter the user name:

    The administrator of the user part of the ora_dba group.
    Please help me how I can solve this problem.

    Thank you

    You are right. I didn't know that it was Windows. My bad! Thanks for pointing it out.

    It should be NTS (for the native security)

  • SQL error: ORA-01031: insufficient privileges

    I am trying to create a view. I logged as a DBA. Please suggest.

    create or replace view tspace_vw as

    SELECT tablespace_name,

    Total_Size 'Total_Size (MB).

    Free_space "Free_Space (MB).

    (Total_size - free_space) "USED_SPACE (MB).

    round (((Total_size-Free_Space)/Total_size) * 100, 2) | ' %' "% USED.

    DE)

    SELECT a.tablespace_name,

    Round(sum(a.bytes)/1024/1024,2) Total_Size,.

    Round(sum(b.free_bytes)/1024/1024,2) free_space

    FROM dba_data_files a, (SELECT file_id, SUM (bytes) free_bytes

    FROM dba_free_space

    GROUP BY file_id

    ) b

    WHERE a.file_id = b.file_id

    and nom_tablespace not in ('SYSTEM', 'SYSAUX', 'UNDOTBS1', 'TEMP')

    GROUP BY a.tablespace_name

    )

    ORDER BY nom_tablespace;

    ================================================

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    978487 wrote:

    I am trying to create a view. I logged as a DBA. Please suggest.

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    You must grant the right to SELECT user views the two system.

    >

    Grant select on dba_data_files Scott;

    Grant select on dba_free_space Scott;

    >

    I'm assuming that "connected is a DBA" means that you granted the DBA role to the user. But you need to grant privileges directly so that they are able to create a view.

    See CREATE VIEW in the doc of the SQL language

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_8004.htm

    >

    The owner of the schema containing the view must have the necessary privileges to either select, insert, update, or delete rows from all tables or views on which the opinion is based. The owner must grant these privileges directly, rather than through a role.

    >

  • Creating master repository error: ORA-01031: insufficient privileges

    Hello

    I try to install ODI in my VM.

    I did the installation and creating master repository, I am getting following error:

    ORA-01031: insufficient privileges

    I'm using Oracle & created as ODI_MASTER user with administrator privileges.
    I will use it to load the metadata on planning (Version 11.1.2)

    Am I missing out on.

    Jitendra.

    Seems missing grants on the user that you use to create the master repository.

    you use Oracle... Grant connect, resource to . These two rolesa have sufficient access to db to create the master repository.

    execuute the sql code of the sys user

    Kind regards
    Amit

    Published by: amitgupta1202 on August 20, 2009 22:42

  • Creating the javax/activation/ActivationDataFlavor class error ORA - 01031: insufficient privileges

    Hi all

    I created mail.jar is correctly loaded in the database, but while loading activation.jar I get the following error.

    Version of Oracle 11.2.0.4.0 database.

    loadjava.bat u sys / * o - r - v f - noverify-synonym g public D:\EXCEL_ORACLE_DIR\activation.jar

    arguments: '-u' ' sys / *' 'o' '-r' '-v' '-f' '-noverify' '-synonym ' "-g' 'Public' 'D:\EXCEL_ORACLE_DIR\activation.jar'"

    creation: resource META-INF/MANIFEST. MF

    loading: resource META-INF/MANIFEST. MF

    creation: resource META-INF/mailcap.default

    loading: resource META-INF/mailcap.default

    creation: resource META-INF/mimetypes.default

    loading: resource META-INF/mimetypes.default

    creation: javax/activation/ActivationDataFlavor class

    loading: javax/activation/ActivationDataFlavor class

    Error when creating class javax/activation/ActivationDataFlavor

    ORA-01031: insufficient privileges

    ORA-06512: at line 1

    creation: class javax/activation/CommandInfo

    load: class javax/activation/CommandInfo

    Error when creating class javax/activation/CommandInfo

    ORA-01031: insufficient privileges

    ORA-06512: at line 1

    Something that I missed.

    Thank you all for your response.

    I connect sys as sysdba.

    I checked the sys schema which classes activation.jar is already there that is why it is showing error.

  • Data Guard of database status is error ORA-01031: insufficient privileges.

    Hi DBAs,

    I spotted this error while doing daily morning DB health check-ups.

    "The status of Data Guard of ZEUSDB is error ORA-01031: not sufficient privileges."

    I tried Googling, but this error is related to a lot of things so impossible to find the exact solution.

    Kind regards

    Ritu

    No, we don't know the sleep state.  You can watch the alert.log from the night before to see if it is actively applying redo/archivelogs.  You can query V$ DATAGUARD_STATUS on the day before.

    If you have installed and configured broker DataGuard, it can monitor the day before.

    If you use a script, make sure that it is configured to connect properly the SYSDBA privilege and password (or a local connection on the standby server - that would be my preference).

    Hemant K Collette

  • An error has occurred - 1031 - ERROR - ORA-01031: insufficient privileges

    Hello.

    I run the procedure, as shown in.
    CREATE OR REPLACE PROCEDURE CreateTempData AS
    cursor_name INTEGER;
    rows_processed INTEGER;
    cursor c1 is select * from the WAREHOUSES;
    VC1 c1% ROWTYPE;
    VSCr varchar2 (500): =' CREATE GLOBAL TEMPORARY TABLE BAR_MANAGER. TEMP_WH (IDEIDOUS varchar2 (200) ';)

    BEGIN
    Open c1;
    loop
    Fetch c1 in vc1.
    When exit c1% NOTFOUND;
    VSCr: = vscr |', ID' | VC1.ID | | ' NUMBER ';
    end loop;
    VSCr: = vscr |') ' ;

    cursor_name: = dbms_sql.open_cursor;
    DBMS_SQL. PARSE (all other cases, vscr, dbms_sql.native);
    rows_processed: = dbms_sql.execute (cursor_name);
    Dbms_sql.close_cursor (cursor_name);
    EXCEPTION
    WHILE OTHERS THEN
    DBMS_SQL. CLOSE_CURSOR (cursor_name);
    dbms_output.put_line (' an error has occurred - ' |) SQLCODE |' - ERROR - ' | SQLERRM);
    END;

    The result is:
    CREATE A BAR_MANAGER GLOBAL TEMPORARY TABLE. TEMP_WH (IDEIDOUS varchar2 (200), ID1, ID25 NUMBER, delayed26 NUMBER)

    When I run it from sql it works ok.
    But in proc generates the error...

    I connect, resources, dba roles

    any suggestions?
    with regard to the Aris

    When I run it from sql it works ok.
    But in proc generates the error...

    privileges gained through ROLE NOT applt are named PL/SQL procedures.

  • ORA-01031: insufficient privileges error?

    Hello

    I changed the password for user SYS and SYSTEM. I can connect before changing
    sqlplus "/ as sysdba" automatically.
    but now I can not connect and it gives me ORA-01031: insufficient privileges error.
    But if I type SYS user name and his password I can connect.

    for example:
    -------------------
    oradw@trdw1test:/ORCL/bin > sqlplus "/ as sysdba".

    SQL * more: version 9.2.0.8.0 - Production Thursday, May 26, 16:21:17 2011

    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

    ERROR:
    ORA-01031: insufficient privileges


    Enter the user name: sys as sysdba
    Enter the password:

    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64 bit Production
    With partitioning, OLAP and Oracle Data Mining options
    Release 9.2.0.8.0 - Production jserver

    SQL >
    -------------------------------

    I created the new password file, but still I can not connect. I checked the user of the OS, but we never touch any configuration.


    Could you please help me how can I solve this problem?

    DB version: 9.2.0.8

    greetings and thanks

    Check your sqlnet.ora file in ...db_1\NETWORK\ADMIN (default)

    If in file

    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # _authentication, they will not be able to connect to the database on NT._
    SQLNET.AUTHENTICATION_SERVICES = (NT)
    

    to take

    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    
  • ORA-01031: insufficient privileges, what is the solution?

    [oracle@ora-lab2 ~] $ sqlplus/nolog
    SQL * more: version 11.1.0.6.0 - Production on Fri Sep 18 14:01:43 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    SQL > connect virtue sysdba;
    ERROR:
    ORA-01031: insufficient privileges

    SQL > connect sys/test as sysdba;
    Connected.
    SQL > show the distance parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    remote_dependencies_mode string TIMESTAMP
    remote_listener chain
    Remote_login_passwordfile string EXCLUSIVE
    REMOTE_OS_AUTHENT Boolean TRUE
    remote_os_roles boolean FALSE
    result_cache_remote_expiration integer 0

    [oracle@ora-lab2 ~] $ rman
    Recovery Manager: release 11.1.0.6.0 - Production on Fri Sep 18 14:02:24 2009
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    RMAN > Connect target;
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    RMAN > Connect target sys/test@prim01;
    connected to target database: PRIM01 (DBID = 2934738896)
    RMAN > exit
    Complete recovery manager.

    [oracle@ora-lab2 admin] $ cat sqlnet.ora
    NAMES. DIRECTORY_PATH = (TNSNAMES)
    SQLNET. AUTHENTICATION_SERVICE = (NONE)
    #NAMES. DOMAINE_PAR_DEFAUT = EVERYONE
    TRACE_LEVEL_CLIENT = OFF
    SQLNET. EXPIRE_TIME = 30

    Pavan Kumar says:
    Refer to http://www.psoug.org/reference/net_services.html

    Pavan - Please note this is a library of Dan Morgan's more hosted psoug. Your reference is a copy of archive that is still available but is no longer maintained.

    Please change your links to replace www.psoug.org by www.morganslibrary.com to get the latest wonderful resource of Dan thye. The correct link would be http://www.morganslibrary.com/reference/net_services.html

Maybe you are looking for