Conected idle instance if i set oracle_sid=orcl which is not actual my sid

Hello Team,
My original ORACLE_SID=PROD
ENV:- UNIX sOLARIS
NOW IF I SET oracle_sid=orcl (which is wrong) and connect to sqlplus...--Connected to idle instnace--agreed!!
since sid is different so how it did connected to sqlplus (i mean having wrong sid means wrong oracle_home/no oracle_home, so how did sqlplus got launched).
Any other OS level file is accessed to get connected to sqlplus??

Osama_mustafa wrote:
When you set ORACLE_SID , oracle will start looking for spfile for this instance to read the instance parameter that enable to start database , if nothing found Error will appear .I dont't think this is correct: this what SQL*Plus STARTUP statement will do but if you don't use STARTUP statement and just want to connect to a local instance defined by ORACLE_SID and ORACLE_HOME SQL*Plus is not going to read SPFILE/FILE because it does not need to do it.
ORACLE_SID and ORACLE_HOME are used by SQL*Plus to compute a shared memory key that is used to access database instance SGA: that is all what SQL*Plus needs to know in order to access a local instance (i.e. without Oracle Net).
Here a quick test case with 11.2.0.1 EE on Oracle Linux 5.8:
[oracle@lx01 dbs]$ echo $ORACLE_SID
DB112
[oracle@lx01 dbs]$ echo $ORACLE_HOME
/u01/app/oracle/product/11.2.0/EE
[oracle@lx01 dbs]$ ls -al $ORACLE_HOME/dbs/s*
-rw-r----- 1 oracle oinstall 9748480 Jan 29  2012 /u01/app/oracle/product/11.2.0/EE/dbs/snapcf_DB112.f
-rw-r----- 1 oracle oinstall    3584 Nov 19 08:53 /u01/app/oracle/product/11.2.0/EE/dbs/spfileDB112.ora.new
[oracle@lx01 dbs]$ ls -al $ORACLE_HOME/dbs/i*
ls: /u01/app/oracle/product/11.2.0/EE/dbs/i*: No such file or directory
[oracle@lx01 dbs]$ sqlplus test/test
SQL*Plus: Release 11.2.0.1.0 Production on Mon Nov 19 08:59:10 2012
Copyright (c) 1982, 2009, Oracle.  All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select status from v$instance;
STATUS
OPEN
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsEdited by: P. Forstmann on 19 nov. 2012 08:36
Edited by: P. Forstmann on 19 nov. 2012 08:57

Similar Messages

  • [svn] 3526: The call to the TestNG task in the configuration test framework had haltOnFailure set to true which is not what we want .

    Revision: 3526
    Author: [email protected]
    Date: 2008-10-08 14:21:40 -0700 (Wed, 08 Oct 2008)
    Log Message:
    The call to the TestNG task in the configuration test framework had haltOnFailure set to true which is not what we want. Failures will get logged to the database at which point we can review them.
    Also fix a failing test.
    Modified Paths:
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/build.xml
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/jms/NoJNDINameT est/error.txt
    blazeds/trunk/qa/apps/qa-regress/testsuites/config/tests/messagingService/jms/NoJNDINameT est/services-config.xml

    I have a standard Ant build script for signing a jar file. I import it into my master Ant build files with
    <import file="Sign.xml"/>
    and then in my master Ant script I setup the name of the jar file e.g.
    <property name="jar-file" value="${fun}/FunApplet.jar"/>
    and then invoke a target
    <target name="sign-jar" depends="jar, sign">
    </target>
    Since this target (sign-jar) depends on target 'jar' and target 'sign' it executes the 'jar' target and then the 'sign' target that is contained in Sign.xml.

  • How set a place which is not found by internal db and goodle

    Hi,
    I want to add a new place to some photos, but unfortunately neither the built in database nor google does know the place Gullfoss, Iceland for example (http://en.wikipedia.org/wiki/Gullfoss).
    I know that I can set a pin at any place on the map, but I don't find the place in the iPhoto maps - the satellite view is very bad, the map of iceland has no streets, not all rivers ...
    If I use openstreetmap I find more places than in google, so I could get the geo coordinates from there. But is there a way to enter coordinates directly? I guess this is only possible with third-party tools, but you never know ...
    Is there maybe a workaround to enter the coordinates in the google search field directly in some format?
    Jürgen

    Thanks, using the geotagger tool I could assign these places. If somebody else is crazy enough to tag all old photos with exact places, this could help:
    o Go to openstreetmap.org or pick another source* for gps-data (openstreetmap has ofter better maps than google when you search outside of citys and highways, e.g. many hiking trails.
    o In openstreetmap for example search for the place using the search box on the left side, or by using the map.
    o Found the place? Double-click it once more - this will move it to the center of the screen. Then click on "Permalink" on the bottom right corner, your URL will change now and contain something like: ...lat=64.32697&lon=-20.12093...
    o Change this to "64.32697, -20.12093" and enter the value in the search box inside Google Earth. This will locate the same place there.
    o Now start Geotagger and drag the photos from this place from iPhoto on the dock icon. Done ...
    To reflect the changes you will have to restart iPhoto while holding command and option key down. Then pick the option "Rebuild all thumbnails"**, this is the second option and I'm not sure how it is exactly called in english. This will take a while (more than a hour for me), but afterwards iPhoto will know the new GPS data.
    (*) If you use another source check it with a place you know very well first of all. You can write geo-coordinates in several ways, and sometimes you'll need a transformation before you can use them in google earth.
    (**) It seems like this can cause problems with the places db (at least for me), so I recommend to have a backup before doing this...

  • Connected to an idle instance after computer crash

    I was inserting rows as following
    begin
    for i in 1..10000000
    loop
    insert into test values(i, dbms_random.string('U',50), dbms_random.string('U',50), dbms_random.string('U',50), dbms_random.string('U',50), dbms_random.string('U',50));
    end loop;
    end;
    /All of a sudden my computer crashed after an hour.
    I did a reboot and I am not able to use my database anymore. What did happen and how to repair it?
    I started database instance ORCL and it's listener and all I can see is:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
    C:\Windows\system32>set ORACLE_SID=ORCL
    C:\Windows\system32>cd ..
    C:\Windows>cd ..
    C:\>cd app\INDREK\product\11.2.0\dbhome_1\BIN
    C:\app\INDREK\product\11.2.0\dbhome_1\BIN>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on L Sept 1 15:38:24 2012
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> alter database mount;
    alter database mount
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    SQL> startup
    ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
    ORACLE instance started.
    Total System Global Area 3340451840 bytes
    Fixed Size                  2180344 bytes
    Variable Size            1979714312 bytes
    Database Buffers         1342177280 bytes
    Redo Buffers               16379904 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    Process ID: 4940
    Session ID: 191 Serial number: 3
    SQL>

    As for OS and database versions: Windows 7 Pro 64 bit and
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - ProductionThere is a lot of information in this alert log. The latest records that seems suspicious in this XML alert log are following:
    <txt>
    LGWR: STARTING ARCH PROCESSES
    </txt>
    <txt>
    ARC0 started with pid=21, OS id=2412
    </txt>
    <txt>
    ARC0: Archival started
    </txt>
    <txt>
    LGWR: STARTING ARCH PROCESSES COMPLETE
    </txt>
    <txt>
    ARC0: STARTING ARCH PROCESSES
    </txt>
    <txt>
    ARC1 started with pid=22, OS id=4932
    </txt>
    <txt>
    ARC2 started with pid=23, OS id=2020
    </txt>
    <txt>
    ARC1: Archival started
    </txt>
    <txt>
    ARC3 started with pid=24, OS id=4244
    </txt>
    <txt>
    ARC2: Archival started
    </txt>
    <txt>
    ARC1: Becoming the &apos;no FAL&apos; ARCH
    </txt>
    <txt>
    ARC1: Becoming the &apos;no SRL&apos; ARCH
    </txt>
    <txt>
    ARC2: Becoming the heartbeat ARCH
    </txt>
    <txt>
    Errors in file c:\app\indrek\diag\rdbms\orcl\orcl\trace\orcl_ora_4940.trc:ORA-19815:
    WARNING: db_recovery_file_dest_size of 4102029312 bytes is 100.00% used, and has 0 remaining bytes available.
    </txt>
    <txt>
    ARCH: Error 19809 Creating archive log file to &apos;C:\APP\INDREK\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2012_09_01\O1_MF_1_125_%U_.ARC&apos;
    </txt>
    <txt>
    Errors in file c:\app\indrek\diag\rdbms\orcl\orcl\trace\orcl_arc1_4932.trc:
    ORA-19809: limit exceeded for recovery files
    ORA-19804: cannot reclaim 34328064 bytes disk space from 4102029312 limit
    </txt>
    <txt>
    Errors in file c:\app\indrek\diag\rdbms\orcl\orcl\trace\orcl_ora_4940.trc:
    ORA-16038: log 1 sequence# 125 cannot be archived
    ORA-19809: limit exceeded for recovery files
    ORA-00312: online log 1 thread 1: &apos;C:\APP\INDREK\ORADATA\ORCL\REDO01.LOG&apos;
    </txt>Edited by: totalnewby on Sep 1, 2012 7:46 AM

  • Help please!   connected to an idle instance

    Hello,
    I am new to oracle administration. I instlled 11gR2 on windows 7 64 bit. It was working fine. Then I applied the patch DB 11.2.0.1 Patch 10: 10432045 . I can nolong connect. I tried a lot and ead lot of blogs. But now thoroughly confused! I am giving soem info that you may need. Please help!!!!
    Thanks,
    Badal
    * All oracle related services are set to automatic start up and are all up
    ORACLE_HOME=K:\app\badal\product\11.2.0\dbhome_1
    ORACLE_SID=ORCL
    When tried sqlplus i got
    *>sqlplus myschema/password@ORCL*
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    As sysdba, I got this:
    C:\windows\system32>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Mar 3 11:08:44 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to an idle instance.
    lsnrctl status gives me this
    C:\windows\system32>lsnrctl status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 03-MAR-2012 11:11:08
    Uptime 0 days 0 hr. 0 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File K:\app\badal\product\11.2.0\dbhome_1\network\admin\list
    ener.ora
    Listener Log File k:\app\badal\diag\tnslsnr\HPC1\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HPC1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    My tnsnames.ora:
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HPC1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    My listner.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = K:\app\badal\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:K:\app\badal\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = HPC1)(PORT = 1521))
    ADR_BASE_LISTENER = K:\app\badal

    Hello Sagar ! Here is the result after startup
    C:\windows\system32>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-MAR-2012 11:39
    :28
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 03-MAR-2012 11:11:08
    Uptime 0 days 0 hr. 28 min. 23 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File K:\app\badal\product\11.2.0\dbhome_1\network\admin\list
    ener.ora
    Listener Log File k:\app\badal\diag\tnslsnr\HPC1\listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HPC1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    C:\windows\system32>sqlplus system/password@ORCL
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Mar 3 11:41:03 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

  • Connected to an idle instance; trouble creating DB

    I tried to connect to my database and got Connected to an idle instance:
    C:\>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 22 19:07:34 2014
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to an idle instance.
    SQL> select status, database_status from v$instance;
    select status, database_status from v$instance
    ERROR at line 1:
    ORA-01034: ORACLE not available
    Process ID: 0
    Session ID: 0 Serial number: 0
    Further, the Getting Started page cannot be found with Error code: ERR_CONNECTION_REFUSED: http://127.0.0.1:8080/apex/f?p=4950
    What I did to try and resolve this issue
    While digging in various forums, I found that maybe I needed to specify the initXE.ora file on startup:
    SQL> startup pfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora'
    ORA-01565: error in identifying file 'C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora'
    ORA-27041: unable to open file
    OSD-04002: unable to open file
    O/S-Error: (OS 2) The system cannot find the file specified.
    ORA-01078: failure in processing system parameters
    No such spfileXE.ora file. OK, so create it?
    SQL> create spfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs\spfileXE.ora' from pfile='C:\oraclexe\app\oracle\product\11.2.0\server\dbs\init.ora';
    File created.
    SQL> startup pfile='C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora'
    ORA-48108: invalid value given for the diagnostic_dest init.ora parameter
    ORA-48140: the specified ADR Base directory does not exist [C:\oraclexe\app\oracle\product\11.2.0\server\DATABASE\<ORACLE_BASE>]
    ORA-48187: specified directory does not exist
    OSD-00002: additional error information
    O/S-Error: (OS 123) The filename, directory name, or volume label syntax is incorrect.
    SQL>
    Well, I guess I have no ADR Base directory..
    C:\oraclexe\app\oracle\product\11.2.0\server\database>dir
    Volume in drive C is Windows
    Volume Serial Number is 8822-A545
    Directory of C:\oraclexe\app\oracle\product\11.2.0\server\database
    22/09/2014  06:06 PM    <DIR>          .
    22/09/2014  06:06 PM    <DIR>          ..
    22/09/2014  06:06 PM             2,048 hc_xe.dat
    22/09/2014  02:44 PM                73 initXE.ora
    27/08/2011  09:58 AM            31,744 oradba.exe
    22/09/2014  05:07 PM             2,265 oradim.log
                   4 File(s)         36,130 bytes
                   2 Dir(s)  298,041,913,344 bytes free
    I list as much supporting information as I know how to below.
    Environment
    Windows 7 Enterprise, SP1, 64-bit.
    Oracle Database Express Edition 11g Release 2 for Windows x32
    I have these environment variables set:
    echo %ORACLE_SID% - %ORACLE_HOME%
    XE - C:\oraclexe\app\oracle\product\11.2.0\server
    Installation settings
    These are the installation settings used by the installer:
    Destination Folder: C:\oraclexe\
    Oracle Home: C:\oraclexe\app\oracle\product\11.2.0\server\
    Oracle Base:C:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for 'Oracle HTTP Listener': 8080
    Output from lsnrctl stat
    Some debugging information that may be useful:
    C:\oraclexe\app\oracle\product\11.2.0\server\bin>lsnrctl stat
    LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 22-SEP-2014 19:05:52
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Production
    Start Date                22-SEP-2014 17:07:02
    Uptime                    0 days 1 hr. 58 min. 49 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oraclexe\app\oracle\product\11.2.0\server\network\admin\listener.ora
    Listener Log File         C:\oraclexe\app\oracle\diag\tnslsnr\ITS57151\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myhost.mycompany.local)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\oraclexe\app\oracle\product\11.2.0\server\bin>
    Various config files
    Here are the contents of other important files.
    The initXE.ora file - C:\oraclexe\app\oracle\product\11.2.0\server\database\initXE.ora
    SPFILE='C:\oraclexe\app\oracle\product\11.2.0\server\dbs/spfileXE.ora'
    The listener.ora file - C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\listener.ora
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mycompany.local)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    The tnsnames.ora file - C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN\tnsnames.ora
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.mycompany.local)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    Edited to restructure question to put the meat of the issue up front and supporting information below.

    Uninstall Oracle Database Express Edition 11g Release 2 for Windows x32
    Download and install Oracle Database Express Edition 11g Release 2 for Windows x64
    Take some time to de-stress.

  • Moved Oracle 11.2 XE Directory, Connected to Idle Instance

    So I will start off by stating I have moved the regular install location of Oracle 11.2 XE to a logical volume (/oracle) I had created on my RHEL 6.6 server. After shutting down both the database and the Oracle listener, I performed...
        $ cp -R /u01/app/* /oracle
        $ rm -rf /u01/app/oracl
        $ ln -s /oracle/oracle /u01/app/oracle
    Then restarted the listener and the database. Now when I attempt to run the following as the user 'oracle' I get a message...
        $ sqlplus
        Enter user-name: sys / as sysdba
        Enter password: ****
        Connected to idle instance.
    Further, when I attempt a startup I get an error.
        > startup
        ORA-45301: XE Edition single instance violation error
    I have attempted the solutions found  to no avail.
    Here is the output for my listener controller:
        bash-4.1$ lsnrctl status
        LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 10-MAR-2015 10:26:25
        Copyright (c) 1991, 2011, Oracle.  All rights reserved.
        Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
        STATUS of the LISTENER
        Alias                     LISTENER
        Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
        Start Date                10-MAR-2015 10:25:57
        Uptime                    0 days 0 hr. 0 min. 28 sec
        Trace Level               off
        Security                  ON: Local OS Authentication
        SNMP                      OFF
        Default Service           XE
        Listener Parameter File   /u01/app/oracle/product/11.2.0/xe/network/admin/listener.ora
        Listener Log File         /u01/app/oracle/diag/tnslsnr/dev/listener/alert/log.xml
        Listening Endpoints Summary...
          (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
          (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dev)(PORT=1521)))
        Services Summary...
        Service "PLSExtProc" has 1 instance(s).
          Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
        The command completed successfully
    I'm really quite lost as to what to attempt next. I know I could just reinstall and keep the directory in its proper location but I need it to be in it's own logical volume.
    Some further information to help clarify my system...
        bash-4.1$ env | grep ORA
        ORACLE_SID=XE
        ORACLE_BASE=/oracle/oracle
        ORACLE_HOME=/oracle/oracle/product/11.2.0/xe
        bash-4.1$ env | grep TNS
        TNS_ADMIN=/oracle/oracle/product/11.2.0/xe/network/admin
        bash-4.1$ ps -aux | grep pmon
        oracle    2431  0.0  0.2 1265956 16652 ?       Ss   11:43   0:00 xe_pmon_XE
    EDIT
    Attempting to sign in to sqlplus using the SYSTEM user returned an error:
        ORA-01034: ORACLE not available
        ORA-27101: shared memory realm does not exist
        Linux-x86_64 Error: 2: No such file or directory
    FURTHER EDIT
    Output of the ipcs command
        bash-4.1$ ipcs
        ------ Shared Memory Segments --------
        key        shmid      owner      perms      bytes      nattch     status
        0xc0a59444 32768      oracle     660        4096       0
        ------ Semaphore Arrays --------
        key        semid      owner      perms      nsems
        0xd4a9963c 229378     oracle     660        104
        0x884d8f34 491523     oracle     660        104
        ------ Message Queues --------
        key        msqid      owner      perms      used-bytes   messages

    Already solved this issue. The problem was due to incorrect set of env variables:
    export ORACLE_BASE=/home/oracle/
    export ORACLE_HOME=$ORACLE_BASE/11G
    resulted:
    ORACLE_HOME=/home/oracle//11G
    Linux is capable of retrieving directory content if path is set with *"//"* but seems like oracle does not. Due to this I've got this error. After resetting ORACLE_HOME variable, everything worked.

  • Connected to an idle instance in sun cluster nodes.

    i have two sun cluster node sharing common storage.
    Two schema's:
    test1 for nodeA
    test2 for nodeB.
    My requirement is as below:
    Login into b node.
    export ORACLE_SID=test1.
    sqlplus / as sysdba.
    But i am getting as
    "connected to an idle instance"
    Is there any way to connect to node A schema from Node B.

    I found the answer..
    sqlplus <sysdbauser>/<password>@test1 as sysdba

  • Can't access an ORACLE db on Windows via setting %ORACLE_SID%

    Hello!
    I'm pretty new to ORACLE on Windows (I'm a UNIX person), so I would appreciate any help I can get! I have two ORACLE 11.2.0.1 databases on a Windows 2008 R2 server. One of the databases crashed due to too many archive logs in flash recovery area (the RMAN backup I put together was never scheduled by the sysadmin). I removed all old archive logs and am trying to log into the database to clean it up but I can't get in. Changing %ORACLE_SID% doesn't seem to work:
    C:\Users\kcoachman>set %ORACLE_SID%=test <== this is the database which is up with no issues
    C:\Users\kcoachman>set %ORACLE_SID%
    %ORACLE_SID%=test
    C:\Users\kcoachman>set %ORACLE_HOME%
    %ORACLE_HOME%=F:\app\wcadmin\product\11.2.0\dbhome_1
    C:\Users\kcoachman>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 28 12:20:48 2013
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> select name from v$database;
    NAME
    TEST
    SQL> exit
    Disconnected from Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    C:\Users\kcoachman>set %ORACLE_SID%=abat <== this is the database which crashed
    C:\Users\kcoachman>set %ORACLE_SID%
    %ORACLE_SID%=abat
    C:\Users\kcoachman>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 28 12:21:07 2013
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Connected to:
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    SQL> select name from v$database;
    NAME
    TEST <== what? I'm still in TEST!
    SQL> exit
    Disconnected from Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Changing %ORACLE_SID% worked fine before the database crashed. Also I have another server with 3 ORACLE Databases, no problems going from one database to another via changing %ORACLE_SID%... Has anyone seen this before and how do I get into the database to fix it?
    Thank you!
    Katya

    On Windows, you don't set ORACLE_HOME as environment variable directly. You set PATH and rest of env is setup via oracle.key file and Registry variables/values.
    To "see" this, open a new command window, run sqlplus (found via PATH setting, or explicit path in command line), and check %oracle_home% and %oracle_sid% inside sqlplus. E.g. using @[[%oracle_sid%]].
    For the attempt to set ORACLE_SID for the "second" instance, within the same Home. You actually set a variable named %ORACLE_SID%. Which can be tricky, if not dangerous (allowing % in variable names, that is).
    C:\>set ora
    Environment variable ora not defined
    C:\>set %ora
    Environment variable %ora not defined
    C:\>set | findstr /i "ora"
    C:\>set %ora%=test1
    C:\>set ora=test2
    C:\>set | findstr /i "ora"
    %ora%=test1
    ora=test2
    C:\>set %ora%=test3
    C:\>set | findstr /i "ora"
    %ora%=test1
    ora=test2
    C:\>set | findstr /i "test"
    %ora%=test1
    ora=test2
    test2=test3Edited by: orafad on Feb 28, 2013 10:41 PM
    Edited by: orafad on Feb 28, 2013 10:47 PM

  • Setting ORACLE_SID and connecting without @SID

    I am trying to install ArcSDE on the same server I have my 11g RDBMS. The SDE service fails because of a ORA-12560 error. But, that is not my question just the facts which build up to my question. The server is Windows 2003 64bit. The database is 11g.
    In each users environment values I have set ORACLE_HOME and ORACLE_SID yet I still have to put @SID in my sqlplus connections like (sqlplus system/manager@ORCL). If I dont put it in I get ORA-12560 errors.
    I think that is why the SDE service wont start. I just dont know why the ORACLE_SID Env Variable isnt being read.

    @SID means & requires SQL*Net to connect into the DB.
    Without @SID ideally the connection is made using BEQUEATH protocol
    post results from the 2 following command using CUT & PASTE
    lsnrctl status
    lsnrctl service
    12560, 00000, "TNS:protocol adapter error"
    // *Cause: A generic protocol adapter error occurred.
    // *Action: Check addresses used for proper protocol specification. Before
    // reporting this error, look at the error stack and check for lower level
    // transport errors. For further details, turn on tracing and reexecute the
    // operation. Turn off tracing when the operation is complete.

  • O10G idle instance

    When I set oraenv to O10G and use sqlplus /nolog, connect / as sysdba, it always says Connected to an idle instance. However, when I do sqlplus sys/oracle@O10G as sysdba, I get connected to either O10G1. Is this normal or did I miss something?
    Thanks

    I am learning how to install and run oracle on linux.I have installed it on centOS 4.2 together with a startup general purpose database.I want to log in and I'm giving $sqlplus / as sysdba .It does not show anything about being connected to Oracle 10g but instead it brings up only 3lines 1. SQL*Plus Release info 2. Copyright info and 3.Connected to an idle instance .Thereafter it brings the sql prompt. A command startup pops two lines of errors after that. 1. Ora-01078: Failure in processing system parameters
    2. LRM-00109: could not open parameter file '/oracle/10g/dbs/initrpc.ora'
    rpc in initrpc is my SID, oracle is my base and oracle/10g is my home. I have set the necessary variables in /home/oracle/.bash_profile and parameters in sysctl.conf and refreshed the settings with /sbin/sysctl -p command.
    Help.I am following a tutorial on http://www.dizwell.com/prod/node/50?page=0%2C4 and that's the page I am stuck on.

  • Showing idle instance on xe

    Hi,
    my database is running fine . But it is showing as idle instance while connection as sysdba. I am able to connect using tnsentry .
    how to fix this?
    DB version: 10.2.0.1 experess edition -- Linux
    Log
    $sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:22 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> exit
    Disconnected
    $ echo $ORACLE_SID
    XE
    $sqlplus system@xe
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:45 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>

    user2017273 wrote:
    Hi,
    my database is running fine . But it is showing as idle instance while connection as sysdba. I am able to connect using tnsentry .
    how to fix this?
    DB version: 10.2.0.1 experess edition -- Linux
    Log
    $sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:22 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> exit
    Disconnected
    $ echo $ORACLE_SID
    XE
    $sqlplus system@xe
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Sep 29 06:11:45 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>with *NIX ORACLE_SID is CaseSensitive
    "XE" does not equal "xe"

  • What is meant by the term 'IDLE Instance'?

    Hi
    Sometimes i get the following message when connecting to an Oracle10g database
    'Connected to an idle instance'
    Can some expalin what the term 'idle' means? My database is running according to the MMC
    Thanks

    Hi,
    An idle instance is an instance which is not start.
    E:\oracle\ora102>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Apr 7 21:36:05 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Pr
    oduction
    With the Partitioning, OLAP and Data Mining options
    E:\oracle\ora102>sqlplus "/ as sysdba"
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Apr 7 21:36:44 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    SQL>
    My database is running according to the MMCDon't understand what is MMC ?
    Nicolas.

  • Connecting to idle instance in Oracle 11g

    SQL*Plus: Release 11.2.0.1.0 Production on Sat Nov 10 14:48:26 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter user-name: sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> connect ADIPNU
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Process ID: 0
    Session ID: 0 Serial number: 0
    Warning: You are no longer connected to ORACLE.
    SQL>
    Please give a solution..
    Thans in advance..

    885756 wrote:
    Enter user-name: sys as sysdba
    Enter password:
    Connected to an idle instance.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 8234233856 bytes
    Fixed Size 2192096 bytes
    Variable Size 4395633952 bytes
    Database Buffers 3825205248 bytes
    Redo Buffers 11202560 bytes
    Database mounted.
    ORA-03113: end-of-file on communication channel
    Process ID: 3364
    Session ID: 170 Serial number: 3
    SQL>Post alert log please .
    location for alertlog :$ORACLE_BASE/diag/rdbms/PROD/PROD/trace/al*

  • Unable to Login to Idle Instance from SQL*Plus in windows

    Hello,
    I'm cloning the db from windows to windows enviornment. At auxilary instance after configuring the Listener and making Password file to right folder when I try to connect to Idle Instance through sql*plus by follwring connad
    c:\sqlplus sys/password as sysdba
    It gives me ORA-12518 Tns: Listener could not hand off client conenction error
    Then I put the follwing parameter in listener.ora DIRECT_HANDOFF_TTC_LISTENER=OFF and restart listener and then try to connect it gives me Ora-12560: TNS protocol adapter error.
    I try to connect through tnsnames but give me same error.
    Kindly tell me how to resolve this issue as its not allowing me to connect to an idle instance so that I can go further.
    I'm using 10gR2 on windows server 2003.
    Regards,
    Abbasi

    follow the steps to clone database:
    # 1. Backup the source database.
    To use RMAN duplicate an RMAN backup of the source database is required. If there is already one available, skip to step 2. If not, here is a quick example of how to produce an RMAN backup. This example assumes that there is no recovery catalog available:
    rman target sys@<source database> nocatalog
    RMAN>backup database plus archivelog ;
    RMAN> backup archivelog all;
    This will backup the database and archive logs.
    # 2. Produce a pfile for the new database
    This step assumes that the source database is using a spfile. If that is not the case, simply make a copy the existing pfile.
    Connect to the source database as sysdba and run the following:
    create pfile='init<new database sid>.ora' from spfile;
    This will create a new pfile in the $ORACLE_HOME/database directory.
    The new pfile will need to be edited immediately. If the cloned database is to have a different name to the source, this will need to be changed, as will any paths. Review the contents of the file and make alterations as necessary.
    Because in this example the cloned database will reside on the same machine as the source, Oracle must be told how convert the filenames during the RMAN duplicate operation. This is achieved by adding the following lines to the newly created pfile:
    db_file_name_convert=(<source_db_path>,<target_db_path>)
    log_file_name_convert=(<source_db_path>,<target_db_path>)
    # 3. Create bdump, udump & cdump directories
    Create bdump, udump & cdump directories as specified in the pfile
    # 4. Create a service
    c:/>oradim –new –sid <clonedatabasename> –intpwd <pwd>
    eg:
    c:>oradim –new –sid clonedb –intpwd oracle
    # 6. Duplicate the database
    From sqlplus, start the instance up in nomount mode:
    startup nomount
    Exit sqlplus, start RMAN and duplicate the database. As in step 1, it is assumed that no recovery catalog is available. If one is available, simply amend the RMAN command to include it.
    rman target sys@<source_database> nocatalog auxiliary /
    duplicate target database to <clone database name>;
    thats it
    For RMAN Cloning refer:
    follow the documentation replace the destinations/locations with your location/folder/destination in source and target database.
    http://www.dba-oracle.com/t_copy_clone_windows_database.htm
    http://www.shutdownabort.com/quickguides/clone_rman.php
    http://www.akadia.com/services/ora_duplicate_database_rman.html
    for manual cloning in windows refer the link below:
    http://coskan.wordpress.com/2007/04/20/adding-new-database-to-windows-without-dbca-or-rman-clone-or-rman-restore/

Maybe you are looking for

  • Need help on Acrobat 9.0 Pro

    Is it possible to convert an Adobe PDF file back into a Word Document and be able to Manipulate it?

  • Use the original iPhone as a iPod Touch

    I would like tlo use my original iPhone as a iPod Touch but I am unable to activate or unblock the SIM card. I cannot use my iPhone 4 SIM car on the original as it is a different size. What now?

  • Thumbnail from PDF is always blank

    Tearing my hair out over this. I generate PDF's from a Fujitsu scanner and need to generate png graphics of each page pair (1-2,3-4,5-6 etc) from multi-page document. If I try to generate the thumbnails directly from the document, <CFPDF action="thum

  • Data Extraction in Open Hub Destination using Process Chain

    Hi I want to extract data in Open Hub Destination (database table)from Data Store Object(ODS) through Process Chain. When i tried to create process chain, i found only one option under Process types - Data export into External System. Here it asks fo

  • How do I reset tools in Photoshop Elements 12?

    How do I reset all tools to default in Photoshop Elements 12?