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

Tags: Database

Similar Questions

  • 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

  • Oracle11g R2 Active Data guard using ASM problem?

    I configured oracle11g r2 RAC on 2 notes with the ASM (OS, unix) grid.
    ACR is running.
    Now I'm setting up Active data Guard.

    Under Network instance user + ASM and the listener is running.
    User is running under oracle listener static.
    Any drive is mounted.

    Oracle RAC and Data Guard directory and structure I've kept even.


    Now my problem is below:

    $. / rman target sys/HPinvent123nbl@dcpdb sys/HPinvent123nbl@drpdb ASSISTANT

    Recovery Manager: release 11.2.0.1.0 - Production on Wed Jan 16 16:28:32 2013

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

    connected to target database: DCPDB (DBID = 316773134)
    connected to the auxiliary database: DRPDB (unassembled)

    RMAN > database of target duplicate for the eve of the active database.

    From 16 January 13 Db double
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID = 5644 device type = DISK

    content of Script memory:
    {
    backup that copy reuse
    TargetFile ' / u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdcpdb1' auxiliary format
    ' / u02/app/oracle/product/11.2.0/dbhome_1/dbs/orapwdrpdb';
    }
    execution of Script memory

    From backup 16 January 13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 1897 instance = dcpdb1 = DISK device type
    Backup finished on 16 January 13
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 16/01/2013 16:28:48
    RMAN-06136: the auxiliary database ORACLE error: ORA-00200: control file could not be created
    ORA-00202: control file: '+ data '.
    ORA-17502: cannot create the file + data ksfdcre:4
    ORA-15001: 'DATA' diskgroup do not exist or are not mounted
    ORA-15055: unable to connect to the ASM instance
    ORA-01031: insufficient privileges

    RMAN >

    Please help. \


    Thank you
    Solaiman

    Is your Oracle asmdba group user name?

    What is the output of command mentioned below

    ID Oracle

  • I tried to switch from Firefox 5 to 8 of Firefox, but a message box indicates that I have insufficient privileges to install. How can I continue?

    I received the alert to update Firefox, but during download and try to install, by moving the Firefox to the Applications icon, receive the message "insufficient privileges" box

    If he has problems with the update or the permissions then simpler is to download the full version and trash the version currently installed to do a clean install of the new version.

    Download a new copy of the Firefox program and save the file on the desktop disk image (dmg)

    • Trash the present application Firefox to do a clean (re-) install
    • Install the new version you downloaded

    Your profile data is stored in the Firefox profile folder, so you will not lose your bookmarks and other personal data if you uninstall and (re) install Firefox.

  • 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.

  • Service_name problem-> ORA-01031: insufficient privileges error!

    I installed the database Oracle 11.2.0.1 on Oracle Linux 6.6, Virtualbox to test replication of the database.

    I have oracle11g and grid of two users. User network is set to infrastructure grid on ASM.

    When I prepare the database for duplication, I created a service_name as neworcl. When I connect to new oracle_sid with service name neworcl the following error has occurred!

    [oracle11g@orcl11g dbs] $ sqlplus sys/222333@neworcl as sysdba

    SQL * more: Production release 11.2.0.1.0 on Sun Oct 13 15:00:35 2015

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

    ERROR:

    ORA-01031: insufficient privileges

    BUT WHEN I want TO CONNECT locally without service_name then it is OK as follows

    Enter the user name: sys as sysdba

    Enter the password:

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select instance_name, status from v$ instance;

    STATUS INSTANCE_NAME

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

    neworcl START

    My tnsnames.ora file located in oracle11g user home as below

    tnsnames.ora # Network Configuration file: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora

    # Generated by Oracle configuration tools.

    = ORA11G

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = ora11g)

    )

    )

    NEWORCL =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = neworcl)

    )

    )

    Listener.ora file located user to network as below

    listener.ora # Network Configuration file: /u01/app/grid/product/11.2.0/grid/network/admin/listener.ora

    # Generated by Oracle configuration tools.

    SID_LIST_LISTENER =

    (SID_LIST =

    (SID_DESC =

    (GLOBAL_DBNAME = ora11g)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = ora11g)

    )

    (SID_DESC =

    (GLOBAL_DBNAME = neworcl)

    (ORACLE_HOME = u01/app/oracle/product/11.2.0/dbhome_1)

    (SID_NAME = neworcl)

    )

    )

    LISTENER =

    (DESCRIPTION_LIST =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))

    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl11g) (PORT = 1521))

    )

    )

    ADR_BASE_LISTENER = / u01/app/grid

    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER = WE

    QUESTION: Why I can't connect to the new database with service_name = neworcl?

    Net Oracle connections as sysdba usually require a password file. Have you created a password file for your database?

    You can check the content of $ORACLE_HOME/dbs and see if you have a file named "orapwneworcl". If you do not, you can create it using the orapwd utility. Change your password for SYS in sqlplus must automatically synchronize the password in the password file. The password file is necessary for remote connections, since you cannot authenticate using the OSDBA group and the database may in fact not even begin to verify your password.

    For more details, see https://docs.oracle.com/cd/B28359_01/server.111/b28310/dba007.htm

    BTW, when you connect AS SYSDBA using Protocol inheritance, you can use any user name and password and will always connect to the SYS schema, which case authentication is made by the OSDBA group identifier. For example, you can use any user name and password, such as "humptydumpy/blablaba sqlplus as sysdba".

  • ORA-01031: insufficient privileges when connecting as SYSDBA

    I am trying to connect to the database and receiving "ORA-01031: insufficient privileges". Database version is 11.2.0.3 (standalone) on Linux.

    [oracle@dbserv admin] $ echo $ORACLE_HOME

    /U01/app/Oracle/product/11.2.0.3/db1

    [oracle@dbserv admin] $

    [oracle@dbserv admin] $ which sqlplus

    /U01/app/Oracle/product/11.2.0.3/db1/bin/sqlplus

    [oracle@dbserv dbs] $ sqlplus sys/oracle@newdb as sysdba

    SQL * more: Production release 11.2.0.3.0 Wed Aug 26 20:38:13 2015

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

    ERROR:

    ORA-01031: insufficient privileges

    Enter the user name:

    Password file has been created and is in $ORACLE_HOME/dbs location.

    [oracle@dbserv dbs] $ pwd

    /U01/app/Oracle/product/11.2.0.3/db1/DBS

    [oracle@dbserv dbs] $ ls - lrt * orapw *.

    -rw - r - 1 oracle oinstall 1536 26 August to 20:38 orapwnewdb

    To be clear, there is a version of GI 11.2.0.2 already installed with 11.2.0.2 RDBMS version on the same server (standalone).

    In addition, 11.2.0.3 has been installed on the same machine and a new listening port has been created on 11.2.0.3 home for databases residing on this House.

    Here are the details:

    [oracle@dbserv dbs] $ ps - ef | grep tns

    Oracle 4226 1 0 20:20?        00:00:00 /u01/app/oracle/product/11.2.0.2/grid/bin/tnslsnr EARPHONE-inherit

    Oracle 4239 1 0 20:20?        00:00:00 /u01/app/oracle/product/11.2.0.3/db1/bin/tnslsnr LISTENER_NEWDB-inherit

    Oracle 4599 3734 0 20:44 pts/2 00:00:00 grep tns

    [oracle@dbserv dbs] $ lsnrctl status LISTENER_NEWDB

    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on August 26, 2015 20:44:32

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserv.mydomain) (PORT = 1526)))

    STATUS of the LISTENER

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

    Alias LISTENER_NEWDB

    Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production

    Start date August 26, 2015 11:20:20

    Uptime 0 days 0 h 24 min 21 sec

    Draw level off

    Security ON: OS Local Authentication

    SNMP OFF

    Parameter Listener of the /u01/app/oracle/product/11.2.0.3/db1/network/admin/listener.ora file

    The listener log file /U01/app/Oracle/diag/tnslsnr/dbserv/listener_newdb/alert/log.XML

    Summary of endpoints listening...

    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=dbserv.mydomain) (PORT = 1526)))

    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC1526)))

    Summary of services...

    Service 'SLAVE_PORT_NUM' has 1 instance (s).

    Instance of 'SLAVE_PORT_NUM', status UNKNOWN, has 1 operation for this service...

    The command completed successfully

    My bad. OP has already validated the status of the listener. I just forgot.

    I suspected to be an incompatibility with SID in regard to upper and lower case letters and now seem to be confident.

    The listener status indicates the name of the instance as SLAVE_PORT_NUM but OP said as slave_port_num lowercase. Let's take a look in the file of the listener.

    TNS ADMIN could also be a cause, but in this case, it could lift error related to the listener (TNS).

    OP, please send the contents of listener.ora crossing 11.2.0.3 House.

    -Jonathan Rolland

  • 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.

    [grid@example admin] $ echo $ORACLE_SID

    + ASM

    [grid@example admin] $ echo $ORACLE_HOME

    /U01/app/11.2.0/grid

    [grid@example admin] $ su - oracle

    Password:

    [oracle@example ~] $ echo $ORACLE_SID

    ORCL

    [oracle@example ~] $ echo $ORACLE_HOME

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

    [oracle@example ~] $ echo $ORACLE_UNQNAME

    ORCL

    [oracle@example ~] $

    [grid@example 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


    [grid@example 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.

    [grid@example bin] $

    ASM IS WATCH NOW TO THE LISTENING PORT

    [grid@example 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

    [grid@example bin] $

  • ORA-01031: insufficient privileges after the cloning of RAC

    Hello.

    I have 2 CARS with 2 DBs nodes and 1 OEBS with option of CARS. 5.11 for Linux. IM 11.2.0.3.9. DB 11.2.0.3.9.

    Data disks when presented by iSCSI.  Data, OCR, voting are in ASM on a diskgroup.

    For testing purposes this RAC has been cloned, including lun data.

    After that successful cloning IG has been tested and verified. Everything is ok.

    DB homes have been reconfigured successfully. Unfortunately tries to connect to sqlplus / as sysdba a ccure of error:

    ERROR:

    ORA-01031: insufficient privileges

    Any suggestions will be much appreciate.

    Thank you in advance.

    Finally, it works.

    export NEWHOSTNAME=node1
    export G01=OSDBA_GROUP=dba
    export G02=OSOPER_GROUP=oper
    export G03=OSASM_GROUP=
    
    eval "perl ${ORACLE_HOME}/clone/bin/clone.pl -silent ORACLE_BASE=$ORACLE_BASE ORACLE_HOME=$ORACLE_HOME ORACLE_HOME_NAME=OraDb11g_home1 INVENTORY_LOCATION=/u01/app/oraInventory -O'\"CLUSTER_NODES={$NEWHOSTNAME}\"' -O'\"LOCAL_NODE=$NEWHOSTNAME\"' $G01 $G02 $G03"
    

    In this case, config.c contains appropriate Van Overstraeten:

    #define SS_DBA_GRP "dba"
    #define SS_OPER_GRP "oper"
    #define SS_ASM_GRP ""
    
  • create returns user ORA-01031: insufficient privileges

    Hi all

    I am trying to create user on Oracle 11.2.0.4 windows db.

    I get the following error

    create the user one identified by a

    Error in the command line column: 6:28

    Error report:

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    Please may I know how to solve.

    I disabled Database Vault Account Management.

    This allowed me to grant privileges as user sys.

    C:\Users\rbastawa>sqlplus / as sysdba

    SQL * more: Production release 11.2.0.4.0 on sea 12 Nov 09:56:40 2014

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

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.4.0 - 64 bit Production

    With partitioning, Oracle Label Security, OLAP, Data Mining,

    Oracle Database Vault and Real Application Testing options

    SQL > grant connect to one.

    grant connect to a

    *

    ERROR on line 1:

    ORA-47410: Violation of Kingdom for GRANT on CONNECT

    SQL > grant connect to one.

    Grant succeeded.

    SQL >

    Thanks for the help.

  • Issue of insufficient privileges

    Could anyone help on this?

    create or replace procedure

    as

    txt varchar (100): ='GRANT SELECT ON "RADB. "" NOV14 ' to RADB_READ_ONLY';

    Begin

    run immediately (txt);

    end;

    SQL > execute test

    START the test; END;

    *

    ERROR on line 1:

    ORA-01031: insufficient privileges

    ORA-06512: at "DRAI01. TEST', line 5

    ORA-06512: at line 1

    But it works.

    Begin

    run immediately ('GRANT SELECT ON "RADB".) "" NOV14 "to RADB_READ_ONLY"); "

    end;

    Kind regards

    VN

    Please explain why it is necessary to publish the GRANT via EXECUTE IMMEDIATE.

    all GRANT & CREATE statements should be made through SQL static during the upgrade of the application.

    BTW, object name should NEVER contain DATE value; as "NOV14!

    Is not consistent with the normal form of third & must be an additional column in another table!

  • Insufficient privileges in the creation of MV that he select another schema table

    Hello

    Before asking this question, I checked with similar questions in the forum, but I don't see my situation, or I'd say I'm not clear on the solution.

    I got the privileges CREATE MATERIALIZED VIEW and CREATE ANY MATERIALIZED VIEW and I want to create a MV in my schema, but the MV selects data in another schema, and I had the privilege to choose this table. Here is my code

    Create VIEW MATERIALISEE CPY_GL_HANDS_OFF_DTL

    UPDATE THE BEGINNING WITH THE LARGEST (SYSDATE, TO_DATE ('2013.10.30.23.30.00 ',' YYYY.)) MM DD. HH24.MI. THE NEXT SS SYSDATE')) + (50519 /(24*60*60)) FULL

    ENABLES QUERY REWRITE

    SELECT

    *

    Of

    User_a.GL_HANDS_OFF_DTL@dblink;

    I run it, and I get ORA-01031: insufficient privileges. According to my research so far, the schema of the latter requires the CREATE TABLE privilege, even though she already had RESOURCES (which already includes the CREATE TABLE). Is this true? That's my problem. I only have read access to the table of the dblink, I can't control the privileges of this scheme. Advise please if this is the real problem?

    Thanks and greetings

    acquired through ROLE privileges do NOT apply in the PL/SQL name procedures

  • Error of insufficient privileges on the creation of model running in a stored procedure

    Hello

    I get the error of insufficient privileges on execution of the DBMS_DATA_MINING. Script CREATE_MODEL in a stored procedure.

    If I run the same DBMS_DATA_MINING. Script CREATE_MODEL in an anonymous block with just begin... end;

    I am able to create a model successfully, but if I do the same thing after having stored the script in the stored procedure, it is throwing error of insufficient privileges.

    Scripts:

    BEGIN

    DBMS_DATA_MINING. () CREATE_MODEL

    Model_name = > < template name >

    mining_function = > dbms_data_mining. CLASSIFICATION,

    DATA_TABLE_NAME = > < data table name >

    CASE_ID_COLUMN_NAME = > < case ID >

    target_column_name = > < target column >

    SETTINGS_TABLE_NAME = > < settings table >

    DATA_SCHEMA_NAME = > < schema >

    SETTINGS_SCHEMA_NAME = > < schema >

    );

    END;

    The foregoing, works very well and created a model with the model given with success.

    But if I keep the above, in a stored procedure as - MINING_TESTING

    create or replace procedure MINING_TESTING as

    BEGIN

    DBMS_DATA_MINING. () CREATE_MODEL

    Model_name = > < template name >

    mining_function = > dbms_data_mining. CLASSIFICATION,

    DATA_TABLE_NAME = > < data table name >

    CASE_ID_COLUMN_NAME = > < case ID >

    target_column_name = > < target column >

    SETTINGS_TABLE_NAME = > < settings table >

    DATA_SCHEMA_NAME = > < schema >

    SETTINGS_SCHEMA_NAME = > < schema >

    );

    END;

    Compiles correctly.

    Enforcement - EXEC MINING_TESTING;

    Error message throw sufficient privileges.

    The error message complete below:

    Error report:

    ORA-01031: insufficient privileges

    ORA-06512: at "SYS." DBMS_DATA_MINING', line 1798

    ORA-06512: at "MIS_ORABI_ODM.CA_MINING_TESTER", line 3

    ORA-06512: at line 1

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    Hello

    DataMiner UI grants privileges to a role, so if you're depending on these privileges you must proceed as follows when you create a stored procedure.

    Your stored procedure was created with the default authid which is definers. It will not use the privileges for the role. Solution is to create the stored procedure with authid current_user. This will pick up the privileges for the role. Another option is to apply the following subsidies directly to the user account:

    grant CREATE MINING MODEL

    CREATE THE TABLE,

    IN ORDER TO CREATE

    Example of stored procedure:

    create or replace procedure MINING_TESTING AUTHID CURRENT_USER as

    BEGIN

    DBMS_DATA_MINING. () CREATE_MODEL

    MODEL_NAME =>

    mining_function-online dbms_data_mining. CLASSIFICATION,

    DATA_TABLE_NAME =>

    CASE_ID_COLUMN_NAME =>

    target_column_name =>

    SETTINGS_TABLE_NAME =>

    DATA_SCHEMA_NAME =>

    SETTINGS_SCHEMA_NAME =>

    );

    END;

    Thank you, Mark

  • CREATE a USER Oracle 12 c fails with ORA-01031 (insufficient privileges)

    I work with a client to start the test 12 c with an application.

    User logged into the database by using both "/ as sysdba" and "xxxxxxx/sys as sysdba.

    However, doing so CREATE USER someuser IDENTIFIED BY somepass;

    insufficient privileges ORA-01031 auto fails.

    I don't see an obvious reason why this does not work, and it works on my own system. Any ideas are appreciated.

    He said he was using a traditional database (no plug-in) wrong after previously created a pluggable.

    Daryl

    by chance, do you have database Vault (figure DVSYS) installed in your database? According to default manual installation program prevents you to create the user if data vault is configured.

    http://docs.Oracle.com/CD/B28359_01/server.111/b31222/DB_objects.htm

    Oracle Database Vault | Oracle database | Oracle

    Oracle Database Vault allows customers to avoid excesses in controlling the use of commands such as ALTER SYSTEM, ALTER USER, DROP USER, CREATE USER, etc.

    In addition, check this box

    "Create a user" gives ORA-01031: not sufficient privileges to user sys

  • 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

Maybe you are looking for

  • Connection time machine

    My Programm airport is broken. There is virtually no connection between my MAC AIR and my time machine. Only when my time machine power there is a link with my MAC AIR possible but very slow. What can I do to reparir airport? Concerning tropi Post ed

  • Why Chrome opens at startup?

    Every morning when I have my mac automatically starts, Chrome opens to the last page that was opened the day before. Why?

  • Cannot restore my Satellite A55-S1063

    Hello I tried to do a restore on my laptop without success.I've done before and worked fine, but now I have problems. I put the recovery dvd in and hold the button C F2 or F12 (all work) to start the DVD.It goes to a screen that says the following: S

  • My Satellite A100 GPU fan works 100% all the time

    First: I have the Satellite A100-440 with GeForce Go 7300 and XP Professional (and Ubuntu). There is something wrong with thermal control. The first PC Wizard has always shown that the temperature of my GPU is "a very large number" and the fan is run

  • Choice of laptop: requirements of DVI, SPDIF, deejay

    I'm about to buy a laptop I have specific criteria and I've been browsing the site for some time and still not sure what's best for me. Please recommend. Here's what I need. -I will work with 16-bit 12mpx photos (maybe PhotoShop, Lightroom, Paint Sho