ORA-01031 WHEN CONNECTING TO AUXILIARY DATABASE

Hi
i am currently trying to to create a standby database using RMAN using the ORACLE RMAN Backup and recovery book.
I get the ORA-01031 when i connect to the auxiliary database.
i do the following:
RMAN> connect target sys/password@primary
connected to target
RMAN > connect auxiliary sys/password@aux1
ORA-01031.............insufficient privileges
obviously the database aux1 hasnt been created yet but i have configured the tns and listener and both work fine, also created a password file and created a pfile from the spfile in the primary database as instructed by the book. I also started the aux1 database in nomount mode as well.
does any one have any ideas where i maybe going wrong?
thanks

conn sys/pwd@aux1 as sysdba ,what happens to this
in sqlplus
add an entry to your TNSNAMES.ora
SQLNET.AUTHENTICATION_SERVICES = (NTS)
We dont need this entry this is for OS authenicarion sorry
then try again
Version and OS?
Message was edited by:
Maran Viswarayar
Message was edited by:
Maran Viswarayar

Similar Messages

  • ORA-01031: insufficient privileges from auxiliary database while connecting

    i am getting this error ORA-01031: insufficient privileges from auxiliary database while connecting plz help.
    TNS-01106: Listener using listener name VINAR has already been started
    [oraclone@server VINTEST_server]$ tnsping VINAR
    TNS Ping Utility for Linux: Version 11.1.0.7.0 - Production on 17-JAN-2013 19:10:49
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    /d04/oraclone/db/tech_st/11.1.0/network/admin/VINTEST_server/sqlnet_ifile.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1571)) (CONNECT_DATA= (SERVICE_NAME=VINAR) (INSTANCE_NAME=VINAR)))
    OK (0 msec)
    [oraclone@server VINTEST_server]$ rman target sys/change_on_install@VINAR auxiliary /
    Recovery Manager: Release 11.1.0.7.0 - Production on Thu Jan 17 19:11:38 2013
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges
    [oraclone@server VINTEST_server]$ sqlplus sys/change_on_install@VINAR as sysdba
    SQL*Plus: Release 11.1.0.7.0 - Production on Thu Jan 17 19:31:52 2013
    Copyright (c) 1982, 2008, Oracle.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: sys@VINAR as sysdba
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: [oraclone@server VINTEST_server]$
    [oraclone@server VINTEST_server]$
    SQL> select * from v$pwfile_users;
    no rows selected
    SQL>
    listner.ora
    SID_LIST_VINTEST =
      (SID_LIST =
        (SID_DESC =
          (ORACLE_HOME= /d04/oraclone/db/tech_st/11.1.0)
          (SID_NAME = VINTEST)
          #(GLOBAL_DBNAME = VINAR)
          #(ORACLE_HOME= /d03/oravnr/db/tech_st/11.1.0)
          #(SID_NAME = VINAR)
          (SID_DESC =
          #(ORACLE_HOME= /d04/oraclone/db/tech_st/11.1.0)
          #(SID_NAME = VINTEST)
          (GLOBAL_DBNAME = VINAR)
          (ORACLE_HOME= /d03/oravnr/db/tech_st/11.1.0)
          (SID_NAME = VINAR)
    tnsnames.ora
    VINTEST=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1591))
                (CONNECT_DATA=
                    (SERVICE_NAME=VINTEST)
                    (INSTANCE_NAME=VINTEST)
    VINAR=
            (DESCRIPTION=
                    (ADDRESS=(PROTOCOL=tcp)(HOST=server.csacons.com)(PORT=1571))
                (CONNECT_DATA=
                    (SERVICE_NAME=VINAR)
                    (INSTANCE_NAME=VINAR)
    kind regards
    plz help

    Pl do not post duplicates - ORA-01031: insufficient privileges from auxiliary database while connecting

  • Getting ORA-01031 while connecting to target database

    I have created RMAN catalog. While connecting to target database i am getting ORA-01031: insufficient privileges. What could be the reason. I have added entry of both the databases in listner.ora as well as tnsnames.ora, but still facing the same problem. Please help
    [oracle@dbapool ~]$ rman catalog=rman/pass@sdn target=sys/pass@sdn1
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Apr 30 23:49:46 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01031: insufficient privileges

    Issue got resolved. The problem was with password file.

  • Getting ORA-01031 when attempting to Create Database

    I am attempting to issue a CREATE DATABASE statement via JDBC but I am getting a "ORA-01031: insufficient privileges" error. I am logged in as an administrator and I have no trouble creating tables. I am also receiving the same error when attempting this from SQLPlus. I'm stumped.
    Thanks,
    Pino

    Pino,
    I haven't verified this, but only the SYS user can create a DATABASE in Oracle, and you also need to use a special login (when going via SQL*Plus) which JDBC cannot handle. Hence your failures both via JDBC and SQL*Plus.
    By the way, if you are new to Oracle, but have experience in another database, then the Oracle idea of a DATABASE is probably different than what you're used to. That's probably why you're stumped. If you haven't already done so, I suggest reading the Oracle Database Concepts volume of the Oracle documentation, which is available from:
    http://tahiti.oracle.com
    Good Luck,
    Avi.

  • ORA-01031 when connecting as sysdba after upgrading DB 10.2.0.1 to 10.2.0.3

    Hello everyone
    I have just finished upgrading my development database from 10.2.0.1.0 to 10.2.0.3.0. I have also upgraded my workstation client software to 10.2.0.3.0. Everything appears to be working fine except that I can no long access the new database "as sysdba" from my client computer. Each time I try to login using sys/password@mydb as sysdba I get an ORA-01031: Insufficient privileges error.
    I have no problem connecting to the database using any other normal user. I can connect using "/ as sysdba" from the server console and I also have no problem accessing my production database -- which is still 10.2.0.1 using the 10.2.0.3 drivers. The server is running SLES9 while my workstation runs openSUSE 10.2.
    Any help will be most welcome
    Thanks in advance.
    Thanassis.

    Ensure you have your password file inatct (recreate it if necessary).
    HTH,
    cciontu.

  • Error RMAN connection to auxiliary database ORA- 12514

    Hi,
    I'm trying to make a clone of my database in another server but when I'm trying to connect as follow the RMAN return
    to me the error ORA-12514.
    C:\Documents and Settings\joses.morales>rman TARGET sys/pass@iswgen nocatalog
    AUXILIARY sys/[email protected]
    Recovery Manager: Release 8.1.7.4.1 - Production
    RMAN-06005: connected to target database: ISWGEN (DBID=2348350645)
    RMAN-06009: using target database controlfile instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
    For more information:
    - the auxiliary database is started whit nomount option.
    - this is my listener.ora in the auxiliary host
         LISTENER =
         (DESCRIPTION =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         SID_LIST_LISTENER =
         (SID_LIST =
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = iswgen)
         (SID_DESC =
         (GLOBAL_DBNAME = oracle8)
         (ORACLE_HOME = C:\oracle\ora81)
         (SID_NAME = oracle8)
    - this is my tnsnames.ora in the auxiliary host
         ISWGEN =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
         ORACLE8 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = WSSP61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = oracle8)
    - this is my tnsnames.ora in the target host
    iswgen =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = gdcoracle)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = iswgen)
         iswgen.wssp61 =
         (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = wssp61)(PORT = 1521))
         (CONNECT_DATA =
         (SERVICE_NAME = iswgen)
    - target server: gdcoracle
    - auxiliary server: wssp61
    - global name in auxiliary: Oracle8
    - intances in auxiliary: Oracle8 & Iswgen
    I was expecting the follow message:
    connected to target database: ISWGEN (DBID=519338572)
    using target database control file instead of recovery catalog
    connected to auxiliary database: ISWGEN.WSSP61 (not mounted)
    Can anybody help me to resolve this error ORA-12514??
    Thanks

    I'm try to connect to the auxiliary server at SQLPLUS and I get the follow:
    C:\Documents and Settings\joses.morales>sqlplus /nolog
    SQL*Plus: Release 8.1.7.0.0 - Production on Sex Jun 1 12:26:09 2007
    (c) Copyright 2000 Oracle Corporation. All rights reserved.
    SQL> conn sys@iswgen
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn sys@iswgen as sysdba
    Informe a senha:
    ERROR:
    ORA-12514: TNS:listener nao conseguiu resolver o SERVICE_NAME fornecido no
    descitor de conexao
    SQL> conn internal as sysdba
    Conectado.
    SQL>
    Any sugestions?
    Thanks everyone and regards

  • Connected to auxiliary database (not started)

    Hello! I'm establishing Data Guard on Oracle 11g (x64). OS - CentOS 6.6 x86_x64.
    The problem occurs when i'm trying to connect from my primary db to standby.
    I expect:
    connected to auxiliary database (not mounted)
    but getting
    not started
    And when i'm trying to:
    duplicate target database for standby nofilenamecheck dorecover;
    I get an expected error:
    Starting Duplicate Db at 17-MAR-15
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 03/17/2015 01:04:49
    RMAN-06403: could not obtain a fully authorized session
    RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    I also read simular topic:
    Creating a duplicated database from active database
    but i check several times my listener.ora on standby, and i can't figure out where the problem lies.
    Actions that preceded the appearance of the error:
    The main base is loaded by default (startup)
    StandBy base loaded without mount (startup nomount)
    On the main launch from the terminal «rman target /»
    Command «connect auxiliary sys@orclstandby»
    Password (sys)
    Got: connected to auxiliary database (not started)
    Here is my configuration files:
    Primary:
    tnsname:
    orclprimary =
      (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11centos.com)(PORT = 1521))
       (CONNECT_DATA =
       (SERVER = DEDICATED)
       (SERVICE_NAME = orcl.com)
    orclstandby =
      (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.115)(PORT = 1521))
       (CONNECT_DATA =
       (SERVER = DEDICATED)
       (SERVICE_NAME = orclstandby.com)
       (SID_NAME = orcl)
      pfileORCL.ora
    orcl.__db_cache_size=301989888
    orcl.__java_pool_size=4194304
    orcl.__large_pool_size=4194304
    orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=314572800
    orcl.__sga_target=469762048
    orcl.__shared_io_pool_size=0
    orcl.__shared_pool_size=150994944
    orcl.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain='com'
    *.db_name='orcl'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.memory_target=784334848
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    db_unique_name='orclprimary'
    log_archive_config='dg_config=(orclprimary,orclstandby)'
    log_archive_dest_1='SERVICE=orclstandby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=orclstandby'
    log_archive_dest_2='LOCATION=/u01/app/oracle/oradata/orcl/archive VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclprimary'
    log_archive_dest_state_1=ENABLE
    log_archive_dest_state_2=ENABLE
    fal_client='orclprimary'
    fal_server='orclstandby'
    standby_file_management='AUTO'
    StandBy
    tnsname
    orclstandby =
      (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11standby2centos.com)(PORT = 1521))
       (CONNECT_DATA =
       (SERVER = DEDICATED)
    (SERVICE_NAME = orclstandby.com)
    orclprimary =
      (DESCRIPTION =
       (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.101)(PORT = 1521))
       (CONNECT_DATA =
       (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.com)
    listener
    SID_LIST_LISTENER =
    (SID_LIST =
      (SID_DESC =
       (GLOBAL_DBNAME = orclstandby.com)
      (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1/)
    (SID_NAME = orcl)
    LISTENER =
    (DESCRIPTION_LIST =
       (DESCRIPTION =
       (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
       (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11standby2centos.com)(PORT = 1521))
    ADR_BASE_LISTENER = /u01/app/oracle
    pfileORCL.ora
    orcl.__db_cache_size=301989888
    orcl.__java_pool_size=4194304
    orcl.__large_pool_size=4194304
    orcl.__oracle_base='/u01/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=314572800
    orcl.__sga_target=469762048
    orcl.__shared_io_pool_size=0
    orcl.__shared_pool_size=150994944
    orcl.__streams_pool_size=0
    *.audit_file_dest='/u01/app/oracle/admin/orcl/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u01/app/oracle/oradata/orcl/control01.ctl','/u01/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain='com'
    *.db_name='orcl'
    *.db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/u01/app/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)'
    *.memory_target=784334848
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.undo_tablespace='UNDOTBS1'
    db_unique_name='orclstandby'
    log_archive_config='dg_config=(orclprimary,orclstandby)'
    log_archive_dest_1='SERVICE=orclstandby LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) db_unique_name=orclprimary'
    log_archive_dest_2='LOCATION=/u01/app/oracle/oradata/orcl/archive VALID_FOR=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstandby'
    log_archive_dest_state_1=ENABLE
    log_archive_dest_state_2=ENABLE
    fal_client='orclstandby'
    fal_server='orclprimary'
    standby_file_management='AUTO'
    Where I did wrong?

    Thanks for the quick reply!
    Primary:
    sqlplus sys/<password>@orclstandby as sysdba
    Result:
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:01:29 2015
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL>
    sqlplus sys/<password>@orclprimary as sysdba
    Result:
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:28:21 2015
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Standby
    sqlplus sys/<password>@orclstandby as sysdba
    Result:
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:08:37 2015
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL>
    sqlplus sys/<password>@orclprimary as sysdba
    Result:
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Mar 17 09:10:22 2015
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor

  • Error while connecting to  Auxiliary Database

    Hi
    I am practicing Cloning the database on my Personal Computer. I am following the steps outlined here
    http://www.oracle-base.com/articles/9i/DuplicateDatabaseUsingRMAN9i.php
    But while connecting to Auxiliary database I get this error.
    RMAN - 04006 Error from auxiliary database: ORA 12514 TNS: listener does not currently know of service requested in connect descriptor
    RMAN - 00554 initialization of internal recovery manager package failed...
    what is the solution for this?
    This is 10g database and my PC has Opensuse 11 OS
    I think the problem is in configuring listener. But I am following the instructions given in that page....

    You probably skipped this part
    Next add the appropriate entries into the tnsnames.ora and listener.ora files in the $ORACLE_HOME/network/admin directory. Remember to load the new configuration into the listener:
    Which is why you are getting the error. The database needs to register itself with the listener. This doesn't happen in nomount mode.
    Other than that: there is an option in database control to duplicate a database in 10g. Using that you only need to hit buttons. Why are you using 9i code and policies?
    Sybrand Bakker
    Senior Oracle DBA

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • After installing MAWI error ORA-01031 when trying to connect as sysdba

    I've installed mawi 2.18 on a brand new 10.2.0.5 ORACLE_HOME.
    After installing the patch i cannot connect anymore to the database as sysdba: the error i got is:
    ORA-01031: insufficient privileges
    If i unset TWO_TASK (as stated in mawi install procedure) and replace it by ORACLE_SID it works.
    What's the correct setup to handle both sysdba connection and MAWI setup ?
    thanks
    Chris

    You could create two seperate env files. The EOF.env for TWO_TASK access and then another env file of yoru choice for SYSDBA access replacing TWO_TASK with ORACLE_SID and depending on whether you are using sysdba access or regular MW access you would execute the correct env file. I would also place the SYSDBA env file in the actual ORACLE_HOME directory.

  • Throwing error ORA- 01031 while connecting as sys, but not with system

    Hi
    we are having oracle 10g on one of the server. When I try to connect sqlplus "/as sysdba"..its throwing error
    ORA- 01031: Insufficient privelege.
    But when I tried login with sqlplus system@dbname its getting connected properly. whats the reason behind this? It was
    working fine till yesterday.
    Thanks
    Shiyas M

    The reason for this can partly be seen in your profile,
    you have asked 17 questions, and 17 of them have been unresolved.
    This isn't very likely,
    so likely you are too lazy to label a question as answered.
    Your laziness is also indicated by this question, which is a FAQ, and FAQs are most often asked, by people who
    - don't read documentation
    - don't use online resources
    - don't search this forum
    prior to asking their FAQ.
    Your equation of SYS as SYSDBA and the SYSTEM account is also incorrect, as SYSTEM doesn't have SYSDBA privileges.
    The ORA-1031 simply means someone somehow disabled OS authentication.
    Now it is up to you to find out why.
    Either by using online resources, or by reading documentation, and researching your own database.
    Not by asking a FAQ and never marking any answer as correct.
    Sybrand Bakker
    Senior Oracle DBA

  • Error when connecting to auxiliary instance

    Hi,
    I have set up an auxiliary database to do a DUPLICATE. The auxiliary instance is started in NOMOUNT mode.
    When i try to connect from RMAN i get the following error:
    RMAN>connect auxiliary sys/<password>@<sid>
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-04006: error from auxiliary database: ORA-00600: internal error code, arguments: [15435], [SYS], [X$DBMS_BACKUP_RESTORE], [], [], [], [], []
    ORA-04031: unable to allocate 1040 bytes of shared memory ("shared pool","X$DBMS_BACKUP_RESTORE","PL/SQL DIANA","PAR.C:parapt:Page")
    RMAN-04015: error setting target database character set to WE8MSWIN1252
    Environment is 10.2 on Windows
    any clues??
    Regards
    Rolf

    Hi all and thanks for your response,
    RMAN client is 10.1.0.3.0. Auxiliary instance is 10.2.0.3 (same as target).
    I modified auxiliary init.ora with:
    SHARED_POOL_SIZE=64M
    I had created the auxiliary instance as said in the manual (I think), using orapwd, oradim, creating a init.ora file, etc.
    I don't remember that SHARED_POOL_SIZE was mandatory for the init.file of the auxiliary instance...
    However, i restarted the instance (nomount), and now I can connect the auxiliary instance from RMAN :)
    However; i was going to create a duplicate database useing the DUPLICATE command. Everything went smoothly, all datafiles restored to correct path, but when RMAN finaly was trying to CREATE CONTROLFILE... I hit this error:
    SQL-setning: CREATE CONTROLFILE REUSE SET DATABASE "W558DUP" RESETLOGS NOARCHIVELOG
    MAXLOGFILES 16
    MAXLOGMEMBERS 3
    MAXDATAFILES 200
    MAXINSTANCES 8
    MAXLOGHISTORY 77312
    LOGFILE
    GROUP 1 ( 'D:\ORACLE\ORADATA\W558DUP\REDO01.LOG' ) SIZE 16 M REUSE,
    GROUP 2 ( 'D:\ORACLE\ORADATA\W558DUP\REDO02.LOG' ) SIZE 16 M REUSE,
    GROUP 3 ( 'D:\ORACLE\ORADATA\W558DUP\REDO03.LOG' ) SIZE 16 M REUSE,
    GROUP 4 ( 'D:\ORACLE\ORADATA\W558DUP\REDO04.LOG' ) SIZE 16 M REUSE,
    GROUP 5 ( 'D:\ORACLE\ORADATA\W558DUP\REDO05.LOG' ) SIZE 16 M REUSE
    DATAFILE
    'D:\ORACLE\ORADATA\W558DUP\SYSTEM01.DBF'
    CHARACTER SET WE8MSWIN1252
    frigitt kanal: TSM
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 08/25/2008 04:20:19
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE
    failed
    ORA-00600: internal error code, arguments: [kccscf_1], [9], [77312], [65535], []
    RMAN>
    I find Bug 4877360 (*'Create controlfile command in 10.2 compatibility mode results in an ORA-600 [kccscf_1]*') on metalink, confirmed in 10.2.0.3 (my version) and fixed in 10.2.0.4, and there is a patch (Patch 4877360)
    but not for Windows as far as i can see...
    I also tried the CREATE CONTROLFILE ( referencing all datafiles) from sql*plus but got the same error.
    My auxiliary init.ora files contain the COMPATIBLE=10.2.0.3.0 parameter.
    Could I set compatibility to, say 10.1 (since the bug reference the 10.2 compatibility mode) ??
    Regards
    Rolf

  • Getting ORA-01031 while connect target

    Hi,
    I'm trying to perform a rman duplictate.
    I've created the orapwd file and setted the remote_login_passwordfile parameter as "EXCLUSIVE". I also have configured the connection to the target database on the tnsnames.ora file
    I'm getting this error:
    [server]> rman
    RMAN> CONNECT TARGET system/iwjIGPE@TARGET_DB
    RMAN-00571: ======================================
    RMAN-00569: ==== ERROR MESSAGE STACK FOLLOWS ===========
    RMAN-00571: ======================================
    ORA-01031: insufficient privileges
    RMAN> exit
    Recovery Manager complete.
    .... But I can connect remotely though sqlplus:
    [server]> sqlplus system/iwjIGPE@TARGET_DB
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Sep 13 13:04:32 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    SQL> exit
    thanks for your help!

    Hi again!
    I'm trying to follow the steps you propose:
    [server]> rman target sys/c9vhLZT0@TARGET_DB auxiliary /
    Recovery Manager: Release 11.2.0.2.0 - Production on Thu Sep 13 13:29:07 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN-00571: ===================================
    RMAN-00569: === ERROR MESSAGE STACK FOLLOWS =========
    RMAN-00571: ===============================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-01017: invalid username/password; logon denied
    I'm sure that the password is correct. I've re-created the password file and the error continues.
    I'm still able to connect from sqlplus ...
    [server]> echo $ORACLE_SID
    AUX
    [server]> sqlplus
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Sep 13 13:31:35 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: sys@TARGET_DB as sysdba
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    SQL >
    I've granted the sysdba role to system:
    SYS @ TARGET_DB > select * from v$pwfile_users;
    USERNAME SYSDB SYSOP SYSAS
    SYS TRUE TRUE FALSE
    SYSTEM TRUE FALSE FALSE
    I'm not able to connect either with sys not with system users
    Thanks a lot
    Edited by: user11978261 on Sep 13, 2012 4:41 AM

  • ORA-01031 when creating a view

    Hi guys,
    I transported a view(custom view ZVIEW) from Development to Production and found that the view was missing the database of the production system.
    When i tried to create the same view usin SE14 am getting a warning
    ORA-01031: insufficient privileges                     
    DDL time(___1): .......119 milliseconds                
    The SQL statement was not executed                     
    Statements for View ZVIEW_STD_TIME could not be executed
    Request for ZVIEW_STD_TIME could not be executed       
    in the system the SAPR3 and OPS$PRDADM has sysdba privilege so i guess SYSCONN need not be implemented.
    Please help.
    Thanks and regards,
    Siddhartha

    Hi Rabi,
    Check below sap notes.
    Note 985607 - ORA-01031 Creating views after upgrade to Oracle 10g
    Note 1028220 - ORA-01031: Insufficient privileges despite SAPCONN role
    Regards
    Ashok

  • ORA-03115 when connect to Oracle8.0.5.1 on Linux

    My JDeveloper with JDBC(upgraded today) connects OK to Oracle8
    on NT and SUN. But there is error with Oracle8 for Linux.
    What's wrong?
    null

    Hi,
    You may wish to try high-performance Openlink drivers in order
    to provide connectivity to your Linux version of Oracle.
    Drivers can be downloaded at http://www.openlinksw.com
    -Stephen
    Marcus Vogel (guest) wrote:
    : Hi,
    : I'm always getting an ORA-3115 error when accessing an Oracle
    : database (8.0.5.1) on a SuSe 6.1 Linux server via JDBC.
    : The connect works fine, but when i do a SELECT it always
    brings
    : the error ORA-3115 'unsupported network datatype...' or ORA-
    3120
    : 'two task conversion routine: integer overflow'.
    : The same Java Applet with the same JDBC driver works fine with
    : Oracle 7.3.4 (on DEC) and with 8.1.5 (on Solaris).
    : Anybody got an idea where to look at?
    null

Maybe you are looking for

  • Permission Problem with Windows 2003 Share

    Hi There, I have just installed a new 750GB removable drive on our Windows 2003 R2 file server so our "mac" team can copy old data to it. The drive is formated in NTFS and previously used to do exactly the same to a 250gb drive without any issues. No

  • SWF not loading on IE

    I have come across two problems, SWF 1# is embedded in a Iframe, and the menu bar links go behind the SWF. Same with SWF 2#, but nothing is being displayed keep getting a loading sign and this is embed with a normal embed code, can any1 suggest reaso

  • ESB process shows org.collaxa.thirdparty.apache.wsif.WSIFException

    Hi All, up to yesterday my process is woking fine. today only it shows some error lik bleow. oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: An unhandled exception has been thrown in the ESB system. The exception reported is:

  • When I am using internet it keeps switching to apple apps?

    When I am on my iPhone and iPad and using safari I touch something on the page and it sends me to apple apps?

  • Importing PDFs

    RH 8, Windows XP, Adobe Acrobat...I've been having some trouble with importing some PDF files - images blow up, text gets moved around, and some of the files (which were not created by me) generate a message that says the files are corrupted or in th