Use IMPDP failure due to insufficient privileges for schema FLOWS_020000

I HTMLDB running on the server and it's using schema FLOWS_020000. This schema is installed in the SYSTEM tablespace, and when I connect to the DB server, it gives me more than 200 violations of the space problem. I thought to move in its own tablespace so I can get rid of these messages.

In my test environment I've done EXPDP of the full scheme of FLOWS_020000, but once I have start the import it gives me a lot of errors like this.

ORA-31685: object REF_CONSTRAINT type: 'FLOWS_020000 '. "' WWV_FLOW_SW_BIND_FK ' failed due to insufficient privileges. Because sql is:
ALTER TABLE 'FLOWS_020000 '. "' WWV_FLOW_SW_BINDS ' ADD 'WWV_FLOW_SW_BIND_FK' OF CONSTRAINT FOREIGN KEY ('FILE_ID') REFERS TO"FLOWS_FILES ". "' WWV_FLOW_FILE_OBJECTS$ ' ('ID') ON DELETE CASCADE ENABLE


It's my impdb line

Impdp exp_imp_user/pass patterns = directory 'FLOWS_020000' EXPORT_DIR dumpfile = flows_020000_exp.dump = flows_020000_imp.log remap_tablespace = logfile = ' SYSTEM: HTMLDB. "


What permissions I'm missing? EXP_IMP_USER I use for this charge has these assigned roles: CONNECT, ADMIN, s/n, permission, IMP_FULL_DATABASE

GRANT REFERS TO "FLOWS_FILES". ' WWV_FLOW_FILE_OBJECTS$ TO FLOWS_020000;

Tags: Database

Similar Questions

  • I have administrator privileges, but when I run CHKDSK it says access denied due to insufficient privileges.

    I have administrator privileges, but when I run CHKDSK it says access denied due to insufficient privileges. You have to invoke this utility in elevated mode.

    How can I fix it?

    Hello

    1. what prompted to run chkdsk on your computer?

    To work with this problem, refer to these methods.

    Method 1:

    I suggest that you disable the antivirus software temporarily and try to run chkdsk on your computer.

    http://Windows.Microsoft.com/en-us/Windows7/disable-antivirus-software

    Warning:
    Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2:

    You can check disk errors using the command-line of the system recovery options in Windows 7.

    What are the system recovery options in Windows 7?

    http://Windows.Microsoft.com/en-us/Windows7/what-are-the-system-recovery-options-in-Windows-7

    To open the System Recovery Options, see the section: to open the menu system on your computer Recovery Options

    Important: when running chkdsk on the drive hard if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data may be lost.

    Check if it helps.

  • MAXL drop database fails - ERROR - 1051041 - insufficient privilege for this operation - with Application Manager

    Hello

    SSP database security.

    User and group are both part of the native repertoire, but also exists in the active directory configuration.

    I create a group.

    I set up the Group Application Manager for Application X

    I make A user a member of the Group

    User A runs a MAXL script; -

    Drop database X.Y;

    The drop falls down-

    For this operation, the insufficient privilege ERROR - 1051041 -.

    Essbase 11.1.2.2.

    Is this a bug?

    Is there a solution?

    Thank you

    Robert.

    Robert, read Cameron link I see this:

    "An Application Manager can remove only the applications and databases that he created."

    Leaving aside the question of whether this applies also to female users, this is probably your problem, is it not?

  • Cannot install the game The Witcher due to insufficient privileges

    HAVE YOU TRIED 2 ASSISTANTS TO ANOTHER COMPUTER.  THEY COULD NOT HELP.  WE SAID MAYBE HE WOULDN'T PLAY

    A WINDOWS 7.  ANY HELP WOULD BE APPRECIATED.

    ----------------

  • Insufficient privileges. I can't install Adobe Flash!

    I can't install Adobe Flash Player due to insufficient privileges.

    I'm the only one on my computer. I am the admin. I downloaded the Adobe Flash player.exe and right click 'run as Admin '.

    Always said that I don't have sufficient privileges. It becomes so boring. Someone please help me with this task easy.

    How to become admin with these sufficient privileges?

    Solved, kind of...  At this point, I am confident that the problem was caused in fact viruses that I found on the computer.  Once I removed the viruses I then applied a restore point (I had to go back 30 days). Now, I could install Flash 11 and then re - apply Windows updates.

    I was never determined the exact cause of the error, so I don't have any advice for someone who doesn't have to fall back on a restore point.

  • insufficient privileges when you create sequence using the procedure

    CREATE OR REPLACE PROCEDURE schema1.proc1 AS
    BEGIN
    EXECUTE IMMEDIATE 'DROP SEQUENCE schema1.add_ins_seq';
    EXECUTE IMMEDIATE 'CREATE SEQUENCE schema1.add_ins_seq MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 1000 NOORDER  NOCYCLE';
    END;
    

    This procedure is created to schema1 by schema1.

    Schema1 boasts a CREATE SEQUENCE privilege.

    When I run this procedure through SQL Developer after the Cup to schema1, the error is thrown in insufficient privilege to CREATE SEQUENCE, however, DROP SEQUENCE is executed. I can create the sequence without the procedure call.

    If I add AUTHID CURRENT_USER so I don't get the error of insufficient privileges.

    Why it gives this error when the owner and the applicant of the procedure is schema1?

    Hello

    1st thing to know: when a procedure is defined (and updated), any privileges granted through ROLE is not taken into account. This is because these privileges can be active or not at the level of the session (as happens if for example a user has active 'role A' in session 1 but not in session 2 and if this role has been used to define a procedure?) The proecedure must at the same time be VALID in session 1 and INVALID session 2? Is not possible.

    Thus, for instance in a situation of 'standard': user SYSTEM has 'DBA Rôle', so you can for example make a sqlplus session "SELECT * v $ instance;", but you would write a procedure owned by system making instance_name SELECT INTO l_variable OF v$ instance;  "then"surprise": the procedure cannot be compiled because of the ORA-904 Table or view does not exist..." To be able to create the procedure, a DSS system needs to be done.

    2nd thing for your special case, a little more complex: default for a procedure is 'AUTHID DEFINE', but once more: it means "privileges of the author creating the procedure", so without taking into account the acquired privileges through roles... Your user name is 'sequence create' through a role, it cannot use the privilege within the procedure.  But... but when you define the procedure with AUTHID CURRENT_USER, privileges are evaluated at run time, and thanks to the active ROLE in the session by calling the procedure, at this time, the user can create the sequence.  If try again you but with 'The VALUE NONE ROLE' in the session before the call, you will again have the question.

    Conclusion: If you need to do the action, you must grant the user the necessary privilege directly.

    Best regards

    Bruno Vroman.

  • ORA-01031: error of insufficient privileges when I try to use ALERT_QUE

    Hello
    I'm working on SYS. ATTENTION. THAT for system alerts. I use ODP in c# to connect to the Oracle database with username = SYSTEM, but when I try to survey or deque any message from SYS. ATTENTION. Que., its gives an error ORA-01031: insufficient privileges. I am not able to understand how to assign SYSDBA privileges to the SYSTEM and access ALERT_QUE to get alerts of system. I write my code below, please take a look and let me know what is wrong with the code. I am able to connect to the database using the SYSTEM, do I have to use username = SYS for access to the content database ALERT_QUE? Please let me know what is the solution.


    Con OracleConnection = new OracleConnection (constr.);

    Create the queue
    Queue OracleAQQueue = new OracleAQQueue ("sys.alert_que", con);

    Open connection
    con. Open();

    BEGIN txn for enqueue
    OracleTransaction txn = con. BeginTransaction();

    Set the type of message to the queue
    queue. MessageType = OracleAQMessageType.Raw;

    Prepare the message and payload BRUTE
    OracleAQMessage enqMsg = new OracleAQMessage();
    Byte [] bytePayload = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
    enqMsg.Payload = bytePayload;
    Agent [] OracleAQAgent = new OracleAQAgent [1];

    Agent [0] = new OracleAQAgent ("SUBSCRIBER1");
    enqMsg.Recipients = agent;
    enqMsg.SenderId = new OracleAQAgent ("SENDER1");

    Prepare for the queue
    queue. EnqueueOptions.Visibility = OracleAQVisibilityMode.OnCommit;

    Message from the queue
    queue. Enqueue (enqMsg);


    The code throws the exception to the line "queue. Enqueue (enqMsg); "saying: ORA-01031: insufficient privileges

    Published by: 916462 on February 27, 2012 03:31

    You are looking for a connection preferred, which means that you must connect as SYSDBA
    Check this doc on how to do it.
    http://docs.Oracle.com/CD/B19306_01/win.102/b14307/featConnecting.htm

  • Failure to logon with the user SYS: ORA-01031: insufficient privileges

    Hello

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    OS: CentOS 5.5

    I can't log in with the user SYS via PL/SQL Developer. I get the message: ORA-01031: insufficient privileges. PL/SQL Developer is installed on Windows 7 Professional. Version of the Oracle Client is 11.2.0.1.0. However, I connect successfully with SYSMAN and SYSTEM.
    For those who may wonder if I try to connect 'as sysdba' when I use the SYS user, the answer is YES, I do.
    In addition, I think that the name of the tool (PL/SQL Developer) does not matter because I think I'm going to face the same error with any other tool (but I mentioned just in case).

    Server side, I have no problem with the SYS user. I can connect via SQLPlus with connect / as sysdba or connect "virtue sysdba" without fault.

    The sec_case_sensitive_logon initialization parameter is set to FALSE
    SQL > show parameter sensi

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    SEC_CASE_SENSITIVE_LOGON boolean FALSE

    I use the local name to connect and client side, I have a tnanames.ora file. The sqlnet.ora file looks like this:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    I read in this forum (another thread) on the use of a password file. I created a password file using orapwd this way:
    orapwd file=orapwDB11G2 entries=100 ignorecase=y password=a_password
    where I replaced "a_password" with the SYS password.

    In fact, I'm not sure that the customer is influenced by the file password anyway because I said to use a local naming.

    Clues?

    Thank you very much!

    So your ORACLE_SID is planet but not DB11G2 , second password file must be located in $ORACLE_HOME/dbs location if you want to connect the planet of database/sid and therefore

    orapwd file= $ORACLE_HOME/dbs/orapwplanet password=syspass
    

    Then try again.

  • I keep getting these messages that do not allow to use a file. What should I change to have privileges for all functions?

    Original title: administrator Win7

    I have win7 and IE11 running on a HP 8540p.  I'm the only person authorized to use the laptop - I am the administrator.

    I keep getting these messages that do not allow to use a file.  What should I change to have privileges for all functions?

    The second file is not cooperating and was not deleted.

    "Not cooperating" can mean many different things. A real verbatim error message would be more useful. In the case of locked files, it is often possible to remove safe mode.

  • Execute Immediate in a stored procedure continues to give privileges insufficient error for 'CREATE '.

    Hello

    I created a data loading procedure.  But for the create (i.e. STMT3 in my procedure) statement I get ORA-01031: insufficient privileges error.

    On the same user, I am able to create a table in a SQL worksheet. But through the procedure, I am not able to create. Can someone help me on this?

    P_DESC = '0000' IF THEN

    STMT2: = 'ALTER TABLE CUST_ACTIVATION_DATE RENAME TO CUST_ACTIVATION_DATE_OLD;

    IMMEDIATELY RUN STMT2;

    STMT5: = 'ALTER TABLE TEMP_CUST_ACTIVATION_DATE RENAME TO CUST_ACTIVATION_DATE;

    IMMEDIATELY RUN STMT5;

    STMT3: = ' CREATE TABLE TEMP_CUST_ACTIVATION_DATE (CUSTOMER_ID NUMBER, NUMBER of SUBSCRIBER_ID, MSISDN VARCHAR2 (250), ACTIVATION_DATE DATE, MSISDN_CURR VARCHAR2 (250), time STAMP CONNECTION_DATE (6) MIGRATION_DATE TIMESTAMP (6), PRODUCT_TYPE_CODE VARCHAR2 (50), LAST_PROCESS_DATE DATE)';

    IMMEDIATELY RUN STMT3;

    END IF;

    Thank you

    Navi.

    grant create table to

  • Discovered using a function of package in the other schema gets 01031. 00000 - "insufficient privileges".

    Nice day.  I have a package to Schema1 that contains a function.  I created a view in Schema2 that uses arrays of Schema1 and function of this package of Schema1 - it works very well.  I created a schema3 view that uses only the display in Schema2.  When I try to compile, I get 01031. 00000 - "insufficient privileges".  When I try to run the query from the view as the user schema3 schema3, I get the data very well.  Anyone know how I can fix this, please?

    Note: If I delete the use of Schema1.sag_online_action.get_compcode (sag.sagseqnum), everything works fine.

    TIA.

    Schema1 Package:

    function get_compcode (p_iSagseqnum in number) return varchar2 AS

    VARCHAR2 (3) l_cCompcode: = ";

    BEGIN

    Select DECODE ('Y', sag.add_metal, "[1]",

    SAG.add_gc, "[2]."

    SAG.add_acid, "[3]."

    SAG.add_hplc, "[4]."

    SAG.add_icpms, "[5]."

    SAG.add_other, '[6]' ") 'compcode.

    in l_cCompcode

    SAG

    where sagseqnum = p_iSagseqnum;

    Return l_cCompcode;

    END get_compcode;

    View Schema2:

    CREATE OR REPLACE FORCE VIEW 'Schema2. "' OSAG_MICROBIALS ' ('id', 'micro-organisms', 'fees', 'addl_fee', 'icons', 'method', 'notes', 'technical', 'colMedium', 'shelf life', 'airVol', 'samplingRate', 'LD', 'orderNum', 'updated', 'online_update_action')

    AS

    SELECT sag.sagseqnum 'id,'

    trim (sag.substance |) » '|| Schema1.sag_online_action.get_compcode (SAG.sagseqnum)) "microorganisms"

    'Fresh,' Decode(SAG.subcontracted_flag,'Y','',SAG.fee_per_sample)

    Decode(SAG.subcontracted_flag,'Y','',additional_analyte_fee) "addl_fee"

    sag_symbols_key (sag.sagseqnum, sag_parameter.parmname, sag_parameter.prod) "icons."

    MethodDef.MethodDesc 'method ',.

    SAG.method_notes "notes."

    "Technical," SAG.technique

    SAG. Medium "colMedium."

    sag_shelf_life (SAG.sagseqnum) "shelf life."

    SAG.air_vol "airVol"

    SAG.sampling_rate 'samplingRate ',.

    Decode(SAG.subcontracted_flag,'Y','',sag_parameter.) LoQ) "LD",

    "OrderNum, SAG.orderby_seq

    (sag.osag_updated - to_date('01/01/1970','MM/DD/RRRR')) * 86400 "updated."

    SAG.online_update_action "online_update_action".

    SAG.

    sag_parameter,

    MethodDef

    WHERE sag.sagseqnum = sag_parameter.sagseqnum

    AND sag.methodref = methoddef.methodref (+)

    AND DECODE(sag.activeflag,,'N',sag.activeflag) = 'Y '.

    AND DECODE(sag.internalflag,,'Y',sag.internalflag) = n

    AND DECODE (sag.technique, NULL, 'XXX', sag.technique) = "microscopy".

    ORDER BY sag.substance,

    SAG. Medium;

    Schema3 notice:

    CREATE OR REPLACE VIEW "schema3. "' OSAG_MICROBIALS ' ('id', 'micro-organisms', 'fees', 'addl_fee', 'icons', 'method', 'notes', 'technical', 'colMedium', 'shelf life', 'airVol', 'samplingRate', 'LD', 'orderNum', 'updated', 'online_update_action')

    AS

    SELECT "id."

    "microorganisms"

    "charges."

    "addl_fee,"

    "icons."

    'method ',.

    "notes."

    "technique."

    "colMedium,"

    "shelf life."

    "airVol,"

    'samplingRate ',.

    "LD",

    "orderNum."

    "to date,"

    'online_update_action '.

    OF Schema2.osag_microbials;

    Try

    Grant execute on sag_online_action to schema2 with grant option

  • insufficient privileges when using dynamic sql statements in the procedure

    Hello
    I use following script on oracle 10g. and get the error not enough privs. Please advice.

    SQL > show user
    The user is 'GRSADM '.
    SQL > create or replace procedure grsadm.test_proc as
    a varchar2 (2000);
    Start
    a: =' VIEW to CREATE or REPLACE
    TEST_VIEW
    IN SELECT
    "FLAS" one
    THE DOUBLE ';
    immediately run one;
    end;
    Created procedure.
    SQL > start
    grsadm.test_proc;
    end;
    Start
    grsadm.test_proc;
    end;
    Error on line 16
    ORA-01031: insufficient privileges
    ORA-06512: at "GRSADM. TEST_PROC', line 9
    ORA-06512: at line 2

    SQL > select * from session_privs
    where the privilege as "VIEW %.

    PRIVILEGE
    ----------------------------------------
    CREATE A VIEW
    REMOVE ANY VIEW
    CREATE A MATERIALIZED VIEW
    MODIFY A MATERIALIZED VIEW
    REMOVE ANY MATERIALIZED VIEW


    5 selected lines.

    Published by: Rous Sharma on November 24, 2011 12:00

    GRSADM has a privilege ' CREATE (all) VIEW ' live?
    And not via a role...

    SSM
    Samir,
    GRSADM is the owner of this procedure, it seems that the EXECUTE priv, that you suggested is already involved.

  • Privileges of connection Page error - insufficient apps for the current operation

    Hi gurus,

    We migrated application of HP-UNIX SUN Solaris with 11.5.10.2 node and 10.2.04 database. When I try to connect as a sysadmin, got the error that you have sufficient privileges for the current operation.

    But I can't able to go with forms URL and it works. I don't see any errors on the EEA with the exception
    Fatal error in the analysis of the recording file in jserv.log device.

    Any help is appreciated.

    Thank you.

    I got the invalid objects in the APPS schema

    Could you please list these objects? At least those that begin with FND and AD %

    Thank you
    Hussein

  • ORA-01031: insufficient privileges - HOW SOLVE? Help, please...

    Hello

    Everything was running as a result with the exception of a question with ENTERPRISE MANAGER I posted on the discussion. So following the favorable response of the discussion, what I did is I tried to change the listening port, and then I got this error message ORA-01031: insufficient privileges .  Then after I uninstalled the database again and tried to remove all the listener again and tried to add the listener again, but has no wok. I have the grid installed in my pc. I already uninstalled dbca database so I wonder how I could resolve the question above? I have oracle grid in my pc and here is some information that you might need.

    [[email protected] admin] $ echo $ORACLE_SID

    + ASM

    [[email protected] admin] $ echo $ORACLE_HOME

    /U01/app/11.2.0/grid

    [[email protected] admin] $ su - oracle

    Password:

    [[email protected] ~] $ echo $ORACLE_SID

    ORCL

    [[email protected] ~] $ echo $ORACLE_HOME

    /U01/app/Oracle/product/11.2.0/Db_1

    [[email protected] ~] $ echo $ORACLE_UNQNAME

    ORCL

    [[email protected] ~] $

    [[email protected] admin] $ vi sqlnet.ora

    #NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME, EZCONNECT)

    SQLNET. AUTHENTICATION_SERVICES = (ALL)

    NAMES. DIRECTORY_PATH = (TNSNAMES, HOSTNAME, EZCONNECT)

    ADR_BASE = / u01/app/grid

    Thanks Hemant K Chitale. According to your suggestion, I went through CRSCTL view of ALL... http://docs.oracle.com/cd/E11882_01/rac.112/e16794/crsref.htm#CWADD92153 ... AND it solved my problem thank you very much


    CRSCTL overview

    CRSCTL is an interface between you and Oracle Clusterware, analysis and requesting objects Oracle Clusterware Oracle Clusterware APIs.

    Oracle Clusterware 11 g release 2 (11.2) introduced controls compatible with the cluster with which you can perform the check, start and stop operations on the cluster. You can run these commands from any node in the cluster to another node in the cluster, or on all nodes of the cluster, depending on the operation.

    You can use the CRSCTL commands to perform several operations on Oracle Clusterware, such as:

    • Start and stop Oracle Clusterware resources
    • Activation and deactivation of the Oracle Clusterware demons
    • Check the status of the cluster
    • Management of the resources that are third-party applications
    • Integration of Intelligent Platform Management Interface (IPMI) with Oracle Clusterware of failure isolation support and ensure the integrity of clusters
    • Debug Oracle Clusterware components


    [[email protected] bin] $ crsctl start resources-all

    CRS-2501: resource "ora.ons" is disabled

    CRS-2672: attempt to start 'ora.evmd' on 'example '.

    CRS-2672: attempt to start 'ora.cssd' on 'example '.

    CRS-2672: attempt to start 'ora.diskmon' on 'example '.

    CRS-2676: beginning of "ora.diskmon", the successful "example"

    CRS-2676: beginning of "ora.evmd", the successful "example"

    CRS-2676: beginning of "ora.cssd", the successful "example"

    CRS-2672: attempt to start 'ora.asm' on 'example '.

    CRS-2676: beginning of "ora.asm", the successful "example"

    CRS-2672: attempt to start ' ora. DATA.dg' on 'example '.

    CRS-2672: attempt to start ' ora. FRA.dg' on 'example '.

    CRS-2676: beginning with ' ora. DATA.dg' on successful "example"

    CRS-2676: beginning with ' ora. FRA.dg' on successful "example"

    CRS-2672: attempt to start 'ora.orcl.db' on 'example '.

    CRS-5017: the action "ora.orcl.db start" resource has met the following error:

    ORA-01078: failure in the treatment of system settings

    ORA-01565: error in the identification of file "+ DATA/orcl/spfileorcl.ora".

    ORA-17503: ksfdopn:2 could not open the file +DATA/orcl/spfileorcl.ora

    ORA-27140: attach to post/wait installation failed

    ORA-27300: OS dependent operating system: invalid_egid failed with status: 1

    ORA-27301: OS Error Message: operation not permitted

    ORA-27302: an error occurred at: skgpwinit6

    ORA-27303: additional information: current startup egid = 504 (oinstall), egid = 501 (asmadmin)

    . For details, refer to "(:CLSN00107:))" "in ' / u01/app/11.2.0/grid/log/example/agent/ohasd/oraagent_grid/oraagent_grid.log '.

    CRS-2674: beginning of 'ora.orcl.db', 'example' failed

    CRS-2679: attempt to clean the 'ora.orcl.db' on 'example '.

    CRS-2681: clean "ora.orcl.db" on successful "example"

    CRS-4000: Start command has failed, or completed with errors.

    [[email protected] bin] $

    ASM IS WATCH NOW TO THE LISTENING PORT

    [[email protected] bin] $ lsnrctl status

    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on July 15, 2015 09:03:11

    Copyright (c) 1991, 2011, Oracle.  All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=example.castrading.com) (PORT = 1521)))

    STATUS of the LISTENER

    ------------------------

    Alias LISTENER

    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production

    Start date July 15, 2015 07:30:34

    Uptime 0 days 1 h 32 min 36 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/11.2.0/grid/network/admin/listener.ora file

    The listener log file /U01/app/grid/diag/tnslsnr/example/listener/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=example.castrading.com) (PORT = 1521)))

    Summary of services...

    Service '+ ASM' a 1 instance (s).

    Instance '+ ASM' READY State, has 1 operation for this service...

    Service "orcl" has 1 instance (s).

    Instance "orcl", status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    [[email protected] bin] $

  • Data Guard - insufficient privileges

    Spec:
    Windows 2008
    Oracle 11.1.0.2

    I keep getting an error when you run my RMAN script to create the data below save for a very small database.
    The error is stating that I do not have the privilege to write to the remote server - here's the script and the error included below:
    RMAN > run {}
    2 > allocate channel prmy3 type disk;
    3 > allocate channel prmy4 type disk;
    4 > allocate auxiliary channel stby1 type disk;
    5 > duplicate target database for the eve of the active database
    6 > spfile
    7 > parameter_value_convert "test1", "test1".
    8 > set "db_unique_name"="test1_coop."
    "9 > set control_files='D:\oradata\test1\control01.ctl"
    10 > set db_create_file_dest = a: \oradata\test1'
    11 > set audit_file_dest = "C:\app\diag\rdbms\test1".
    12 > set diagnostic_dest = "C:\app\diag\rdbms\test1".
    13 > set db_create_online_log_dest_1 =: \oradata\test1'
    14 > set db_recovery_file_dest = a: \Flash_Recovery_Area'
    15 > set db_recovery_file_dest_size = "5 G"
    16 > nofilenamecheck.
    {17 >}
    using the control file of the target instead of recovery catalog database
    allocated channel: prmy3
    channel prmy3: SID = 149 type device = DISK
    allocated channel: prmy4
    channel prmy4: SID = 148 type device = DISK
    allocated channel: stby1
    channel stby1: SID = 94 type device = DISK
    From February 23, 12 Db double
    content of Script memory:
    {
    backup that copy reuse
    auxiliary file format 'C:\app\product\11.1.0\db_1\DATABASE\PWDtest1.ORA '.
    File 'C:\app\product\11.1.0\db_1\DATABASE\PWDtest1.ORA '.
    ' C:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPFILETEST1. ORA' auxiliary format
    ' C:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPFILETEST1. ORA';
    clone of SQL ' alter system set spfile = "C:\APP\PRODUCT\11.1.0\DB_1\DATABASE\SPF."
    ILETEST1. ORA "«;»
    }
    execution of Script memory
    From 23 February 12 backup
    RMAN-03009: failure of the backup command on the channel of prmy3 at 23/02/2012 18:43:29
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: unable to connect to the remote database server
    continue other job steps, not a not working will not re-run
    output channel: prmy3
    output channel: prmy4
    output channel: stby1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 23/02/2012 18:43:29
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of the backup command on the channel of prmy4 at 23/02/2012 18:43:29
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-01031: insufficient privileges
    ORA-17629: unable to connect to the remote database server

    The parameter must be in the INIT file

    Remote_login_passwordfile = 'EXCLUSIVE '.

    you mean copy the password of the primary database? Yes! And rename

    I have an example - give me a second

    If my master password file is "orapwRECOVER2".
    I copy on the standby server and rename to orapwSTANDBY (EVE would be the name of your database)

    My way is
    /U01/app/Oracle/product/11.2.0.2/DBS

    It will be different under Windows.

    Are you doing a double asset?

    mseberg

    Published by: mseberg on February 24, 2012 11:53

    RMAN DUPLICATE FOR STANDBY overview

    1. start of the necessary database small file INIT duplicate in most cases.
    2. you can create a backup on the primary and move it or make a Duplication Active
    3. the Tnsnames.ora should contain entries for the primary and Standby database on BOTH servers.
    4. having an entry static listener to sleep (which does not yet exist is import) restart the receiver

    Example tnsnames.ora

    Tnsnames.ora
    
    RECOVER2=
        (DESCRIPTION=
          (ADDRESS=
             (PROTOCOL=TCP)
             (HOST=hostname)
             (PORT=1521)
          )
          (CONNECT_DATA=
             (SERVICE_NAME=RECOVER2.hostname)
             (UR = A)
          )
    )
    
    RECLONE=
        (DESCRIPTION=
          (ADDRESS=
             (PROTOCOL=TCP)
             (HOST=hostname)
             (PORT=1521)
          )
          (CONNECT_DATA=
             (SERVICE_NAME=RECLONE.hostname)
             (UR = A)
          )
    ) 
    

    Example of Listener.ora

    BEFORE
    
    SID_LIST_LISTENER =
       (SID_LIST =
           (SID_DESC =
           (SID_NAME = PLSExtProc)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (PROGRAM = extproc)
       )
    )
    
    AFTER
    
    SID_LIST_LISTENER =
       (SID_LIST =
           (SID_DESC =
           (SID_NAME = PLSExtProc)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (PROGRAM = extproc)
         )
           (SID_DESC =
           (global_dbname = RECLONE.hostname)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (sid_name = RECLONE)
       )
    )
    

    If additional entry for the clone database is necessary because otherwise RMAN has nothing to connect to.

    Avoid delays

    Add these to both servers
    
    To listener.ora
    INBOUND_CONNECT_TIMEOUT_ = 120
    
    To sqlnet.ora
    SQLNET.INBOUND_CONNECT_TIMEOUT = 120
    
    Then stop and start the listener.
    

    So now the primary you could make a backup like this:

    RUN {
    allocate channel d1 type disk;
    backup format 'c:\backups\PRIMARY\df_t%t_s%s_p%p' database;
    sql 'alter system archive log current';
    backup format 'c:\backups\PRIMARY\al_t%t_s%s_p%p' archivelog all;
    backup current controlfile for standby format 'c:\backups\PRIMARY\sb_t%t_s%s_p%p';
    release channel d1;
    }
    

    And then, after moving to the standby duplicate like this server

    run {
    allocate channel C1 device type disk;
    allocate auxiliary channel C2 device type disk;
    duplicate target database for standby nofilenamecheck;
    }
    

    Published by: mseberg on February 24, 2012 12:24

Maybe you are looking for

  • Script for random switch between different waveforms

    Hello. How correctly to write the script to switch between different waveforms when generating? For example:We use the niFgen allocate named Waveform VI to allocate three waveforms. When you run the generator, the first forms of wave of work. Then th

  • Drivers HP J4R73EA

    so bought a beautiful J4R73EA from HP (HP 255 G3 laptop, AMD E1-6010 1.35 GHz, 4 GB RAM, 500 GB HARD drive) First of all, I checked on the hp site before buying, and there are all the drivers for windows 7. http://h20566.www2.HP.com/hpsc/SWD/public/r

  • How to remove an unreadable file in WinXP?

    Please help me that I recently tried to download an MP3 of ListendToYoutube.com, but the file was downloading it contained only half of the name and no extension. The computer does not recognize it as something else 'File' and I can't delete it in sa

  • How can I return my last OS (Vista) on my laptop

    I have ot a new CD with Windows 7 and I hate it I want to go back to Windows Vista

  • How to stop the Aero theme to the base, then back again?

    My computer keeps switching of base, then back to Aero. while I do nothing. The PC can be sitting idle, and she will be back. I ran the resolution of problems, and he said that any problems could be found. My PC has 16 GB of memory, 1.5 TB harddrive,