How to resolve errors - ORA-01033: ORACLE, or closed, or initialized ,ORA-02063: Previous line from D1558A_IFRSQRY

Hi Expert,
    Please tell me how to resolve errors - ORA-01033: ORACLE, or closed, or initialized ,ORA-02063: Previous line from D1558A_IFRSQRY
Thanks and Regards

Google is obviously broken for you: so I've posted what you need to put into your browser.
https://www.google.co.uk/search?q=ORA-01033

Similar Messages

  • ORA-01033 Oracle initialization or shutdown in progress error

    Hi All,
    I am using windows 7 on my 64-bit machine, and I installed oracle database 12c. Everything was installed fine, and i was able to connect to the HR schema. However, the next day when I wanted to connect, I got the ORA-01033 Oracle initialization or shutdown in progress error. What did I do wrong ? and what can I do to fix it ?? Thank you for the help.

    Sorry but there are NO SHORTCUTS!
    I already answered that above and referred you to the docs and an article.
    The doc chapters explain the NEW multitenant architecture in detail. The new 12c architecture is SUBSTANTIALLY different from previous architectures. Until you read the docs about it and understand how it has been implemented you will continue to have NOTHING but problems.
    I know that may sound like just another RTFM but for 12c it is imperative that you understand the new architecture if you want to avoid problems. There is no way to explain it all in the forums; Oracle takes a good two chapters just to cover the basics.
    I also pointed you to an article that shows how to startup the CDB and PDBs manually or write a STARTUP trigger to do it automatically.
    Hopefully you are doing all of this in a VM environment as you seemingly implied in one of your other threads?
    https://forums.oracle.com/thread/2594464
    There are already some VM templates available for 12c
    http://www.oracle.com/technetwork/server-storage/vm/database-templates-12c-11gr2-1972804.html

  • ORA-01033: ORACLE initialization or shutdown in progress (standby error)

    Hi all,
    OS : SunOS 5.10 Generic_144488-02 sun4u sparc SUNW,Sun-Fire-880
    Database : 10.2.0.4
    I made physical standby database from primary to stanby using RMAN as
    rman target / nocatalog sys/password@standby
    RMAN>run {
    allocate auxiliary channel ch1 device type disk;
    duplicate target database for standby;
    standby creation finished sucessfully , but when i performed log switch and forcely archive the current log the arhive was not trasferring.
    while trying to connect from primary to standby as :
    conn sys/password@standby (the below error displaying)
    ORA-01033: ORACLE initialization or shutdown in progress
    On stanby also the same error coming while connecting to sys/password@standby
    but while setting export ORACLE_SID=standby and ORACLE _HOME i can be able to connect to sqlplus and managed standby database in recovery mode.
    I am not confused why sys/password@standby is not being connecting ..
    Please help !
    Thanks

    Standby alert log :
    alter database recover managed standby database disconnect from session
    Fri Dec 10 14:59:17 2010
    Attempt to start background Managed Standby Recovery process (pstdby)
    MRP0 started with pid=16, OS id=11517
    Fri Dec 10 14:59:17 2010
    MRP0: Background Managed Standby Recovery process started (pstdby)
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 3 processes
    Fri Dec 10 14:59:23 2010
    Waiting for all non-current ORLs to be archived...
    Media Recovery Waiting for thread 1 sequence 84
    Fri Dec 10 14:59:23 2010
    Completed: alter database recover managed standby database disconnect from session
    primary alert log :
    Errors in file /software/oracle/admin/stdby/bdump/stdby_arc1_24121.trc:
    ORA-12545: Connect failed because target host or object does not exist
    PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pstdby_XPT)(INSTANCE_NAME=standby)(SERVER=dedicated)))'. Error is 12545.
    Sat Dec 11 02:18:33 2010
    Error 12545 received logging on to the standby
    Sat Dec 11 02:18:33 2010
    Errors in file /software/oracle/admin/stdby/bdump/stdby_arc1_24121.trc:
    ORA-12545: Connect failed because target host or object does not exist
    PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pstdby_XPT)(INSTANCE_NAME=standby)(SERVER=dedicated)))'. Error is 12545.
    Edited by: VipinK on Dec 10, 2010 1:39 AM

  • Error: ORA-01033: Oracle initialization or shudown in progress

    I can't connect to my Oracle database 10g XE from both browser and SQL*Plus.
    I get this Error message each time I try: ORA-01033: Oracle initialization or shudown in progress.
    I am so confused, since I worked with it successfully yesterday and tis morning, I restored my system to yesterday to no avail. I tried stopping the database from the start menu and I got the prompt that the stop was successful, I started the database from the start menu and got a prompt that the start up was successful, yet when I try to go to the database Home Page from the same start menu, Internet Explorer can't display the page and SQL*Plus returns the afore-mentioned error.
    What can I do to urgently connect to this database?

    this the result of executing the prescribed commands:
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Feb 12 09:13:43 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: / as sysdba
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> shutdown abort
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 285212672 bytes
    Fixed Size 1287016 bytes
    Variable Size 113249432 bytes
    Database Buffers 167772160 bytes
    Redo Buffers 2904064 bytes
    ORA-00204: error in reading (block 3, # blocks 8) of control file
    ORA-00202: control file: 'C:\ORACLEXE\ORADATA\XE\CONTROL.DBF'
    ORA-27091: unable to queue I/O
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 23) Data error (cyclic redundancy check).
    SQL> startup
    The problem persist. Thanks for your reply
    Edited by: Glogo on Feb 12, 2010 12:58 AM

  • DB ERROR:ORA-01033: ORACLE initialization or shutdown in progress

    Hi
    I want to start oracle 11g database but i am getting this error
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0
    note:-my db was working fine but after updating the Windows and restarting the computer i am getting this error
    i followed the previous thread which decribed what to but i am getting below error
    SQL*Plus: Release 11.2.0.2.0 Production on Tue Jan 15 15:10:12 2013
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> connect sys/admin123 as sysdba
    ERROR:
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-226114008: Message 226114008 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) The event log file is full.
    ORA-28056: Writing audit records to Windows Event Log failed
    OSD-226114008: Message 226114008 not found; product=RDBMS; facility=SOSD
    O/S-Error: (OS 1502) The event log file is full.
    SQL> shutdown immediate
    ORA-01012: not logged on
    SQL> startup
    ORA-01012: not logged on
    SQL> shutdown immediate
    ORA-01012: not logged on
    SQL>
    can you please tell me what to do
    thanks in advance
    Edited by: Preetham Medlery on 15-Jan-2013 02:16

    Hi,
    From the error message it is clear that db shutdown is in process. So you have to wait some more time so that shutdown process will be completed, then you can start. If you have no time to wait then you can reboot the machine so that once server restarted you can start your database.
    Regards,
    Kishore

  • Getting error ORA-01033 : Oracle Initialization or shutdown in progress

    Getting error ORA-01033 : Oracle Initialization or shutdown in progress
    Tried to login with different users and could login thru one user. when given the command shuddown immediate, gave the error :
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    When given the command startup, gave the error :
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-00322: log 1 of thread 1 is not current copy
    ORA-00312: online log 1 thread 1: 'C:\ORACLE\ORADATA\LDESK\REDO01.LOG'
    Please guide
    Regards,
    Meenal

    ORA-00322:     log string of thread string is not current copy
    Cause:     Check of log file header at database open found that an online log appears to be an incorrectly restored backup.
    Action:     Restore correct file or reset logs.
    As already mentioned,your redo seems to be corrupted.Are you in archivelog mode with a good copy of backup with you?
    Aman....

  • Error ORA-01033 oracle intialization or shut down in progress

    Hi ,
    I am getting the error when i try to login to oracle
    Error ORA-01033 oracle intialization or shut down in progress.
    i waited for much time but i get the same error.can some one help.
    Thanks

    442321, if a startup is in process you will need to either let it complete or cancel it in order to connect with a non sysdba session.
    You cancel the startup the same way you would kill a hung shutdown by connecting as sysdba and then issueing a shutdown abort.
    You should review the alert log prior to issuing an abort to see what is going on.
    HTH -- Mark D Powell --

  • ORA-01033: ORACLE initialization or shutdown in progress

    Hello ,
    I am using Oracle 11.2.0 on Window 7 and since yesterday I am unable to connect to my database . I am seeing this error on my EM console.
    ORA-01033: ORACLE initialization or shutdown in progress (DBD ERROR: OCISessionBegin)
    I tried to manually shutdown and startup from the console but resulted in the same error.
    I was not able to connect from sqlplus as well.
    SQL*Plus: Release 10.1.0.5.0 - Production on Thu Jan 10 11:58:58 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter user-name: SYS
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Here is the lsnrctl status
    C:\windows\system32>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.1.0.5.0 - Production on 10-JAN-2013 11:59
    :37
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 10-JAN-2013 10:39:08
    Uptime 0 days 1 hr. 20 min. 29 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\POSSuiteApps\OracleDB\product\11.2.0\dbhome_1\netwo
    rk\admin\listener.ora
    Listener Log File c:\possuiteapps\oracledb\diag\tnslsnr\<host>\list
    ener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<hostname>)(PORT=1521
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.us.oracle.com" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Could someone help me out in resolving this issue.
    Thank you,
    Lakshmi

    Thank you for the responses .
    I found this on metalink but I am not able to access this document . Could you please share some details in this doc
    153788.1 - Troubleshoot an ORA-600 or ORA-7445 Error Using the Error Lookup Tool
    Here is the alert log trace
    System parameters with non-default values:
    processes = 150
    memory_target = 1584M
    control_files = "C:\POSSUITEAPPS\ORACLEDB\ORADATA\ORCL\CONTROL01.CTL"
    control_files = "C:\POSSUITEAPPS\ORACLEDB\FLASH_RECOVERY_AREA\ORCL\CONTROL02.CTL"
    db_block_size = 8192
    compatible = "11.2.0.0.0"
    db_recovery_file_dest = "C:\POSSuiteApps\OracleDB\flash_recovery_area"
    db_recovery_file_dest_size= 3912M
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    db_domain = "us.oracle.com"
    dispatchers = "(PROTOCOL=TCP) (SERVICE=orclXDB)"
    audit_file_dest = "C:\POSSUITEAPPS\ORACLEDB\ADMIN\ORCL\ADUMP"
    audit_trail = "DB"
    db_name = "orcl"
    open_cursors = 300
    diagnostic_dest = "C:\POSSUITEAPPS\ORACLEDB"
    Thu Jan 10 13:03:55 2013
    PMON started with pid=2, OS id=6760
    Thu Jan 10 13:03:55 2013
    VKTM started with pid=3, OS id=5748 at elevated priority
    VKTM running at (10)millisec precision with DBRM quantum (100)ms
    Thu Jan 10 13:03:55 2013
    GEN0 started with pid=4, OS id=1916
    Thu Jan 10 13:03:55 2013
    DIAG started with pid=5, OS id=2972
    Thu Jan 10 13:03:55 2013
    DBRM started with pid=6, OS id=7112
    Thu Jan 10 13:03:55 2013
    PSP0 started with pid=7, OS id=8520
    Thu Jan 10 13:03:55 2013
    DIA0 started with pid=8, OS id=1852
    Thu Jan 10 13:03:55 2013
    MMAN started with pid=9, OS id=4448
    Thu Jan 10 13:03:55 2013
    DBW0 started with pid=10, OS id=7032
    Thu Jan 10 13:03:55 2013
    LGWR started with pid=11, OS id=5104
    Thu Jan 10 13:03:55 2013
    CKPT started with pid=12, OS id=7820
    Thu Jan 10 13:03:55 2013
    SMON started with pid=13, OS id=6860
    Thu Jan 10 13:03:55 2013
    RECO started with pid=14, OS id=2620
    Thu Jan 10 13:03:56 2013
    MMON started with pid=15, OS id=4288
    Thu Jan 10 13:03:56 2013
    MMNL started with pid=16, OS id=9100
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = C:\POSSuiteApps\OracleDB
    Thu Jan 10 13:03:57 2013
    ALTER DATABASE MOUNT
    Successful mount of redo thread 1, with mount id 1332168637
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Thu Jan 10 13:19:01 2013
    db_recovery_file_dest_size of 3912 MB is 0.00% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Edited by: 970292 on Jan 10, 2013 2:09 PM

  • ORA-01033 Oracle startup or shutdown in progress

    Hi
    I installed Oracle 8i personal edition on windows 2000
    advanced server edition,
    I got the following errors
    ORA-01503: Create Controlfile failed
    ORA-00200: Control file could not be created
    ORA-27040: skgfrcre: create error,unable to create file
    ORA-01507: Database not mounted
    ORA-01109 Database not open
    ORA-01012: Not loged on
    ORA-01033: Oracle Initilasation or shut down in progress
    How can Install Oracle sucessfully ,what is the root cause for
    this errors,how can solve this.
    Thanks in advance
    Praveen

    Hi,
    This indicates the database is either starting up or shutting down already and so is in an inconsistent state as Lajos pointed out you will need to have a look in your alert log and see what is actually happening. This should be located in the bdump directory assuming this is the background_dump_dest for your DB if you post the tail end of the file into the forum then we can see what is happening and try to sort out what the issue actually is

  • ORA-01033: ORACLE initialization or shutdown in progress / TAF

    Hi experts,
    I have the following environment:
    + 2 Linux Redhat  5.7 0n X86/64 named dwh and stb and Oracle 11.2.0.2,
    + Database on dwh is primary and on stb is standby
    the listener on dwh:
    ADR_BASE_LISTENER=/u00/app/oracle
    LISTENER =
        (ADDRESS_LIST =
            # for external procedure calls, create a separate listener
            # See basenv_user_guide.pdf for details (chapter of listener.ksh)
            (ADDRESS =
                (PROTOCOL = TCP)
                (Host = dwh )
                (Port = 1521)
    SID_LIST_LISTENER =
        (SID_LIST =
            (SID_DESC =
                # Next line is necessary for dataguard >= 10g
                (GLOBAL_DBNAME = strm_site1_DGMGRL)
                (SID_NAME      = STRM )
                (ORACLE_HOME   = /u01/app/oracle/product/11.2.0/db_1 )
        )the service_names parameter on dwh:
    SQL> show parameter service
    NAME                                 TYPE        VALUE
    service_names                        string      STRM
    [oracle@dwh admin]$ lsnrctl status
    [oracle@dwh admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 14-SEP-2011 17:32:43
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=dwh)(Port=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date                14-SEP-2011 12:11:15
    Uptime                    0 days 5 hr. 21 min. 28 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dwh)(PORT=1521)))
    Services Summary...
    Service "STRMXDB" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site1" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site1_DGB" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site1_DGMGRL" has 1 instance(s).
      Instance "STRM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    the listener on stb:
    [oracle@stb admin]$ cat listener.ora
    ADR_BASE_LISTENER=/u00/app/oracle
    LISTENER =
        (ADDRESS_LIST =
            # for external procedure calls, create a separate listener
            # See basenv_user_guide.pdf for details (chapter of listener.ksh)
            (ADDRESS = (PROTOCOL = TCP) (Host = stb ) (Port = 1521)
    SID_LIST_LISTENER =
            (SID_DESC =
                # Next line is necessary for dataguard >= 10g
                (GLOBAL_DBNAME = strm_site2_DGMGRL)
                (SID_NAME      = STRM )
                (ORACLE_HOME   = /u01/app/oracle/product/11.2.0/db_1 )
        )the service_names parameter on stb:
    SQL> show parameter service
    NAME                                 TYPE        VALUE
    service_names                        string      STRM
    [oracle@stb admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 14-SEP-2011 17:37:23
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=stb)(Port=1521))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.2.0 - Production
    Start Date                14-SEP-2011 12:12:39
    Uptime                    0 days 5 hr. 24 min. 44 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oracle/product/11.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=stb)(PORT=1521)))
    Services Summary...
    Service "strm" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site2" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site2_DGB" has 1 instance(s).
      Instance "STRM", status READY, has 1 handler(s) for this service...
    Service "strm_site2_DGMGRL" has 1 instance(s).
      Instance "STRM", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyMy tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0.2/db_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    STRM=
    (DESCRIPTION=
           (LOAD_BALANCE=on)
           (FAILOVER=on)
           (ADDRESS=(PROTOCOL=tcp)(HOST=dwh)(PORT=1521))
           (ADDRESS=(PROTOCOL=tcp)(HOST=stb)(PORT=1521))
                (CONNECT_DATA=
                    (SERVICE_NAME=strm)
                    (FAILOVER_MODE=(TYPE=select)(METHOD=basic))
    STRM_SITE1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = dwh)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = STRM_SITE1)
    STRM_SITE2 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = stb)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = STRM_SITE2)
      )My Problem:
    C:\Documents and Settings\thai>sqlplus scott/scott@STRM
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 14 17:49:51 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Process ID: 0
    Session ID: 0 Serial number: 0Login with
    sqlplus sys/****@STRM as sysdbaraises no problem!
    What I have done wrong? Please, help!
    regards
    hqt200475
    Edited by: hqt200475 on Sep 14, 2011 9:04 AM

    If I understand the second part of the question correctly you can use DBMS_SERVICE to create an alias on both servers.
    Then depending upon the ROLE they are in you can just connect.
    First an entry need to be added to the client tnsnames.ora that uses a SERVICE_NAME instead of a SID.
    ernie =
    (DESCRIPTION =
        (ADDRESS_LIST =
           (ADDRESS = (PROTOCOL = TCP)(HOST = primary.host)(PORT = 1521))
           (ADDRESS = (PROTOCOL = TCP)(HOST = standby.host)(PORT = 1521))
           (CONNECT_DATA =
           (SERVICE_NAME = ernie)
    )Next the service 'ernie' needs to be created manually on the primary database.
    BEGIN
       DBMS_SERVICE.CREATE_SERVICE('ernie','ernie');
    END;
    /After creating the service needs to be manually started.
    BEGIN
       DBMS_SERVICE.START_SERVICE('ernie');
    END;Several of the default parameters can now be set for 'ernie'.
    BEGIN
       DBMS_SERVICE.MODIFY_SERVICE
       ('ernie',
       FAILOVER_METHOD => 'BASIC',
       FAILOVER_TYPE => 'SELECT',
       FAILOVER_RETRIES => 200,
       FAILOVER_DELAY => 1);
    END;
    /Finally a database STARTUP trigger should be created to ensures that this service is only offered if the database is primary.
    CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
    DECLARE
    V_ROLE VARCHAR(30);
    BEGIN
    SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
    IF V_ROLE = 'PRIMARY' THEN
    DBMS_SERVICE.START_SERVICE('ernie');
    ELSE
    DBMS_SERVICE.STOP_SERVICE('ernie');
    END IF;
    END;
    /Check the status using lsnrctl status
    /home/oracle: >lsnrctl status
    Service "ernie" has 1 instance(s).
    erine is from the Oracle example, you can add whatever you want and then if you do a switchover or failover it is transparent to your users.
    See this for more details
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e16760/d_serv.htm
    Best Regards
    mseberg

  • ORA-01033: ORACLE initialization or shutdown in progress on mounted standby

    Hi we are using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    We have seven different databases on different machines.
    Similarly we also have standby database for all databases on different machines.
    The standby databases are opened as follows:
    Startup mount;
    Alter database mount standby database;
    Alter database recover managed standby database disconnect from session;
    When we tried to connect on standby database as Non-SYSDBA user we received following message (that I think is correct)
    [btnorthn]: btnorthn $ sqlplus perfstat/perfstat@btnorthn
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 12 09:47:03 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01219: database not open: queries allowed on fixed tables/views only
    Enter user-name:
    While we tried to connect another standby database we received below error (That I think is not correct)
    [btsouth]: southbt $ sqlplus perfstat/perfstat@southbt
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Nov 12 10:03:10 2009
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Enter user-name:
    Both the standbys are on different machines, with same configuration.
    What could be the reason?
    Regards,
    Hassan

    Output for btsouth is correct,when connecting as non-sysdba user. On btnorthn obviously it is tried to execute a query. Is it possible you have sqlplus startup scripts (login.sql and/or glogin.sql) on btnorthn but not on btsouth?
    http://www.orafaq.com/wiki/SQL*Plus_FAQ#Can_one_run_commands_when_SQL.2APlus_starts_up.3F
    Werner

  • ORA-01033: ORACLE initialization or shutdown in progress , ORA-01113

    I got the following error while trying to log in to Oracle SQL plus
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    I tried the following and here's what i got. Could you please help me rectify this error.
    SQL> connect sys/manager as sysdba
    Connected.
    SQL> startup
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 135338868 bytes
    Fixed Size 453492 bytes
    Variable Size 109051904 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    ORA-01113: file 10 needs media recovery
    ORA-01110: data file 10: 'C:\ORACLE\ORADATA\AMINA\XDB01.DBF'
    Thanks,
    Amina

    >> ORA-01033: ORACLE initialization or shutdown in progress
    This error encounters when the database is already running, so it needed to be shutdown first, that you have done so.
    >>ORA-01113: file 10 needs media recovery
    ORA-01110: data file 10: 'C:\ORACLE\ORADATA\AMINA\XDB01.DBF'
    Oracle Metalink has good solution/steps for this to recover.
    SQL> shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    By the way, what where you doing on database any changes done?? because when you tried to shutdown the database with immediate option, the database was not open.
    Regards,
    Sabdar Syed.
    Oracle Metalink Note:183367.1 for errors(ORA-01113 & ORA-01110).
    Message was edited by:
    Sabdar Syed

  • Ora 01033: Oracle Initialization or shut down in prrogress

    Dear all
    i am working on oracle 10g, operating system Windows XP
    I am trying to connect to oracle but following error is received "Ora 01033 oracle initialization or shut down in progress"
    Please if any could help me to solve this problem i will be thankfull to him
    Thanks
    Regards
    Nadeem asif

    hi dear
    these are the last 50 lines from "alert_orcl.log" file
    System parameters with non-default values:
    processes = 150
    __shared_pool_size = 109051904
    __large_pool_size = 4194304
    __java_pool_size = 4194304
    __streams_pool_size = 0
    spfile = D:\ORACLE\PRODUCT\10.2.0\DB_1\DBS\SPFILEORCL.ORA
    sga_target = 289406976
    control_files = D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL01.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL02.CTL, D:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\CONTROL03.CTL
    db_block_size = 8192
    __db_cache_size = 163577856
    compatible = 10.2.0.1.0
    db_file_multiblock_read_count= 16
    db_recovery_file_dest = D:\oracle\product\10.2.0/flash_recovery_area
    db_recovery_file_dest_size= 2147483648
    undo_management = AUTO
    undo_tablespace = UNDOTBS1
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    dispatchers = (PROTOCOL=TCP) (SERVICE=orclXDB)
    job_queue_processes = 10
    audit_file_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\ADUMP
    background_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\BDUMP
    user_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\UDUMP
    core_dump_dest = D:\ORACLE\PRODUCT\10.2.0\ADMIN\ORCL\CDUMP
    db_name = orcl
    open_cursors = 300
    pga_aggregate_target = 95420416
    MMAN started with pid=4, OS id=560
    PSP0 started with pid=3, OS id=500
    DBW0 started with pid=5, OS id=568
    LGWR started with pid=6, OS id=536
    CKPT started with pid=7, OS id=508
    SMON started with pid=8, OS id=624
    RECO started with pid=9, OS id=1032
    CJQ0 started with pid=10, OS id=1056
    MMON started with pid=11, OS id=1052
    MMNL started with pid=12, OS id=1048
    Wed Jul 14 00:07:33 2010
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    PMON started with pid=2, OS id=548
    Wed Jul 14 00:07:37 2010
    alter database mount exclusive
    Setting recovery target incarnation to 2
    Wed Jul 14 00:07:43 2010
    Successful mount of redo thread 1, with mount id 1252064969
    Wed Jul 14 00:07:43 2010
    Database mounted in Exclusive Mode
    Completed: alter database mount exclusive
    Wed Jul 14 00:07:44 2010
    alter database open
    ORA-1589 signalled during: alter database open...

  • ORA-01033:ORACLE

    hi,
    i have this error
    ORA-01033:ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS
    i cant open the database,
    the database is mounted but i cant open it,
    because my tablespace is damaged,
    please help me it emergency

    I tested this scenario before (restore a tablespace without a backup), but Oracle Support may be best as I am not sure you are in the same situation.
    1.     sqlplus /nolog
    2.     connect / as sysdba
    3.     alter tablespace xxx offline immediate;
    4.     shutdown immediate
    5.     startup mount
    6.     alter database datafile ‘/path/file_name.dbf’ offline drop;
    7.     alter database create datafile ‘/original_path/original_file_name’ as ‘/correct/correct_file_name’; (the original file name may have been changed to $ORACLE_HOME/UNNAMEDxxxxx.dbf)
    8.     recover datafile ‘/correct_path/correct_file_name’ (“recover tablespace xxx” can be substituted depending on the number of files affected)
    9.     When prompted for the archivelogs, choose “auto” (assumption: all archivelog files are present)
    10.     alter database open;
    11.     alter tablespace xxx online;

  • ORA-01033:  Oracle initialization and shutdown in progress

    Hi
    When I connect to my oracle DB then occured one
    message:
    ORA-01033:  Oracle initialization and shutdown in progress
    please help me , How to solve this issue

    Wait for shutting down the instance then try again or abort the instances and startup
    SQL > shutdown abort
    or
    ps -ef | grep smon
    kill -9 pid of smon
    Then starup the database
    SQL > startup
    Regards
    Asif Kabir

Maybe you are looking for