Trouble using asm instance for new database

I have an asm instance and am trying to create a new database that will use the asm storage. I'm using dbca to create the new database. This is a test system on windows so I'm using the asmtool -create flatfiles for disks with the asmallow_only_raw_disks parameter set to false.
If I have #SQLNET.AUTHENTICATION_SERVICES = (NTS) commented out in my sqlnet.ora, then I can't get into asmcmd:
ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
and dbca won't create the new database that uses asm because the dbca gets the same 01031 error when trying to create the control files for that database.
If I have SQLNET.AUTHENTICATION_SERVICES = (NTS) NOT commented out, the I can get into asmcmd, but I can't startup the databases using sys, even though I am sitting at the server,
AND, dbca won't create the new database that uses asm becuase the dbca can't start the instance
credential retrieval failure.
I'm in a catch 22. Something is not right with my system but I just can't seem to figure out what it is.
The asm instance does have a password file.

I let the dbca create scripts and am currently walking through the scripts. I think it's my asm database that is actually creating the problem. I did the orapwd and oradim manually and can startup nomount the instance just fine. The create database statement fails on creating the controlfile but it's saying it already exists. I suspected the dbca form wasn't giving me all the errors like it should.
Thanks for your suggestion on the password file.

Similar Messages

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • ORA-04054 : using variable substitution for the database link name

    Hi,
    I need to use variable substitution for the database link name.
    Here is my command :
    declare
    GET VARCHAR2(50);
    begin
    select OIA_GET_DESIGNATION into GET from INFODRI.OMA_IN_ARTICLES;
    for rec in (select * from [email protected]_GET_DESIGNATION)
    LOOP
    dbms_output.put_line('TEN_CODE vaut : '||rec.ten_code);
    END LOOP;
    exception
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERREUR ORACLE DETECTEE : '||rec.OIR_CUR);
    DBMS_OUTPUT.PUT_LINE('Message Erreur : '||SUBSTR(SQLERRM,1,245));
    :crd := -1;
    end;
    When I run this programm, I receive the error :
    ORA-04054: database link REC.OIA_GET_DESIGNATION does not exist
    When I replace :
    for rec in (select * from [email protected]_GET_DESIGNATION)
    by :
    for rec in (execute immediate 'select * from tensions@'||rec.OIA_GET_DESIGNATION)
    I receive the error :
    PLS-00103 : Encountered the symbol "IMMEDIATE" while parsing.
    What can I do to resolv my problem ?
    Regards,
    Rachel

    What is the name of the DB Link and the name of the object you are selecting
    from?
    I find it easier to create a view on the remote object then use that in selects.
    e.g,
    Link Name = MyLink
    Object_name = Addr_Loc
    create or replace VIEW Rem_Addr_Loc AS
    select * from addr_loc@mylink;
    In the code I then use the view
    begin
      for C_Rec in (select * from Rem_Addr_loc)
      loop
         dbms_output.put_line('Rec: '|| C_Rec.Col1);
      end loop;
    end;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Windows could not start DBConsole for new database instance

    Hi,
    I am getting this error "Windows could not start the OracleDBConsoleOracleInstance2 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the system vendor, and refer to service-specific error code 1".
    I installed Oracle 11g on Windows 7 and created my 1st database instance (oracleInstance1) successfully with a listener and service configured. I could access this database using DBconsole URL: https://hostname:1158/em.
    I see the services started for:
    OracleDBConsoleOracleInstance1
    OracleOraDb11g_home1TNSListener
    OracleServiceOracleInstance1
    Next, I created a second database instance (oracleInstance2) and have configured a new service for this database. I am using the same listener as I intend to use one database instance at any point of time.
    However, I got this warning message during configuration:
    "Enterprise manager configuration succeeded with the following warning - Error starting Database Control. Please execute the following command(s).
    1. Set the environment variable ORACLE_UNQNAME to Database unique name.
    2. C:\Oracle\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole"
    To start the new database console, I stopped the previously running DBConsole, OracleDBConsoleOracle1 and started the new DBConsole OracleDBConsoleOracle2 and get the above error.
    When I try to start dbconsole manually using "emctl dbconsole start", it starts OracleDBConsoleOracle1 instead.
    I changed environment variables ORACLE_SID=oracle2 and ORACLE_UNQNAME=oracle2
    What am I missing here. Please help!
    Thank you.

    968952 wrote:
    Hi,
    I am getting this error "Windows could not start the OracleDBConsoleOracleInstance2 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the system vendor, and refer to service-specific error code 1".
    I installed Oracle 11g on Windows 7 and created my 1st database instance (oracleInstance1) successfully with a listener and service configured. I could access this database using DBconsole URL: https://hostname:1158/em.
    I see the services started for:
    OracleDBConsoleOracleInstance1
    OracleOraDb11g_home1TNSListener
    OracleServiceOracleInstance1
    Next, I created a second database instance (oracleInstance2) and have configured a new service for this database. I am using the same listener as I intend to use one database instance at any point of time.
    However, I got this warning message during configuration:
    "Enterprise manager configuration succeeded with the following warning - Error starting Database Control. Please execute the following command(s).
    1. Set the environment variable ORACLE_UNQNAME to Database unique name.
    2. C:\Oracle\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole"
    To start the new database console, I stopped the previously running DBConsole, OracleDBConsoleOracle1
    Why?
    and started the new DBConsole OracleDBConsoleOracle2 and get the above error.
    When I try to start dbconsole manually using "emctl dbconsole start", it starts OracleDBConsoleOracle1 instead.
    I changed environment variables ORACLE_SID=oracle2 and ORACLE_UNQNAME=oracle2
    What am I missing here. Please help!First thing you are missing is showing us what you did. Instead you just described it, and that leaves a lot of room for questions. Copy and paste from a command prompt can work wonders here.
    From a command prompt, enter the following:
    set ORACLE_SID=oracle2
    set ORACLE_UNQNAME=oracle2
    set | sort
    net start
    emctl start dbconsolecopy the entire session, commands and full responses, and paste back here.
    >
    Thank you.Just to take a side road ...
    "I am using the same listener as I intend to use one database instance at any point of time. "
    Doesn't' matter if you use one instance or 100. The listener was DESIGNED to service multiple instances of multiple versions running from multiple homes. It is nothing but a connection broker. A telephone switchboard, if you will. All you need is a single listener, with the default name of LISTENER, running on the default port of 1521. It will handle all the database instances you care to throw at it. More instances than anyone in their right mind would ever put on a single server. Your server will run out of capacity to host additional instances before the listener runs out of capacity to service them. Especially since your 'server' is really just a toy in the Oracle world.

  • Trouble creating ASM instance

    Hi,
    I successfully installed clusterware and database and installed patchet 10.2.0.2 on a 2 node RAC (fresh installation).
    I tried configuring ASM using DBCA but i am getting this message which doesnt make sense as its a RAC:
    "The ASM instance configured on the local node ia s single-instance ASM. To manage this instance as a single-instance ASM, restart the DBCA and select the single-instance database option. To manage this instance as a RAC ASM, convert it to a RAC first."
    Any help much appreciated.
    Thanks,
    Ramya

    Hi,
    Thanks for your reply.
    Here is the result of CRS_STAT and SRVCTL.
    [root@archiveuat1 bin]# ./crs_stat -t
    Name Type Target State Host
    ora....T1.lsnr application ONLINE ONLINE archiveuat1
    ora....at1.gsd application ONLINE ONLINE archiveuat1
    ora....at1.ons application ONLINE ONLINE archiveuat1
    ora....at1.vip application ONLINE ONLINE archiveuat1
    ora....T2.lsnr application ONLINE ONLINE archiveuat2
    ora....at2.gsd application ONLINE ONLINE archiveuat2
    ora....at2.ons application ONLINE ONLINE archiveuat2
    ora....at2.vip application ONLINE ONLINE archiveuat2
    [oracle@archiveuat1 bin]$ ./srvctl status asm -n archiveuat1
    SRVCTL returns nothing.
    There is no option to delete asm using DBCA.

  • ASM instance for Multiple DBs in a RAC environment - 10GR2

    Are there any drawbacks if you create 2 RAC databases ex Chicago (consisting on 2 nodes Chicago1 and Chicago2) and Orlando (consisting of Oralndo1 and Oralndo2) on the same ASM instance running on Oracle 10G R2.
    Would it be better to create 2 ASM instances?
    Thanks

    ASM is node specific. Meaning you can only have one ASM instance per node.. its like any other volume manager. You only need one volume manager/storage manager to handle the storage for a given node. Its no different with ASM.
    So irrespective of the number of databases you plan to create on a node, you will only have one ASM instance.
    A word of caution when creating multiple RDBMS instances, is to ensure you have sufficient resources for this. Unless the user access patterns are considerably different or the business needs stipulate separate database, you should also consider database consolidation if possible.

  • Advantage of using RAW devices for storing database

    Hi,
    Marry Christmas to all.
    Oracle 10g version 10.2.0.1.0 (rac)
    OS : HP-UX 11i
    I am new to this enviornment. We are using raw devices for storig the database.
    Please tell what are the advantages for using raw devices for storing the database?
    Thanks.

    http://www.fors.com/orasupp/unix/37914_1.HTM
    The above link explains the raw devices and advantages.

  • Do we need run catbundle.sql file for new databases.

    dear all,
    i have doubt over execution of catbundle.sql or not?
    scenario:
    i have insatlled 10gr2 on rhel5 and applied patchset 4 (10.2.0.5) and applied Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update
    after this i have create fresh database.
    now,
    in Oracle® Database Patch 10248542 - 10.2.0.5.2 Patch Set Update document it has specified in belwo section
    3.4 Post Installation Instructions for Databases Created or Upgraded after Installation of PSU 10.2.0.5.2 in the Oracle Home
    These instructions are for a database that is created or upgraded after the installation of PSU 10.2.0.5.2.
    You must execute the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" for any new database only if it was created by any of the following methods:
    Using DBCA (Database Configuration Assistant) to select a sample database (General, Data Warehouse, Transaction Processing)
    Using a script that was created by DBCA that creates a database from a sample database
    Cloning a database that was created by either of the two preceding methods, and if the steps in Section 3.3.2, "Loading Modified SQL Files into the Database" were not executed after PSU 10.2.0.5.2 was applied
    Upgraded databases do not require any post-installation steps.
    so do we need to run catbundle here or not.
    since i have created fresh database after applying 10.2.0.5 PSU2 why does it required.
    opatch output:
    [oracle@RG615 ~]$ opatch lsinventory
    Invoking OPatch 10.2.0.5.1
    Oracle Interim Patch Installer version 10.2.0.5.1
    Copyright (c) 2010, Oracle Corporation. All rights reserved.
    Oracle Home : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1
    Central Inventory : /prd/crm/swbcrmdb/usr/oracle/oraInventory
    from : /etc/oraInst.loc
    OPatch version : 10.2.0.5.1
    OUI version : 10.2.0.5.0
    OUI location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/oui
    Log file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch2011-05-03_11-41-34AM.log
    Patch history file: /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/opatch_history.txt
    Lsinventory Output file location : /prd/crm/swbcrmdb/usr/oracle/product/10.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2011-05-03_11-41-34AM.txt
    Installed Top-level Products (2):
    Oracle Database 10g 10.2.0.1.0
    Oracle Database 10g Release 2 Patch Set 4 10.2.0.5.0
    There are 2 products installed in this Oracle Home.
    Interim patches (1) :
    Patch 10248542 : applied on Tue May 03 07:32:29 BST 2011
    Unique Patch ID: 13292123
    Created on 25 Dec 2010, 23:11:24 hrs PST8PDT
    Bugs fixed:
    6402302, 9713537, 8350262, 9949948, 8394351, 10327179, 8546356, 9711859
    9714832, 9952230, 10248542, 8544696, 9963497, 9772888, 8664189, 10249537
    7519406, 9952270, 8277300, 9726739
    OPatch succeeded.

    Pl post the output of view DBA_REGISTRY_HISTORY - see MOS Doc 605795.1 (Introduction To Oracle Database catbundle.sql)
    Was the database created using DBCA or manually using scripts ?
    Srini

  • Moving entire portal instance to new database

    Does anyone have scripts for exporting/importing an entire portal instance? I'm moving my development database from Windows NT to a Sun box, and since I can't move the database directly I need to do a full portal export/import of all portal contents (pages, applications, content areas, etc.).
    Thanks in advance.
    Cecil...

    Hi Cecil,
    I have found the portal export/import routines to be a bit buggy. Try it with care. In moving from NT to Sun I have trusted the full database export/import and it worked out just fine.
    On the Sun database just drop all the portal users (including portal30, portal30_sso, etc.). Then do a full database import on the Sun from the NT export. An important final note is to run the "ssodatan.sh" script to point to your new server.
    Hope this helps.
    Bob Bob,
    Would you consider talking with me about this? I have a couple questions, like, if I'm moving to a new database then I won't have a PORTAL30 or PORTAL30_SSO to drop befoe the import, or do I install Portal into the new DB, then drop the users, then impoer, etc. If you can discuss this, please send contact info to [email protected]
    Thanks!
    Cecil...

  • 10g ASM instance and 11g database

    Hello,
    does anybody ever connected ASM instance10.2 and database 11.1? Is there any sense in it? When I have two databases: 10.2 and 11.1 running on the same host, should they both use separate ASM instances or is it possible to connect them to the common one?
    Thanks,
    Aliq

    Yes, such combination is supported with asm 10.2 and database 11.1.
    You can check metalink note 337737.1 as well.

  • RDB for new database

    Friends, I installed
    a new Exchange Server 2010 environment
    and regained the previous database,
    based RDB, when I try to
    transfer the information from the database RDB
    data to the new database, I get the error message from the
    picture attached, see.
    I wonder, how can I solve this?
    For the user there but
    the previous Exchange that stopped working.
    Thanks !
    Ivanildo Teixeira Galvão

    Hi,
    Please use DisplayName, LegacyDN, or ExchangeGuid in Indentity parameter for testing.
    It depends on which mailbox database as opposed to AD (as AD is bypassed to mail Restores possible) the information stored in.
    Found a similar thread for your reference:
    Mailbox does not exist on recovery database
    http://social.technet.microsoft.com/Forums/exchange/en-US/f0890ab0-4a0e-49c3-a856-7f1ca6d21298/mailbox-does-not-exist-on-recovery-database?forum=exchange2010
    Feel free to contact me if there is any problem.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Use 1 listener for multiple database in a server

    hi guys,
    just want to check whether this is the right way to configure my Listener.ORA . I am using 1 listener.ora to listen for incoming request connection from remote client. There are multiple databases installed in a server.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )sorry i am reading about it so did not install another database to test out. Just thinking in the line that it mention that the list of SID is refering to the multiple database that is installed in a server and i am using 1 listener.
    Please further advice.

    Shivananda Rao wrote:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )Please use as above. You can have one listener for multiple databases.right right so it the pattern goes like this:
    SID_LIST_LISTENER =
         (SID_LIST =
              (SID_DESC =
              (GLOBAL_DBNAME = AAAA)
              (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
              (SID_NAME = AAAA)
              (SID_DESC =
              (GLOBAL_DBNAME = BBBB)
              (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
              (SID_NAME = BBBB)
         )thanks !

  • Can use ASM only when creating database using dbca

    I have a problem. When i create a database using DBCA, i can only use ASM as the file sytem. why ?
    i just installed the 10gR2 with cluster and donno why i cannot use ocfs.
    Thanks.

    What were your reasons with going with OCFS rather than ASM?
    Thanks.

  • Is it possible to add support for new database type in Data Modeler?

    Hi,
    I see that Data Modeler v.4 supports different versions of Oracle, DB2 and MS SQL. Is it possible to add support for a new database family,
    PostgreSQL for example? I hoped that RDBMS Site editor can do it, but so far I don't see any possibility to add XML files with metadata for a new RDBMS.
    I did it previously for PowerDesigner were it is possible to add and modify definitions for new relational databases.
    Thank you,
    Sergei

    There is discussion option as an out of the box feature. Check this: BI launch pad 4.0: Participate in a discussion about a document

  • How to create service for new database

    i am working on 8i.i want to create new database instead of existing for which first service have to create.i had created parameter file and perform changes,now with oradim i am trying to create service but it is giving incorrect version bcaz i have win2000 and oradim works with winnt only.

    Goodfire wrote:
    I want after creation of a custom database to execute a script that will create a Network Service without having to go through the UI
    Its just adding those 5 lines at tsnames.ora on the client dir
    How can I do i through a script?
    So I can plant it after Create DB script and have both in 1 step.
    P.S.
    The most obvious keywords on main SE don't return something for this so it worths adding it
    keywords : how to create client network service from script oracleWrong approach.
    Better: create database template and execute dbca in silent mode.
    Also execute netca in silent mode as Harrison suggest.
    PS: Adding the 5 lines to tnsnames.ora does not create a network service, first you have to set the "service_names" init parameter and the listener will create the service when the database starts (simplified explanation).
    :p

Maybe you are looking for