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..
Regards

DGMGRL> 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 :(

Similar Messages

  • 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??
    Regards

    Thank 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

  • Standby ORA-12505 error

    I have tried to create the standby without the DG broker .However , I am getting this error in alert log at primary which I am not able to resolve.
    PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
    Mon Jul 04 12:41:35 2011
    Error 12505 received logging on to the standby
    Mon Jul 04 12:41:35 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc6_1904.trc:
    ORA-12505: TNS:listener does not currently know of SID given in connect descriptor
    PING[ARC6]: Heartbeat failed to connect to standby 'to_standby'. Error is 12505.
    Pfile of Primary Server
    *._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'
    *.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
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.104)(PORT = 1521))'
    *.log_archive_config='dg_config=(P11_disaster,P11_primary)'
    *.log_archive_dest_1='LOCATION=C:\oracle\P11\oraarch\P11arch VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=P11_primary'
    *.log_archive_dest_2='SERVICE=to_standby LGWR ASYNC DELAY=5 VALID_FOR=(ONLINE_LOGFILES, PRIMARY_ROLE) DB_UNIQUE_NAME=P11_disaster'
    *.log_archive_dest_state_1='enable'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_max_processes=10
    *.log_archive_min_succeed_dest=1
    *.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
    *.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 Standby Server
    *._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'
    *.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
    *.local_listener='(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.1.102)(PORT = 1521))'
    *.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'
    TNSnames of Primary File
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    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 = P11_DISASTER.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 = P11_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.104)(port= 1527))
    Listener.ora of Primary
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = P11)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = prod104)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    Tnsnames.ora of Standby
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    # Filename......: tnsnames.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/TNSNAMES.ORA#4 $
    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 = P11_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 = P11_PRIMARY.WORLD)
    LISTENER_P11.WORLD=(address=(protocol= tcp)(host=10.0.1.102)(port= 1527))
    Listener.ora of Standby
    # Filename......: listener.ora
    # Created.......: created by SAP AG, R/3 Rel. >= 6.10
    # Name..........:
    # Date..........:
    # @(#) $Id: //bc/700-1_REL/src/ins/SAPINST/impl/tpls/ora/ind/LISTENER.ORA#4 $
    ADMIN_RESTRICTIONS_LISTENER = on
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = P11.WORLD)
    (ADDRESS=
    (PROTOCOL = IPC)
    (KEY = P11)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = 10.0.1.102)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    Please advice.
    Regards
    Edited by: dharm.singh on Jul 4, 2011 12:33 AM

    It is working now after adding this entry
    SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=P11)(ORACLE_HOME=D:\oracle\P11\102))) and also able to connect to primary to standby.
    using command
    sqlplus sys/****@to_standby as sysdba
    However , the Primary alter log is showing many errors
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Jul 04 14:56:05 2011
    SMON: enabling cache recovery
    Mon Jul 04 14:56:07 2011
    Incremental checkpoint up to RBA [0x3e4.3.0], current log tail at RBA [0x3e4.3.0]
    Mon Jul 04 14:56:08 2011
    Error 1033 received logging on to the standby
    Mon Jul 04 14:56:08 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
    ORA-01033: ORACLE initialization or shutdown in progress
    Mon Jul 04 14:56:08 2011
    LGWR: Setting 'active' archival for destination LOG_ARCHIVE_DEST_2
    Error 1033 received logging on to the standby
    Mon Jul 04 14:56:08 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_lns1_400.trc:
    ORA-01033: ORACLE initialization or shutdown in progress
    LGWR: Error 1033 creating archivelog file 'to_standby'
    LNS: Failed to archive log 2 thread 1 sequence 996 (1033)
    Mon Jul 04 14:56:08 2011
    FAL[server, ARC0]: Error 1033 creating remote archivelog file 'to_standby'
    FAL[server, ARC0]: FAL archive failed, see trace file.
    Mon Jul 04 14:56:09 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc0_1532.trc:
    ORA-16055: FAL request rejected
    ARCH: FAL archive failed. Archiver continuing
    Mon Jul 04 14:56:09 2011
    Successfully onlined Undo Tablespace 1.
    Mon Jul 04 14:56:09 2011
    SMON: enabling tx recovery
    Mon Jul 04 14:56:10 2011
    Database Characterset is UTF8
    Starting background process QMNC
    QMNC started with pid=26, OS id=180
    Mon Jul 04 14:56:16 2011
    Completed: ALTER DATABASE OPEN
    Mon Jul 04 14:57:00 2011
    Shutting down archive processes
    Mon Jul 04 14:57:05 2011
    ARCH shutting down
    ARCa: Archival stopped
    Mon Jul 04 15:02:06 2011
    Errors in file d:\oracle\p11\saptrace\background\p11_arc2_500.trc:
    ORA-16143: RFS connections not allowed during or after terminal recovery
    Mon Jul 04 15:02:06 2011
    PING[ARC2]: Heartbeat failed to connect to standby 'to_standby'. Error is 16143.
    p11arc0_1532.trc log file_
    Dump file d:\oracle\p11\saptrace\background\p11_lns1_400.trc
    Mon Jul 04 14:56:04 2011
    ORACLE V10.2.0.2.0 - 64bit Production vsnsta=0
    vsnsql=14 vsnxtr=3
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU : 2 - type 8664, 1 Physical Cores
    Process Affinity : 0x0000000000000000
    Memory (Avail/Total): Ph:2627M/3319M, Ph+PgF:9964M/11161M
    Instance name: p11
    Redo thread mounted by this instance: 1
    Oracle process number: 26
    Windows thread id: 400, image: ORACLE.EXE (LNS1)
    *** SERVICE NAME:() 2011-07-04 14:56:03.968
    *** SESSION ID:(73.1) 2011-07-04 14:56:03.968
    *** 2011-07-04 14:56:03.968 57032 kcrr.c
    LNS1: initializing for LGWR communication
    LNS1: connecting to KSR channel
    Success
    LNS1: subscribing to KSR channel
    Success
    *** 2011-07-04 14:56:04.031 57085 kcrr.c
    LNS1: initialized successfully ASYNC=1
    Destination is specified with ASYNC=61440
    *** 2011-07-04 14:56:08.203 70857 kcrr.c
    Sending online log thread 1 seq 996 [logfile 2] to standby
    Opening logfile [logno 2]
    LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1033 and errmsg is 'ORA-01033: ORACLE initialization or shutdown in progress
    *** 2011-07-04 14:56:08.812 60639 kcrr.c
    Error 1033 received logging on to the standby
    Error 1033 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
    Error 1033 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'to_standby'
    ORA-01033: ORACLE initialization or shutdown in progress
    *** 2011-07-04 14:56:08.843 60639 kcrr.c
    LGWR: Error 1033 creating archivelog file 'to_standby'
    *** 2011-07-04 14:56:08.859 58901 kcrr.c
    kcrrfail: dest:2 err:1033 force:0 blast:1
    *** 2011-07-04 14:56:11.296
    *** 2011-07-04 14:56:11.296 70857 kcrr.c
    Sending online log thread 1 seq 996 [logfile 2] to standby
    Opening logfile [logno 2]
    LGWR: Archivelog for thread 1 sequence 996 will NOT be compressed
    *** 2011-07-04 14:56:11.796 70982 kcrr.c
    Shutting down [due to no more ASYNC destination]
    LNS1: Doing a channel reset for next time around...
    Edited by: dharm.singh on Jul 4, 2011 2:31 AM

  • 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!
    --Kate                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Srini -
    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 Error Coming Continuosly

    When I am trying to connect to the database the error is coming "Oracle shutdown or intilialization is in process". I am not able to do anything.
    My database is on some other computer and i am trying to connect using host string. I am using Oracle version10.1.0.4.2 (10G)
    I checked the trace file and got the error below:
    ORA-00333: redo log read error block 31464 count 8192
    ORA-00312: online log 2 thread 1: 'D:\ORACLE\ORADATA\ORCL\REDO02.LOG'
    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).
    ORA-00333: redo log read error block 31464 count 8192
    ORA-00312: online log 2 thread 1: 'D:\ORACLE\ORADATA\ORCL\REDO02.LOG'
    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).
    *** 2008-05-13 18:14:50.934
    ORA-00333: redo log read error block 31464 count 8192
    Please suggest the needful asap or mail @ [email protected]

    ORA-01033: ORACLE initialization or shutdown in progress
    Cause: An attempt was made to log on while Oracle is being started up or shutdown.
    Action: Wait a few minutes. Then retry the operation.

  • ORA-01033 Error... Please Help!

    Dear all expert,
    After Re-boot the computer, The system show the following error code; Kindly provide solution for me to fixed this case..
    Thank of all Expert.
    The Error message reference to the following:
    SQL&gt; shutdown immediate
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL&gt;
    SQL&gt; 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-00333: redo log read error block 90114 count 8192

    Dear Donald Spry
    I have try you suggestion to run the command in SQL Plus. But Have The following Error:
    SQL*Plus: Release 9.2.0.1.0 - Production on Mon May 12 22:53:58 2003
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> startup mount;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> shutdown abort
    ORACLE instance shut down.
    SQL> startup mount;
    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.
    SQL> alter database recover automatic;
    alter database recover automatic
    ERROR at line 1:
    ORA-00283: recovery session canceled due to errors
    ORA-00333: redo log read error block 90114 count 8192
    SQL> alter database open;
    alter database open
    ERROR at line 1:
    ORA-00333: redo log read error block 90114 count 8192
    Please Let me know how can I do? Is it need me to re-install the Oracle 9i?
    Thousand Thanks!!
    Best Regrads
    Vincent Chan

  • ORA-01033 Error

    My Window NT V4.0 (SP6) was crashed during I am running DBA Studio and SQLPlus on the command line. I reboot the computer, and rerun the SQLPlus script, and DBA Studio and get error ORA_01033. No matter how long I wait, this error does not go away, even after I shutdown the computer. Should I delete some kind of cache, and how?
    Thank you very much!
    null

    Thanks...Problem sloved!!!
    I had tried shutdown the database with SET ORACLE_SID= <databasename>
    SVRMGRL
    Connect Internal
    select * from v$database;
    shutdown abort
    startup pfile '<path for init.ora>'
    After running this it was showing one of the database correpurt and i had done alter database open/mount and select * from dba_tablespaces and recovered datafile. After that shutdown abort and startup pfile. It had recovered the database and started the database connection successfully.
    Try these if u have same kind of problems.
    Regards,
    Manesh.

  • 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

  • Creating physical standby using rman fails with ORA-19558: error de-allocat

    Dear All,
    We are creating physical stadnby database from 2 node RAC ( 2 node RAC to standalone physical standby).
    While in the rman duplicate process we are getting below error, we were not able to sorted out..
    No third party storage has been used ....
    DB version : 11gR2 and the OS is RHEL5
    Appreciate if any one hepl us to resolve this issue ...
    Thanks in advance ...
    RMAN-03009: failure of backup command on prmy1 channel at 10/05/2011 17:59:26
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    Edited by: 889828 on 2011/10/06 2:17 AM

    The problem is well decribed in your alert log.....you are using Oracle Managed File names which means you will not be able to duplicate the database as RMAN won't be able to automatically generate new names for the files using the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT initialization parameters.
    Youll have to use the SET NEWNAME command to specify the names of the database files. Done this a few times , and I don't recommend using OMF specifically beacuse of this hassle.
    WARNING: OMF is enabled on this database. Creating a physical standby controlfile, when OMF is enabled on the primary database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures describing how to manually resolve OMF datafile pathnames.
    Problem handling is described in
    Oracle® Database Backup and Recovery Reference
    10g Release 2 (10.2)
    Part Number B14194-03

  • 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 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

  • Standby instance: Ora-01033 when changing passwort

    Hello
    I build up an standby instance which I would like to as^dd in Grid Control. As you know, the standby instances is mounted, but not opened.
    This state leads to an error when trying to change dbsnmp's password:
    oracle@sksta90271 [IARTSBY]:~> sqlplus sys as sysdba
    SQL*Plus: Release 10.2.0.3.0 - Production on Mon May 26 09:13:36 2008
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    SQL> alter user dbsnmp identified by test;
    alter user dbsnmp identified by test
    ERROR at line 1:
    ORA-01109: database not open
    SQL>
    I need to set dbsnmp's password to add the instance in Grid control. How to do this?
    Thanks Casi

    The procedure above (setting pw for dbsnmp, switching logfiles and having them
    applied to standby) was not succesful.Can you be more specific at what point did it fail??
    On Primary Database:
    ====================
    SQL> alter user scott identified by scott123;
    User altered.
    SQL> conn scott/scott123
    Connected.
    SQL> conn /as sysdba
    Connected.
    SQL> alter system switch logfile;
    System altered.
    On Physical Standby Database:
    =============================
    SQL> conn scott/scott123
    ERROR:
    ORA-01033: ORACLE initialization or shutdown in progress
    Warning: You are no longer connected to ORACLE.
    SQL> conn /as sysdba
    Connected.
    SQL>
    SQL> alter database recover managed standby database cancel;
    Database altered.
    SQL> alter database open ;
    Database altered.
    SQL> conn scott/scott123
    Connected.

  • 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 out

    this 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...

  • 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,
    MIKE

    Well, 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,
    Aparna

    Have 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 --

Maybe you are looking for