ORA 12528 & ORA 01033
Well, for some odd reason, I stopped listener services and started again. When I try to connect to database using Oracle SQL Developer, I am getting ORA-12528 Error. Also, I tried logging in using Command Prompt using the UN and password which throws me an error ORA-01033. I tried finding the control01.cll file, but unfortunately I couldn't find in my entire client machine. I don't know the problem behind this, Any help is greatly appreciated !!
ORA-12528: TNS:listener: all appropriate instances are blocking new connections
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
Regards
S
Hi,
http://www.dba-oracle.com/t_ora_01033_initialization_shutdown_progress.htm
http://www.dba-oracle.com/sf_ora_12528_tns_listener_all_appropriate_instances_are_blocking_new_connection_tips_bc1.htm
go through the above you will get light on this...
Thanks,
Srini...
Similar Messages
-
Error 12528, instance BLOCKED, and ORA-01033 error
I'm a student, just getting started with Oracle, and my teacher is not very helpful with the install/running problems that I'm having with Oracle.
I installed Oracle 11g Express a week ago, and upon installing it, the software worked just fine. I was able to create connections and write basic select statements to get data from a database provided by the manufacturer of my textbook.
Now, when I try to connect to the database, I get an error that says "ORA_12528, TNS:listener: all appropriate instances are blocking new connections."
I did a little research on how to fix this, and got into the listener to see its status. Here's what it says:
LSNRCTL> status
Connection 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 28-MAR_2012 09:45:21
Uptime 0 days 0 hr. 21 min. 19 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\PC325862970629\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PC325862970629)(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...
Service "xe" has 1 instance(s).
Instance"xe", status BLOCKED, has 1 handler(s) for this service...
This command completed successfully
LSNRCTL>
I also looked at the Listener Log File (although most of what I saw makes no sense to me, and it was pretty long)... here's what appears to be the last chunk of the log file:
<msg time='2012-03-28T09:45:23.468-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2012-03-28T09:45:23.484-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2012-03-28T09:46:01.203-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=PC325862970629)(PORT=1521)))
</txt>
</msg>
<msg time='2012-03-28T09:46:01.218-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 09:46:01 * service_register * xe * 0
</txt>
</msg>
<msg time='2012-03-28T09:46:02.796-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 09:46:02 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-03-28T09:49:38.250-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 09:49:38 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1047)) * establish * xe * 12528
</txt>
</msg>
<msg time='2012-03-28T09:49:38.750-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>TNS-12528: TNS:listener: all appropriate instances are blocking new connections
</txt>
</msg>
<msg time='2012-03-28T09:56:04.218-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 09:56:04 * service_update * xe * 0
</txt>
</msg>
<msg time='2012-03-28T10:05:35.343-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 10:05:35 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1147)) * establish * xe * 12528
</txt>
</msg>
<msg time='2012-03-28T10:05:35.812-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>TNS-12528: TNS:listener: all appropriate instances are blocking new connections
</txt>
</msg>
<msg time='2012-03-28T10:06:40.453-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 10:06:40 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
</txt>
</msg>
<msg time='2012-03-28T10:26:03.890-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 10:26:03 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Admin))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=186647040)) * status * 0
</txt>
</msg>
<msg time='2012-03-28T10:26:14.968-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>28-MAR-2012 10:26:14 * (CONNECT_DATA=(SID=xe)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Admin))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1164)) * establish * xe * 12528
</txt>
</msg>
<msg time='2012-03-28T10:26:15.062-07:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='PC325862970629'
host_addr='10.10.10.10'>
<txt>TNS-12528: TNS:listener: all appropriate instances are blocking new connections
</txt>
</msg>
After doing more googling, I found someone suggested that logging on to SQL*Plus as sysdba and then shutting down and restarting the database might do something to fix this, but when I try to log in it doesn't work... here's what I see in SQL*Plus:
SQL> connect / as sysdba
ERROR:
ORA-28056: Writing audit records to Windows Event Log failed
OSD-196787312: Message 196787312 not found; product=RDBMS; facility=SOSD
O/S-Error: (OS 1502) The event log file is full.
ORA-01075: you are currently logged on
SQL> connect
Enter User0name: sysdba
Enter password:
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0
SQL>
I have no idea what's going on here, and unfortunately, since I'm a student and have just started with Oracle, I can't seem to make heads or tails of most of what I'm finding on the forums here (and most of the threads that seem pertinent are 6 or more years old).
If anyone out there can help me, I'd greatly appreciate it! Thanks in advance!
--KateSrini -
I did take a look at the link you posted and I tried to do what it said, but I don't really know what to make of what I found. When I run services.msc I find the following are running:
OracleJobSchedulerXE, OracleMTSRecoveryService, OracleServiceXE, OraclexEClrAgent, and OracleXETNSLisnener
So it appears that the Oracle Service is running... probably not the problem.
With regards to the logs, I don't know how to do what you suggested (make the log bigger, allow for overwrites, etc.).
I tried to follow the suggestions from the link you posted and get into the event viewer, but when I enter "eventviewer" in the run window my machine can't find it. I tried other methods I found online to get into the event viewer, but it appears as though my computer doesn't offer me access to it (or simply doesn't have that capability). Are there other ways to clear old logs? Can I just open it as a text file and delete the contents? I don't want to make a mess out of things, and I really don't know what I'm doing so any guidance would be appreciated.
Thanks!
--Kate -
ORA-01033: Recovering database
Hi,
I have 2 database running on my local system ( Windows-XP, Oracle 10g ).
After abrupt shutdown of the system, one of my DB is throwing an error ORA-01033 ORACLE initialization or shutdown in progress.
So I tried with below given things to fix the error.
c:\sqlplus /nolog
SQL> connect sys as sysdba
SQL> shutdown
SQL> startup
It gave an error..
ORA-12528:TNS:Listener:All Appropriate instances are blocking new connections
SQL> select status from v$instance;
ORA-03114: not connected to ORACLE
So I tried stopping and restarting the Listener.
LSNRCTL> stop
LSNRCTL> start
Then again tried to startup the database
SQL> startup
ORA-01041: internal error. hostdef extension doesn't exist
SQL> alter database mount;
SQL> alter database open;
Alertlog file shows....
Recovery of Online Redo Log: Thread 1 Group 3 Seq 373 Reading mem 0
Mem# 0 errs 0: E:\ORACLE\PRODUCT\10.2.0\ORADATA\GALAXY\REDO03.LOG
Mon Aug 09 17:17:40 2010
Aborting crash recovery due to error 1115
Mon Aug 09 17:17:41 2010
Errors in file e:\oracle\product\10.2.0\admin\galaxy\udump\galaxy_ora_3152.trc:
ORA-01115: IO error reading block from file 3 (block # 51483)
ORA-01110: data file 3: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\GALAXY\SYSAUX01.DBF'
ORA-27070: async read/write failed
OSD-04016: Error queuing an asynchronous I/O request.
O/S-Error: (OS 23) Data error (cyclic redundancy check).
It looks like block corruption in the sysaux tablespace file.
Please help me, in recovering the database. ( in detail / steps is very much appreciated )
Thanks & Regards,
LokeshIt would be important to know what kind of backups do you have.
Do you have offline backup?
Do you have archive mode turned on?
See another thread of this forum (or you can even search for others)
dbf file missing
to get some experience in similar issues... -
Can not able to login in sql ERROR: ORA-01033
hi friends
im using oracle 10XE.. till y'day it was working fine.. sudden it shows the following error while connecting to sqlplus and also the home page of oracle is also not getting opened...
ORA-01033: ORACLE initialization or shutdown in progress
from past one week i was facing a small problme in WINXP so y'day i repaired my OS..
plzz help me outthis is the log..
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.1.0.
System parameters with non-default values:
sga_target = 285212672
db_name = xe
PMON started with pid=2, OS id=524
PSP0 started with pid=3, OS id=376
MMAN started with pid=4, OS id=3364
DBW0 started with pid=5, OS id=728
LGWR started with pid=6, OS id=1340
CKPT started with pid=7, OS id=1256
SMON started with pid=8, OS id=436
RECO started with pid=9, OS id=1204
MMON started with pid=10, OS id=1088
MMNL started with pid=11, OS id=1092
Thu May 29 21:17:46 2008
Oracle Data Guard is not available in this edition of Oracle.
Thu May 29 21:18:09 2008
Shutting down instance: further logons disabled
Thu May 29 21:18:09 2008
Stopping background process MMNL
Thu May 29 21:18:09 2008
Stopping background process MMON
Thu May 29 21:18:10 2008
Shutting down instance (immediate)
License high water mark = 3
Thu May 29 21:18:10 2008
alter database close normal
ORA-1507 signalled during: alter database close normal... -
ORA-01033 Error cannot be traced in the alert log or v$views
Hello There,
I'm hoping you can shed some light on what seems a rather odd occurrence on our Production Oracle Instance.
Before i elaborate on the nature of the problem, I must confess that i am not an Oracle DBA and have been compelled to post this query since i have no joy from the in house DBA community on the origins of this error.
We've had an ORA-01033 error being issued by our ETL installation (deployed on a Linux machine) a couple of days ago whence trying to extract some data from the Oracle instance (during overnight DataWarehouse loads) which has consequently aborted the loads necessitating a cleanup.
This event has already occurred twice before, the first time being a month ago when the event was captured in the v$instance (using the Startup time column where the timestamp corroborates to the first time we experienced this issue and also ackowledged by the DBA team) and also in the V$Dataguard_status.
Since then, This error has been generated twice although there seems to be no evidence of this in either the Oracle alert log(as confirmed by DBA team) or in any of the v$views (as pointed out by Tom in an earlier post) such as DBA_LOGSTDBY_HISTORY, v$logstdby_state, $logstdby_stats, dba_logstdby_log, dba_logstdby_events,v$dataguard_status, v$dataguard_stats, v$dataguard_config,v$database,v$database_incarnation, v$managed_standby, v$standby_log, v$instance. I searched these views since i suspected a latency issue during a failover which could be the reason for the
ORA-01033 but found nothing.
The DBA team have pretty much disowned this issue since they claim to not have any actual evidence of this from the logs and this is the crux of the matter here.
The Problem i have as the downstream "recepient" of this error is to prove to the DBA team that this is indeed a genuine issue with the Oracle instance affecting it's availability and concomittantly affecting the DW loads.
FYI, The Oracle instance is in Failover mode, so it's swiftly back online after bombing out for a few seconds.
Also, I don't have access to the Alert log as it's a Production environment and employs restricted access policy to the server.
Having said that, Is there anything else besides the obvious ORA errors that should be looked for in the Alert log?
Where else can ORA-01033 errors be traced/traced in the Dictionary besides the Alert Log?
Thoughts??
RegardsThank You John for that query, but i'm on V10.2 and this view is relevant for 11g and beyond i believe.
Perhaps there is an equivalent for V10g?
I am also a bit bemused by the comment earlier about no trace being left behind if the DBA's performed a manual restart, surely it doesn't matter how the DB is restarted, the event is captured in the dictionary?
In the meantime, I've got a copy of the Alert log and have found redo log issues (DBWR/LGWR) very close to the time (a min after ORA-01033) of the shutdown event.
ALTER SYSTEM ARCHIVE LOG
Thread 1 cannot allocate new log, sequence 117732
Checkpoint not complete
I've looked into this a fair bit and this error apparently causes Oracle to suspend all processing on the database until the log switch is made.
Is this the causal link for my issue?
Does " suspend all processing on the database " actually translate into an actual ORA-01033 error (or some form of) when the ETL application is trying to connect to and extract data from the Oracle database at that time?
Edited by: shareeman on 16-Oct-2012 03:50 -
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 AMIf 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
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,
LakshmiThank 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 -
Manual\DGMGRL Switchover Standby ora-01033 error
I have created a standby server for my SAP application as a part of test Disaster Recovery scenario. I can see the redo logs getting applied from primary to standby. However when I manually switchover the roles i encounters ORA -01033 error at NEW PRIMARY server and logs are also not getting applied in this scenario.
When i again changes the roles it works fine. I am not sure what is cause of ORA -01033 error. Here are the detailed tnsnames.ora of both sites.
Primary Server
P11.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11.WORLD)
TO_STANDBY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.102)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = TO_STANDBY.WORLD)
TO_PRIMARY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = TO_PRIMARY.WORLD)
LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
Standby Site
TO_PRIMARY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = TO_PRIMARY.WORLD)
P11.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.104)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = P11.WORLD)
TO_STANDBY.WORLD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = SAP.WORLD)
(PROTOCOL = TCP)
(HOST = 10.0.1.102)
(PORT = 1527)
(CONNECT_DATA =
(SID = P11)
(GLOBAL_NAME = TO_STANDBY.WORLD)
LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
Now , when i enable the DGMGRL configuration and add standby database at primary the " log_archive_dest_2=''" goes empty . Here is the pfile of primary after enable of the DGMGRL.
pfile of Primary
*._B_TREE_BITMAP_PLANS=FALSE
*._IN_MEMORY_UNDO=FALSE
*._INDEX_JOIN_ENABLED=FALSE
*._OPTIM_PEEK_USER_BINDS=FALSE
*._OPTIMIZER_MJC_ENABLED=FALSE
*._SORT_ELIMINATION_COST_RATIO=10
*._TABLE_LOOKUP_PREFETCH_SIZE=0
*.archive_lag_target=0
*.background_dump_dest='D:\oracle\P11\saptrace\background'
*.compatible='10.2.0'
*.control_file_record_keep_time=30
*.control_files='D:\oracle\P11\origlogA\cntrl\cntrlP11.dbf','D:\oracle\P11\origlogB\cntrl\cntrlP11.dbf','D:\oracle\P11\sapdata1\cntrl\cntrlP11.dbf'
*.core_dump_dest='D:\oracle\P11\saptrace\background'
*.db_block_size=8192
*.db_cache_size=260938137
*.db_files=254
*.db_name='P11'
*.db_unique_name='P11_primary'
*.dg_broker_start=TRUE
*.dml_locks=4000
*.event='10191 trace name context forever, level 1'
*.FAL_Client='to_primary'
*.FAL_Server='to_standby'
*.FILESYSTEMIO_OPTIONS='setall'
*.job_queue_processes=1
*.log_archive_config='nodg_config'
*.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_primary'
p11.log_archive_dest_1='location="C:\oracle\P11\oraarch\P11arch"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)'
*.log_archive_dest_2=''
*.log_archive_dest_state_1='enable'
p11.log_archive_dest_state_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
p11.log_archive_format='ARC%S_%R.%T'
*.log_archive_max_processes=10
*.log_archive_min_succeed_dest=1
p11.log_archive_trace=0
*.log_buffer=1048576
*.log_checkpoint_interval=0
*.log_checkpoints_to_alert=true
*.open_cursors=800
*.parallel_execution_message_size=16384
*.pga_aggregate_target=347917516
*.processes=80
*.query_rewrite_enabled='false'
*.recyclebin='off'
*.remote_login_passwordfile='exclusive'
*.remote_os_authent=true
*.replication_dependency_tracking=false
*.sessions=96
*.sga_max_size=521876275
*.shared_pool_reserved_size=26093813
*.shared_pool_size=300938137
*.sort_area_retained_size=0
*.sort_area_size=2097152
p11.standby_archive_dest=''
*.standby_file_management='AUTO'
*.star_transformation_enabled='true'
*.undo_management='AUTO'
*.undo_retention=43200
*.undo_tablespace='PSAPUNDO'
*.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
pfile of standy DB
*._B_TREE_BITMAP_PLANS=FALSE
*._IN_MEMORY_UNDO=FALSE
*._INDEX_JOIN_ENABLED=FALSE
*._OPTIM_PEEK_USER_BINDS=FALSE
*._OPTIMIZER_MJC_ENABLED=FALSE
*._SORT_ELIMINATION_COST_RATIO=10
*._TABLE_LOOKUP_PREFETCH_SIZE=0
*.background_dump_dest='D:\oracle\P11\saptrace\background'
*.compatible='10.2.0'
*.control_file_record_keep_time=30
*.control_files='D:\oracle\P11\origlogA\cntrl\control01.ctl','D:\oracle\P11\origlogB\cntrl\control02.ctl','D:\oracle\P11\sapdata1\cntrl\control03.ctl'
*.core_dump_dest='D:\oracle\P11\saptrace\background'
*.db_block_size=8192
*.db_cache_size=155870822
*.db_files=254
*.db_name='P11'
*.db_unique_name='P11_disaster'
*.dg_broker_start=TRUE
*.dml_locks=4000
*.event='10191 trace name context forever, level 1'
*.FAL_Client='to_standby'
*.FAL_Server='to_primary'
*.FILESYSTEMIO_OPTIONS='setall'
*.job_queue_processes=1
*.log_archive_config='DG_CONFIG= (P11_primary, P11_disaster)'
*.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_disaster'
*.log_archive_dest_2='SERVICE=to_primary LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_primary'
*.log_archive_dest_state_1='enable'
*.log_archive_dest_state_2='enable'
*.log_archive_max_processes=10
*.log_buffer=1048576
*.log_checkpoint_interval=0
*.log_checkpoints_to_alert=true
*.open_cursors=800
*.parallel_execution_message_size=16384
*.pga_aggregate_target=207827763
*.processes=80
*.query_rewrite_enabled='false'
*.recyclebin='off'
*.remote_login_passwordfile='exclusive'
*.remote_os_authent=true
*.replication_dependency_tracking=false
*.sessions=96
*.sga_max_size=311741644
*.shared_pool_reserved_size=15587082
*.shared_pool_size=300870822
*.sort_area_retained_size=0
*.sort_area_size=2097152
*.standby_file_management='AUTO'
*.star_transformation_enabled='true'
*.undo_management='AUTO'
*.undo_retention=43200
*.undo_tablespace='PSAPUNDO'
*.user_dump_dest='D:\oracle\P11\saptrace\usertrace'
Here are the alert logs of primary DB.
LTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"',' ARCH SYNC NOAFFIRM delay=5 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="p11_disaster" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
Sat Jul 02 16:29:22 2011
ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
Sat Jul 02 16:29:22 2011
ALTER SYSTEM SET log_archive_trace=0 SCOPE=BOTH SID='p11';
Sat Jul 02 16:29:22 2011
ALTER SYSTEM SET log_archive_format='ARC%S_%R.%T' SCOPE=SPFILE SID='p11';
Sat Jul 02 16:29:22 2011
ALTER SYSTEM SET standby_archive_dest='' SCOPE=BOTH SID='p11';
Sat Jul 02 16:29:22 2011
ALTER SYSTEM SET log_archive_dest_1='location="C:\oracle\P11\oraarch\P11arch"','valid_for=(ONLINE_LOGFILE,ALL_ROLES)' SCOPE=BOTH SID='p11';
Sat Jul 02 16:29:23 2011
ALTER SYSTEM SET log_archive_dest_state_1='ENABLE' SCOPE=BOTH SID='p11';
Sat Jul 02 16:29:23 2011
ALTER SYSTEM SET standby_file_management='AUTO' SCOPE=BOTH SID='*';
Sat Jul 02 16:29:23 2011
ALTER SYSTEM SET archive_lag_target=0 SCOPE=BOTH SID='*';
Sat Jul 02 16:29:23 2011
ALTER SYSTEM SET log_archive_max_processes=10 SCOPE=BOTH SID='*';
Sat Jul 02 16:29:23 2011
ALTER SYSTEM SET log_archive_min_succeed_dest=1 SCOPE=BOTH SID='*';
Sat Jul 02 16:29:27 2011
Beginning log switch checkpoint up to RBA [0x3b7.2.10], SCN: 7939485
Thread 1 advanced to log sequence 951
Current log# 4 seq# 951 mem# 0: D:\ORACLE\P11\ORIGLOGB\LOG_G14M1.DBF
Current log# 4 seq# 951 mem# 1: C:\ORACLE\P11\MIRRLOGB\LOG_G14M2.DBF
Sat Jul 02 16:29:28 2011
ALTER SYSTEM SET log_archive_dest_2='service="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=p11_disaster_XPT)(INSTANCE_NAME=p11)(SERVER=dedicated)))"',' ARCH SYNC NOAFFIRM delay=5 OPTIONAL max_failure=0 max_connections=1 reopen=300 db_unique_name="p11_disaster" register net_timeout=180 valid_for=(online_logfile,primary_role)' SCOPE=BOTH;
Sat Jul 02 16:29:28 2011
ALTER SYSTEM SET log_archive_dest_state_2='ENABLE' SCOPE=BOTH;
Beginning log switch checkpoint up to RBA [0x3b8.2.10], SCN: 7939487
Thread 1 advanced to log sequence 952
Current log# 2 seq# 952 mem# 0: D:\ORACLE\P11\ORIGLOGB\LOG_G12M1.DBF
Current log# 2 seq# 952 mem# 1: C:\ORACLE\P11\MIRRLOGB\LOG_G12M2.DBF
Sat Jul 02 16:29:29 2011
Error 12541 received logging on to the standby
Check whether the listener is up and running.
Sat Jul 02 16:29:29 2011
Errors in file d:\oracle\p11\saptrace\background\p11_arc1_2396.trc:
ORA-12541: TNS:no listener
FAL[server, ARC1]: Error 12541 creating remote archivelog file '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=PROD102)(PORT=1521)))(CONNECT_DATA=
Here is the Alert log of standby
RFS[2]: Identified database type as 'physical standby'
Sat Jul 02 16:21:00 2011
RFS[3]: Assigned to RFS process 1620
RFS[3]: Identified database type as 'physical standby'
Sat Jul 02 16:21:00 2011
RFS[2]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00947_0755040789.001'
Sat Jul 02 16:21:00 2011
RFS[3]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00948_0755040789.001'
Sat Jul 02 16:21:00 2011
Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00947_0755040789.001
Identified End-Of-Redo for thread 1 sequence 947
Sat Jul 02 16:21:01 2011
Media Recovery End-Of-Redo indicator encountered
Sat Jul 02 16:21:01 2011
Media Recovery Applied until change 7934481
Media Recovery archivelogs detected beyond End-Of-REDO
Resetting standby activation ID 1369083708 (0x519a8f3c)
Completed: Alter Database Recover Managed Standby Database
Sat Jul 02 16:21:29 2011
Alter Database Recover Managed Standby Database Disconnect
MRP0 started with pid=28, OS id=996
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 2 processes
Clearing online redo logfile 1 D:\ORACLE\P11\ORIGLOGA\LOG_G11M1.DBF
Clearing online log 1 of thread 1 sequence number 949
Sat Jul 02 16:21:36 2011
Completed: Alter Database Recover Managed Standby Database Disconnect
Sat Jul 02 16:21:37 2011
Clearing online redo logfile 1 complete
Clearing online redo logfile 2 D:\ORACLE\P11\ORIGLOGB\LOG_G12M1.DBF
Clearing online log 2 of thread 1 sequence number 946
Clearing online redo logfile 2 complete
Clearing online redo logfile 3 D:\ORACLE\P11\ORIGLOGA\LOG_G13M1.DBF
Clearing online log 3 of thread 1 sequence number 944
Clearing online redo logfile 3 complete
Clearing online redo logfile 4 D:\ORACLE\P11\ORIGLOGB\LOG_G14M1.DBF
Clearing online log 4 of thread 1 sequence number 945
Clearing online redo logfile 4 complete
Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00948_0755040789.001
Media Recovery Waiting for thread 1 sequence 949
Sat Jul 02 16:22:37 2011
RFS[1]: No standby redo logfiles created
RFS[1]: Archived Log: 'C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00949_0755040789.001'
Sat Jul 02 16:22:37 2011
RFS[1]: Archive log thread 1 sequence 949 available in 5 minute(s)
Sat Jul 02 16:22:37 2011
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[4]: Assigned to RFS process 2200
RFS[4]: Identified database type as 'physical standby'
Primary database is in MAXIMUM PERFORMANCE mode
Primary database is in MAXIMUM PERFORMANCE mode
RFS[4]: No standby redo logfiles created
Sat Jul 02 16:22:38 2011
Media Recovery Delayed for 5 minute(s) (thread 1 sequence 949)
Sat Jul 02 16:27:38 2011
Media Recovery Log C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00949_0755040789.001
Media Recovery Waiting for thread 1 sequence 950 (in transit)
Sat Jul 02 16:29:42 2011
RFS[4]: Possible network disconnect with primary database
Aborting archivelog file creation: C:\ORACLE\P11\ORAARCH\P11ARCH\ARC00950_0755040789.001
If this a network disconnect, then this archivelog will be fetched again
by GAP resolution mechanism.
Please advice as i am not sure of i have created something in listener file for DGMGRL configuration..
RegardsDGMGRL> show configuration
Configuration
Name: my_dg
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
P11_primary - Primary database
P11_disaster - Physical standby database
Current status for "my_dg":
Warning: ORA-16607: one or more databases have failed
DGMGRL> SHOW DATABASE 'P11_primary' 'StatusReport';
STATUS REPORT
INSTANCE_NAME SEVERITY ERROR_TEXT
p11 ERROR ORA-16737: the redo transport service for standby database "P11_disaster" has an error
p11 WARNING ORA-16715: redo transport-related property LogXptMode of standby database "P11_disaster" is inconsistent
DGMGRL> SHOW DATABASE 'P11_primary' 'LogXptStatus';
LOG TRANSPORT STATUS
PRIMARY_INSTANCE_NAME STANDBY_DATABASE_NAME STATUS
p11 P11_disaster ORA-12541: TNS:no listener
After this when i check the status of listener at P11_disaster site it was up . I restarted the listener and found following message in listener log at standby ( p11_primary) . These are the last lines of listener log.
03-JUL-2011 13:36:40 * (CONNECT_DATA=(SID=P11)(GLOBAL_NAME=TO_STANDBY.WORLD)(CID=(PROGRAM=d:\oracle\p11\102\bin\ORACLE.EXE)(HOST=PROD104)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.104)(PORT=2244)) * establish * P11 * 0
03-JUL-2011 13:36:40 * (CONNECT_DATA=(SID=P11)(GLOBAL_NAME=TO_STANDBY.WORLD)(CID=(PROGRAM=d:\oracle\p11\102\bin\ORACLE.EXE)(HOST=PROD104)(USER=SYSTEM))) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.104)(PORT=2245)) * establish * P11 * 0
03-JUL-2011 13:45:25 * ping * 0
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11.WORLDipc)))
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11ipc)))
No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.102)(PORT=1527)))
Listener completed notification to CRS on stop
03-JUL-2011 13:45:34 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=p11adm))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869824)) * stop * 0
TNSLSNR for 64-bit Windows: Version 10.2.0.2.0 - Production on 03-JUL-2011 13:45:42
Copyright (c) 1991, 2005, Oracle. All rights reserved.
System parameter file is D:\oracle\P11\102\network\admin\listener.ora
Log messages written to D:\oracle\P11\102\network\log\listener.log
Trace information written to D:\oracle\P11\102\network\trace\listener.trc
Trace level is currently 0
Started with pid=624
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11.WORLDipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\P11ipc)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.0.1.102)(PORT=1527)))
Listener completed notification to CRS on start
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
03-JUL-2011 13:45:46 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=p11adm))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869824)) * status * 0
I am sure this is some configuration issue , however does not have clue :( -
Errors-Ora-01157,ORA-01110,ORA-01033
HI all,
i am unable to login into database,i will explain clearly what has happened,please help me out...my /home directory was 100%,so i was unable to login,what i have did is i have not deleted
archive files but i have moved to other directory /ora_bkp,then i was able to login,today i have rebboted the system and later i have started database,started listener,but when i try to login
through sql*plus or toad i am getting this error.....ORA-01033 (ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS),and when i have tried to check from sql promt ....i am getting this
error....ORA-01157(CANNOT IDENTIFY/LOCK DATAFILE 6 -SEE DBWR TRACE FILE),& ORA-01110(DATA FILE 6: '/SAPDATA/SPO'...
HOW SHOULD I RECTIFY MY PROBLEM...AS I AM VERY NEW IAM TRYING TO EXPLAIN CLEARLY ...PLEASE HELP ME IN SOLVING THIS ISSUE....I HAVE EVEN TRIED ALTER DATABASE OPEN...I AM GETTING ERRORS OF ORA-01157,ORA-01110....WHAT IS MY PROBLEM HOW SHOULD I RECTIFY IT..PLEASE SORT THIS....
THANKS,
MIKEWell, did you check f.i. your alert.log and other dumps?
They will be on your server in the bdump, udump, cdump directories:
Where to Find Files for Analyzing Errors
Oracle records information about important events that occur in your Oracle RAC environment in trace files. The trace files for Oracle RAC are the same as those in single-instance Oracle databases. As a best practice, monitor and back up trace files regularly for all instances to preserve their content for future troubleshooting.
Information about ORA-600 errors appear in the alert_SID.log file for each instance where SID is the instance identifier. For troubleshooting, you may need to also provide files from the following bdump locations:
* $ORACLE_HOME/admin/db_name/bdump on UNIX-based systems
* %ORACLE_HOME%\admin\db_name\bdump on Windows-based systems
Some files may also be in the udump directory.
In addition, the directory cdmp_timestamp contains in-memory traces of Oracle RAC instance failure information. This directory is located in ORACLE_HOME/admin/db_name/bdump/cdmp_timestamp, where timestamp is the time at which the error occurred.
Trace dump files are stored under the cdmp directory. Oracle creates these files for each process that is connected to the instance. The naming convention for the trace dump files is same as for trace files, but with .trw as the file extension.
(http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#RACAD512) -
Errors ORA-01034, ORA-27101 and ORA-01033
Hi!
I have Oracle 9i DB and DevSuite 10g installed on my laptop. There are three databases on my machine.
Recently, I tried to install Oracle Discoverer 10g and that's where the problem started. I could no longer connect to the databse using either SQL*Plus, TOAD or even from the front end application.
I realised that some of the regisrty entries were no longer in place after the Discoverer installation. After doing these entries, I am still getting the following errors while connecting:
ORA-01034 : Oracle not available
ORA-27101 : Shared memory realm does not exist
After doing the following entries in the registry, for the default database, I'm getting the 'ORA-01033 : Oracle Initialization or shutdown in progress' error while connecting for that particular db:
ORACLE_SID=DTA
ORA_DTA_AUTOSTART=TRUE
ORA_DTA_SHUTDOWN=TRUE
ORA_DTA_SHUTDOWN_TIMEOUT=30
ORA_DTA_SHUTDOWNTYPE=i
And for the other two DBs, the errors ORA-01034, ORA-27101 remain the same.
Can anyone please help?
Best regards,
AparnaHave you checked your Windows services for the Oracle instances? Started and set to auto-start on boot.
Also check your $path variable to make sure the Oracle home(s) appear in the path
HTH -- Mark D Powell -- -
Due to ORA-01033, I could not start my BW 3.5 instance
Hello Friends,
I am not able to start up my BI 3.5 instance from SAP GUI.
Error in the SAP Manager console is
"Database: > ORA-01033: ORACLE initialization or shutdown in progress"
So I shutdown my oracle database,log on as sysdba and applied following commands.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 219749116 bytes
Fixed Size 453372 bytes
Variable Size 134217728 bytes
Database Buffers 83886080 bytes
Redo Buffers 1191936 bytes
Database mounted.
ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
What is this ORA-01589 error all about?
I am still not able to start my BW instance.
Please help me with this.
Thanks & Regards,
-HardikHi Hardik,
This error normally comes due to the inconsistent data file and can be recovered if you are having the current archive files in your oraarch folder.
Shutdown the database first then startup the database as follows:
connect / as sysdba
SQL>startup mount
SQL> RECOVER DATAFILE 'E:\ORACLE\S01\SAPDATA1\SYSTEM_\SYSTEM.DATA1';
Then open the database as below:
SQL>ALTER DATABASE OPEN;
I hope this will solve the problem provided the required archive files are available.
Regards,
Vinayak -
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 !
ThanksStandby 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 -
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 -
Error ora-01033 initialization or shutdown in progress Oracle 10g
Hello !
I am a young Gabonese student and I need your help , it turns out that I have an Oracle database 10g and I am facing the same problem for a month already
Indeed, my database shows me
The instance of the database that my application connects (SID = MyApp) fails has started, due to an error with the code:
ora-01033 initialization or shutdown in progress.
And here is the list of other error messages that SQLPLUS console displays:
ORA - 01115: for I / O error reading block from file 2 <# block 926>
ORA - 01110: data file 2:
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: Failed to read / write asynchronous
OSD - 04016: Error queuing of pending asynchronous I / O request.
O / S - Error: <OS 1117> unable to meet demand due to an error O peripheral I /
ORA - 01115: I / O error reading block from file 2 <Block # 983>
ORA - 01110 data file 2
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: failure to read / write asynchronous
it 's been days since I research different forum a clear solution for this type of problem but I can not find anything satisfactory and definitive any help for me is precious ... thank you in advancec8884db4-2595-4c5e-bd57-a33002f6d13c wrote:
Hello !
I am a young Gabonese student and I need your help , it turns out that I have an Oracle database 10g and I am facing the same problem for a month already
Indeed, my database shows me
The instance of the database that my application connects (SID = MyApp) fails has started, due to an error with the code:
ora-01033 initialization or shutdown in progress.
And here is the list of other error messages that SQLPLUS console displays:
ORA - 01115: for I / O error reading block from file 2 <# block 926>
ORA - 01110: data file 2:
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: Failed to read / write asynchronous
OSD - 04016: Error queuing of pending asynchronous I / O request.
O / S - Error: <OS 1117> unable to meet demand due to an error O peripheral I /
ORA - 01115: I / O error reading block from file 2 <Block # 983>
ORA - 01110 data file 2
C: \ MyApp \ DATABASE \ ORACLE \ ORADATA \ MyApp \ UNDOTBS01.DBF
ORA - 27070: failure to read / write asynchronous
it 's been days since I research different forum a clear solution for this type of problem but I can not find anything satisfactory and definitive any help for me is precious ... thank you in advance
OS/Disk failure external to Oracle.
Oracle is victim; not the culprit.
After the disk throwing error is replaced, you will need to restore the DB from most recent backup. -
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
Maybe you are looking for
-
3G iPhone Problems with iTunes 9.2: synch problems
About 3 days ago I started getting this error message when I tried to sync my iPhone 3G with my Outlook 2007: "iTunes could not sync calendars to the iPhone [name of phone] because the sync server failed to sync the iPhone." I tried various ways to t
-
Organizing in Aperature from iPhoto
Is this true: I can rearrange photos within a project, and I can also rearrange photos in an album. If I delete a photo from a project it is gone forever. If I delete a photo from an album, the photo is deleted from the album without deleting the pho
-
Contact Sheet placement help in PS CC
I'm still using Photoshop CC (not 2014) and would like to make sure my images all appear in a set position on a 9x12 document. This is not happening for me and the file name is located about 2 inches lower. This is very vague but any advise on how to
-
AD Sync failover workflow not firing?
Hi Everyone, We have a sitaution where it doesn't look like the AD Sync failover workflow is firing. We are syncing changes from an AD resource using IDM 7.1.1.14 and have configured the AD Sync Failover as documented in the docs. Everything seems to
-
Error updating LDAP properties: An internal error has occurred in the secLdap plugin
Post Author: kbd_vijey CA Forum: Authentication Hi, We are using Environment / Tools : BusinessObjects Enterprise XI R2 ,Sun Soloris 10,Active Directory. To Configure the LDAP, we have done from CMC - > Authentication -> LDAP. The below steps we have