Start second database

Hello

I have two databases(11g) on my windows machine. One (ORCL is the name of the comic) which is the default with 8 k size block and second one (TESTDB4K) that I created with DBCA with block size 4 k.

After my second database has been successfully created, I started SQL * Plus with my previously created DBA user i.e. KAM, received the error that the user does not exist (second database block size 4 k became the PRIMARY database).

Now I want to connect to my database 8 k but I'm having difficulties.

How can I connect to my database default 8 k?

I tried different things like below 3 SQL Watch, but still not able to solve.
SQL > STARTUP NOMOUNT PFILE = ' D:\app\Administrator\product\11.1.0\db_1\database\INITORCL. ORA';
SQL > STARTUP NOMOUNT PFILE = ' D:\app\Administrator\product\11.1.0\db_1\database\INITORCL. ORA';
SQL > STARTUP PFILE ORCL OPEN = "D:\app\Administrator\product\11.1.0\db_1\database\INITORCL.ora" PARALLEL;
make the same mistake every time. I've used all sorts of options to stop to stop all instances but invain :(

ORACLE instance started.
Total System Global Area 263639040 bytes
Bytes of size 1332552 fixed
88083128 variable size bytes
171966464 of database buffers bytes
Redo buffers 2256896 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode

Please suggest with the help of SQL

Thank you very much.

Best regards
KAM

Try without the spaces before and after '=':

set ORACLE_SID=ORCL

Check with:

echo %ORACLE_SID%

Tags: Database

Similar Questions

  • How to start the database using CRS to start the database instance

    Dear Experts,

    How to start the database using CRS to start the database instance

    As a solution: remove the write permission on the/etc/oratab user database to prevent update to arrive.

    There is no harmful effects known to CRS / RDBMS operation if this workaround solution is used. This has been discussed in Bug 13028802.

  • Problem of temporary file in the database takes a while to start the database

    Legends of dear,

    I am facing the warning next or problem with R12.0.6 64 bit and 10.2.0.3 databases in a linux environment

    Mar 20 18:24:23 Oct 2015

    *********************************************************************

    ATTENTION: The following temporary tablespaces do not contain any file.

    This condition can occur when a backup controlfile

    been restored.  It may be necessary to add files to these

    storage spaces.  This can be done using the SQL statement:

    ALTER TABLESPACE < nom_tablespace > ADD TEMPFILE

    Furthermore, if these temporary tablespaces are no longer

    necessary, then they can be recessed.

    Temporary tablespace is empty: TEMP3

    *********************************************************************

    When I questioned my database_properties

    Select * from database_properties where name like '% TEMP % ";

    temp.png

    Journal Alerts

    Mar 20 18:24:23 Oct 2015

    Completed: ALTER DATABASE OPEN

    Mar 20 18:24:25 Oct 2015

    Additional checkpoint up to RBA to RBA [0x68e.5c2b5.0] [0x68e.5c26c.0], current journal line

    Details of the Temp file

    /Oracle/prod/DB/apps_st/data/temp03.dbf1TMP4
    /Oracle/prod/DB/apps_st/data/temp04.dbf2TMP4

    Because of the warning above when I give 'start-up' in "sqlplus" or start the database using the addbctl.sh script there is a huge gap between the following

    SQL > startup;

    ORACLE instance started.

    Total System Global Area 2147483648 bytes

    Bytes of size 2074112 fixed

    872417792 variable size bytes

    1258291200 of database buffers bytes

    Redo buffers 14700544 bytes

    Mounted database.

    ..............

    ................

    ..............

    .............

    ...........

    .......... (LOCAL TIME - 10 to 15 minutes)

    ...............

    ...............

    .................

    ........

    Open database.

    Please suggest how to deal with this.

    Thank you

    Knockaert

    Hello

    It is a question of pure database. Not much relationship to the EBS.

    Anyway, as stated in the warning, you must add a temporary file in the tablespace TEMP3 or drop the tablespace if you do not need.

    Can you post the full alerts log part, which takes 10 to 15 minutes?

    Kind regards

    Bashar

  • I have to stop and start the database after the data cache value increases?

    Hello!

    rule of Calc is in error and indicating that the error can be caused by data cache setting small size?

    I increased the value, but it still gives the same error message. I can't stop and start the database, just clicked on apply.

    I need also to check the journal rule and computation of the application to determine the cause of the error.

    But the key is in the question in the header...

    Kind regards

    user637777


    Yes, you do.

  • Bad system setting, cannot start the database

    Hello, I have problem with start my database

    C:\Users\Raw>sqlplus "/ as sysdba"
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Thu May 28 15:23:34 2015
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    Connected to an idle instance.
    
    SQL> startup
    ORACLE instance started.
    
    
    Total System Global Area 1068937216 bytes
    Fixed Size                  2182592 bytes
    Variable Size             587203136 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5595136 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-30012: undo tablespace 'UNDOTS3' does not exist or of wrong type
    Process ID: 2716
    Session ID: 5 Serial number: 3
    
    SQL> startup mount
    ORACLE instance started.
    
    
    Total System Global Area 1068937216 bytes
    Fixed Size                  2182592 bytes
    Variable Size             587203136 bytes
    Database Buffers          473956352 bytes
    Redo Buffers                5595136 bytes
    Database mounted.
    SQL> show parameter undo
    
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    undo_management                      string      AUTO
    undo_retention                       integer     900
    undo_tablespace                      string      UNDOTS3
    SQL> select * from v$tablespace;
    
    
           TS# NAME                           INC BIG FLA ENC
    ---------- ------------------------------ --- --- --- ---
             0 SYSTEM                         YES NO  YES
             1 SYSAUX                         YES NO  YES
             2 UNDOTBS1                       YES NO  YES
             4 USERS                          YES NO  YES
             3 TEMP                           NO  NO  YES
             6 ARB_TABLESPACE                 YES NO  YES
             7 ARB2_TABLESPACE                YES NO  YES
             5 UNDOTBS2                       YES NO  YES
             8 TEMP2                          NO  NO  YES
             9 UNDOTBS3                       YES NO  YES
    
    
    10 rows selected.
    
    
    SQL> alter system set undo_tablespace=UNDOTBS3 scope=both;
    alter system set undo_tablespace=UNDOTBS3 scope=both
    *
    ERROR at line 1:
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-01219: database not open: queries allowed on fixed tables/views only
    
    SQL> alter database open
      2  ;
    alter database open
    *
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    ORA-30012: undo tablespace 'UNDOTS3' does not exist or of wrong type
    Process ID: 1128
    Session ID: 5 Serial number: 3
    
    SQL>
    
    

    When I have a parameter not valid, the I often resolve when the database does not open is to simply create a pfile the spfile file:

    sqlplus

    Connect / as sysdba

    create pfile='/home/oracle/pfile.txt 'to spfile='/u01/app/oracle/product/12.1.0.2/dbs/spfileorcl.ora ';

    Then use a text editor to fix the value of the parameter. When done, save the changes. Then create spfile from pfile this and you should be able to start the instance.

    create spfile='/u01/app/oracle/product/12.1.0.2/dbs/spfileorcl.ora 'to pfile='/home/oracle/pfile.txt ';

    startup

    HTH,

    Brian

  • Cannot start the database after reducing the size of the RAM

    Hi all

    I have a database of GR 11, 2 installed in virtual box VM. Initially, I got 3 GB of RAM for this machine (when the database has been installed).

    I then reduced it to 1 GB. Then I tried to start the database, but I got error below.

    MEMORY_TARGET not supported on this system


    Help, please.


    Thank you

    Mauricette.

    User618902-OC says:

    Is it not possible to reduce the size of the RAM and start the database with configuration on MEMORY_TARGET changes?

    What part of "MEMORY_TARGET not supported on this system" do you NOT understand?

  • How to configure a web service primavera to return the data in the second database?

    Hello world


    We have P6 with WS first deployment on a single weblogic domain server. The first WS returns the first instance of database data.

    Then deployed to the WS second tip on a weblogic domain server separated with a different port. Set up the second WS with < WS2_INSTALL_HOME > / bin/dbconfig.sh, creating a new branch a configuration that specifies one second instance of the database. However, this configuration is ignored, and the second web services return data from the database.

    We have a single domain, including notably the following servers:

    Name / host / Port / deployments

    P6 / localhost / 0001 / P6 (v8.3), p6ws1 (v8.3)

    p6ws2 / localhost / 0002 / p6ws2 (v8.3)

    We have now two different files BREBootstrap.xml.

    P6 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@db1:1521:db1 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass1 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB1"instances ="1"logDir ="anydir, P6EPPM, p6, PrimaveraLogs"/ >

    < / configuration >

    p6ws2 BREBootstrap.xml:

    < database >

    < URL > JDBC:Oracle:thin:@DB2:1521:DB2 < / URL >

    < user name > pubuser < / name >

    password <>anycriptopass2 < / password >

    oracle.jdbc.OracleDriver < driver > < / driver >

    < PublicGroupId > 1 < / PublicGroupId >

    < / data >

    < CfgVersion > 8.330 < / CfgVersion >

    <>configurations

    < name BRE = 'P6 Config_DB2"instances ="1"logDir ="anydir, P6EPPM, ws2, PrimaveraLogs"/ >

    < / configuration >

    "P6 Config_DB1" and "P6 Config_DB2" including the property database for the database 1 and 2 respectively.

    How to set up a second web service to return the data to the second database?


    Thanks in advance!


    Kind regards

    Dmitry

    So, answer oracle support:

    Looks like it is in the documentation, Web Services cannot be configured in this way as the other modules. See the following topics:

    BUG 19516437 - Is it POSSIBLE TO hardcode a DEPLOYMENT of SERVICES WEB P6 to an INSTANCE of DATABASE? (ask if this is possible)

    BUG 19579735 - FOR BEING ABLE to hardcode A P6 WEB SERVICES DEPLOYMENT to A DATABASE INSTANCE (corresponding improvement because it can be done).

    The problem has been resolved by the following:

    1 create the WebLogic domain.

    2 P6 and p6ws deployed on managed servers.

    3 configuration P6 uses the second instance of database and P6 has not begun.

    4 result: the p6ws (from additional domain WebLogic) returns data for the second instance of the database.

    Kind regards

    Dmitry

  • How to start the database and servers after the installation of the Webcenter JSK Portal

    Hello

    I finally installed the portal WebCenter using JSK, after it turned off the machine, I don't know how to start the database or server, I need to set the environment variables? create the oracletab file? or is it a file .sh to start the database and servers?

    Any help will be great!

    Best regards!

    Thanks Françoise-Oracle for your response

    As you say, I need to go to /WCPortal_JSK_Linux.x 86-64/linux64, I found all the scripts that I needed to start or stop a server or database. But more especially if you run evertything, (I did) you just need to run the de./startup.sh script and wait, he'll run, but take some time.

    Best regards!

  • How can I start the database without using crsctl? ~ Xev

    Hey guys, it's Xev.

    I'm trying to recover cancellation based, and when I try to put the database to mount with sqlplus, it won't let me.

    How to use srvctl to put the database in a mode of editing?

    I stopped the entire stack of crs on both nodes, but I'm not clear on how to assemble the database now to the CCR?

    Thank you

    Xev.

    Xev Bellringer wrote:

    Ho Toby, when I try this command, srvctl start db d db_unique_name o mount

    It gives me the following two errors:

    PRCD-1027 unable to recover the RAC database

    RPRC-1070 has been unable to verify

    I have the GRID_HOME of source and I use root of course srvctl start because it is in srvctl.

    I have crs stack while I do this? If yes how do I start the CRS battery without the database?

    Hi Xev

    On this step, I'm assuming that you have defined cluster_database = false and have stop the CRS.

    Remember: -.

    1 take a full backup still running (assume that you already have).

    2. make cluster_database = false, before starting the recovery.

    3 went parallelmediarestore the RMAN parameter, because it can slow down the recovery process.

    4 restore the db.

    5. you start db.

    6. set cluster_database = true.

    7. stop your db in normal mode, immediate.

    8. start your database by srvctl

    Good luck...

    Concerning

    Jihane Narain Sylca

  • Cannot start the database instance - cannot open the spfile

    Here's what I did, that lead to a problem starting my database instance. It is a database that I just load data, and I do not have a backup yet :-(

    I created a structure for a new database and data loaded from a different database, which has been a very long process of becasus of the amount of data.

    Today, I decided to create a model of this database by using the Configuration Wizard.

    Before you begin the management of models, I decided to remove an old database that was never created correctly. I used the Setup Wizard to remove this database and got an error that SPFILEROVM. There is no such thing as ORA. But the removal has completed, and I worry too much.

    Then, I started to create my GoodDatabase model. I stopped with the message again that the SPFILEROVM. ORA (from the old database) did not exist. But it is already stopped my GoodDatabase and I can't restart. I use OEM Database Control for restart, but I get the complaint about the SPFILEROVM once again. ORA of the old database. How can I solve this problem? The error of OEM is attached below. The database is under Windows Server 2003. I can connect in OEM to another database instance (orcle) but I do not have the OEM rack.

    Thanks in advance.


    SQL * more: release 10.2.0.3.0 - Production the Sea 2 08:42:15 Feb 2011

    SQL > SQL > connect to an idle instance.
    SQL > ORA-01078: failure in the treatment of system settings
    ORA-01565: error to identify the file ' F:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\SPFILEROVM. ORA'
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 2) the system cannot find the file specified.
    Disconnected

    1 find the log of alerts for this instance
    2. look for the section where the database is put into service. All default settings will be listed here. Copy the parameters by using Ctrl + c
    3. create a file F:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\initrovm.ora
    4. Paste the settings in this file
    5. start a dos commands prompt
    6 set oracle_sid = rovm
    7 sqlplus / as sysdba
    8. create spfile from pfile

    Your database must begin now.

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • SUBJECT VERY ESSENTIAL... HOW TO START A DATABASE PROJECT

    Hello everyone,

    I actually followed several courses in Oracle, in particular, in DBA. With the fact that all my classes are hands-on classes, but I really want to start something for me. I want to see me do something. For example, an oracle database for a school. I know it's a very big project; but I want to create a small demo of the project for a school database.

    My problem is I don't know where to start! Should I create the tables first through SQL. create points of view; Enter some data demonstration; Then go to build forms; and build reports? This is how it works?

    Please give me an advice in simple and clear words.

    Thank you very much.

    How to start a database project is no different from any other software development project. There is a basic software development lifecycle SDLC (or life).

    The first thing to do is to determine the objectives of the project. You know what must the project and what requirements must be completed.

    If you do not know that... so how do you know what to develop, how to test that and when to stop development?

    There are tons of books on the subject. There are many views and opinions, and SDLC methodologies - but your project does not have a dollar of multi-million one, you can afford to keep it simple and easy.

    The basic software engineering life cycle has the following steps.

    User specification. This article describes the basic problem (in a perspective of business or user) that needs to be addressed. For example the school needs a student registration system...

    Specification of functional requirements. These are crucial because they determine the goal of the project posts. The final solution s/w is checked against this and every listed function checked to see if the s/w addresses. Functional specifications are independent of the technology. No project, no architecture and no coding considerations at this stage. Instead, the functions are described that the system must support. For example "add new student" will be such a function. "a transfer student" another. Each function will be described in detail (from the perspective of the company) exactly what the company needs to do and have to perform with success this business function.

    Requirement technical specifications. This translates the functional specification in the data sheet. These technical specifications is what will be used to develop the system and that developers will use. It should contain the data, specification of database model, specifications of language, standards, architecture, interfaces and management controls and so on — all the workings of the proposed solution.

    Development and test phase. This is where the database is created, a software written, created test harness, etc.. This is typically an iterative phase (develop service abctest abc, defdevelop, test the function def, function etc.).

    Deployment phase. In this phase the system for the use of production - and often goes hand in hand with final test and acceptance (by ensuring that the delivered system meets the requirements of functional specifications).

    In a Word, this is the essence of a software lifecycle. There may be many differences on that. Agile design and development is a relatively new approach (but always contains the basic ingredients of above). It was JAD (joint application development) which became popular in the 1990s. There is DSDM (Dynamic Systems Development method) and others.

    But don't be too preoccupied by these--as sucks it that you understand the basis of the life cycle of software engineering and know how to create the action plan you need before that start whacking away at the keyboard creating tables and writing code.

  • DBSTART start the database but the instance is not started...

    Hello

    I use dbstart and it works fine (version is 10g R2)

    I run the command dbstart and it starts the database, even I added two lines to select the version name and databsae. everything is ok. But when he finished, I connect to sqlplus and run
    sqlplus "/ as sysdba"
    It gives me "connection to an instance inactive."
    I check ORACLE_SID and ORACLE_HOME, everything is ok. I checkd the processes using the ps - to the | grep db_name and it shows the current Oracle process

    What is the reason?

    Thank you

    /Home/opt/Oracle/product/10.2/Db_1/

    Remove the slash and try again

    export ORACLE_HOME=/home/opt/oracle/product/10.2/db_1
    sqlplus / as sysdba

  • How do I make it start the database

    Hello
    I have installed oracle database 11 GR 1 material in oel5 (32 bit). How to start the database?


    Solution needed

    Dear user8818950 Muvendran!

    You have created a database yet? If Yes, then you could do the following steps to start:

    1.) Execute the script oraenv. It should be located in the usr directory

    . oranev
    ORACLE_SID = [ORCL] ? 
    

    Please fill in your Oracle SID after the questionmark.

    2.) start your listener

    lsnrctl start
    

    3.) start SQL * more and connect as sysdba

    sqlplus sys/password as sysdba
    

    4.) startup type to start your database

    startup
    

    After that, everything should be good.

    Yours sincerely

    Florian W.

    Published by: Florian W. the 05.11.2009 13:54

    P.S. If you do not know the name of your database (ORACLE_SID) that you can look in the/etc/oratab file. E. g,

    ORCL:/u01/app/oracle/product/10.2.0:N
    

    The first column indicates your ORACLE_SID. If you want to start your database whenever your server starts that you can change the N in the last column of Y.

    Best regards

  • Hierarchical WITH query/START / remote database error

    Running: EE 10.1.0.4.0 - 64 bit
    Remote DB: EE 11.1.0.6.0 - 64 bit Production

    By train:
    < PRE >
    WITH
    Moo
    AS
    (
    SELECT
    1
    Of
    Dual@EPO11_Link A
    CONNECT
    LEVEL = 1
    START BY
    There ARE (SELECT * FROM Dual@EPO11_Link B WHERE A.Dummy = B.Dummy)
    )
    SELECT
    *
    Of
    Moo;
    < / PRE >

    How to get:
    ORA-00904: "A3". "" $nso_col_1 ": invalid identifier
    ORA-02063: preceding the line of EPO11_LINK
    00904, 00000 - '% s: invalid identifier '.
    * Cause:
    * Action:

    -Request of the CTE works well on its own.

    -remove the @ to the first Dual@EPO11_Link works.

    -remove the @ to the second Dual@EPO11_Link errors:
    ORA-02016: cannot use a subquery in a START WITH on a remote database
    02016 00000 - 'impossible to use a subquery in a WITH DEPARTURE on a remote database'
    * Cause:
    * Action:
    Error on line: column 10:24

    -Remove the START WITH clause works.
    -Change of START WITH '=' on 'IN' clause, works.
    -Changing the START WITH to EXISTS (SELECT * FROM B Dual@EPO11_Link WHERE A.Dummy = B.Dummy) translates into:
    ORA-00904: "A3". "" DUMMY ": invalid identifier
    ORA-02063: preceding the line of EPO11_LINK
    00904, 00000 - '% s: invalid identifier '.
    * Cause:
    * Action:

    Am I missing something here?

    Published by: Brian Tkatch on January 19, 2012 13:27

    Although / * + MATERIALIZE * / is fairly commonly used it is not documented suspicion. You can also try to / * + DRIVING_SITE () * / http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements006.htm#SQLRF50704

  • My Windows Xp is not Geniune. And not running the versions of office. did not start second time

    Windows XP problem.

    My Windows Xp is not Geniune. And not running the versions of office. not starts the second time.

    So buy and install a legitimate version.

Maybe you are looking for

  • My update is my phone keep cycling through the settings of update iCloud

    My update is my phone keep cycling through the settings of update iCloud What should I do

  • Sharing in the Finder option does not work

    When I select any file in the Finder and choose to share it with other applications (Mail, AirDrop, Message, etc.), nothing happens in my Mac and all the search options are disabled. the only thing I can do in the Finder, from that moment, it's navig

  • HP Color LaserJet 4550: HP Color LaserJet 4550 PCL XL error

    I use this printer for years.  It works beautifully. Windows 10 has just done an update & the printer driver disappeared.  I use this printer with a HP Jet Direct J4135A usb card.  Now any driver or what I do I try to install or use, I get the same e

  • text of ring works differently developing end vs ex environment?

    Hi allThe text of the ring somehow works differently in the environment vs development exeenvironment.  I can't understand why.I have attached the vi of the façade and the block diagram. Basically, I want to remove the text/number in the text of the

  • imaq1394GetInterfaceFiles

    Hello I try to use imaq1394GetInterfaceFiles with library CVI 8.5 and IMAQ IEEE-1394 functions to see if a FireWire camera connected to the PC. I found an example with LabView but I don't understand the settings I need to pass to the function when I