Cannot mount standby database
Hi anyone,
im trying to create physical standby db, oracle10g release 1 running on windows NT. currently i cannot mount the standby database receive error as:
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01102: cannot mount database in EXCLUSIVE mode
and when i shutdown the primary db, i retry to mount standby db but receive another error,
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01665: controlfile is not a standby controlfile
what should i do?
can someone advice me?
regards,
Nonie
im trying to create physical standby db, oracle10g
release 1 running on windows NT. currently i cannot
mount the standby database receive error as:
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01102: cannot mount database in EXCLUSIVE mode
Look likes , you setup standby on same machine , try init.ora parameter LOCK_NAME_SPACE. Also make sure you use standby control file for standby database.
ALTER DATABASE CREATE STANDBY CONTROLFILE AS '<location>'
- Virag Sharma
http://virag.sharma.googlepages.com
http://viragsharma.blogspot.com
Similar Messages
-
Error while mounting Standby database
Hi all,
I am getting ORA-01102: cannot mount database in EXCLUSIVE mode error when truying to mount the standby database.
SQL>alter database mount standby database ;
If anyone faced the same issue please guide me.
Thanks and Regards
Salih KMThis is script for Standby..
Primary Server Configuration
1.In the TNSNAMES.ORA of Primary DB add the entry of the Standby DB
IRCSSTDB(This is the service name in Primary DB to connect to Standby DB) =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1512))
(CONNECT_DATA =
(SERVICE_NAME = IRCS(This is the actual INSTANCE name of Running DB on Standby DB)
2. There is no need to Make any Changes in the Listener.ora of PRIMARY DB
Keep LISTENER.ORA of Primary as it is
Copy Listener.ora from Primary DB to Standby DB and make following changes
Delete All the Extra Existing listeners.
(These Updations are for the STANDBY DB)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = IRCS)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
3.In the INIT.ORA of Primary DB add Following…
log_archive_dest_2 = "service=STBY optional/Mandatory scope=BOTH"
log_archive_dest_2 = Enable
log_archive_min_succeed_dest = 2
We can add this Dynamically with the SQL*PLUS..
Standby DB Server Configuration
1.In the TNSNAMES.ORA of Standby DB add the entry of the Primary DB
primary1(ISSL)(This is the service name in Standby DB to connect to Primary DB)=
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp) (PORT=1521) (HOST=PRIMARY MACHINE NAME))
(CONNECT_DATA=(SERVICE_NAME=IRCS(This is the actual INSTANCE name of Running DB on Primary DB)
2.Copy Listener.ora from Primary DB to Standby DB and make following changes
Same as Above
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = IRDBACK)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = IRCS)
(ORACLE_HOME = /ora01/app/oracle/product/9.2.0))
3. Connect to Idle instance..
1.C:\ oradim –NEW –SID ircs –INTPWD pwdfilename –STARTMODE auto –pfile E:\oracle\oradata\pfile\init.ora
2. C:\ set oracle_sid=IRCS
3. C:\ sqlplus /nolog
4. SQL:>connect sys/ircl as SYSDBA
5. SQL:>startup nomount pfile= E:\oracle\oradata\pfile\init.ora
6. SQL:> alter database mount standby database;
7. SQL :> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;
4. we can also add these parameter in INIT.ORA of Standby DB
1.standby_archive_dest= /u00/app/oracle/admin/sec/arch (Same path as in
(log_archive_dest_1) in init.ora
2. Fal_client=standby1 (Service Name)
3. Fal_server=primary1 (Service Name)
Troubleshooting….
1. Check Init.ora of Primary DB
2. Try to open Standby Database in normal mode try to connect it with normal user from different Machine.
3.check *.logs file on Standby Database
4.Check v$archive_dest on Primary DB
5. lsnrctl services <listener name>….For Checking Listener, for service -
Cannot open standby database in read only....
i do the following procedure on my standby database
ORACLE 9.2.0.7
SQL> startup nomount
ORACLE instance started.
Total System Global Area 538412112 bytes
Fixed Size 742480 bytes
Variable Size 402653184 bytes
Database Buffers 134217728 bytes
Redo Buffers 798720 bytes
SQL> lter database mount standby database;
SP2-0734: unknown command beginning "lter datab..." - rest of line ignored.
SQL> alter database mount standby database;
Database altered.
SQL> SQL> recover standby database until cancel;
ORA-00279: change 4274363673 generated at 09/18/2006 11:25:08 needed for thread
1
ORA-00289: suggestion : /u12/oradata/dbadmon/arch/dbadmon9135.arc
ORA-00280: change 4274363673 for thread 1 is in sequence #9135
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
auto
ORA-00279: change 4275275613 generated at 09/18/2006 14:03:09 needed for thread
1
ORA-00289: suggestion : /u12/oradata/dbadmon/arch/dbadmon9136.arc
ORA-00280: change 4275275613 for thread 1 is in sequence #9136
ORA-00278: log file '/u12/oradata/dbadmon/arch/dbadmon9135.arc' no longer
needed for this recovery
ORA-00308: cannot open archived log '/u12/oradata/dbadmon/arch/dbadmon9136.arc'
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3
SQL> alter database open read only;
alter database open read only
ERROR at line 1:
ORA-01092: ORACLE instance terminated. Disconnection forced
THEN i check in the alert...
Errors in file /u00/oracle/admin/dbadmon/udump/dbadmon_ora_24028.trc:
ORA-00704: bootstrap process failure
ORA-00600: internal error code, arguments: [2652], [76], [76], [0], [0], [787456], [], []
Mon Sep 18 13:59:16 2006
Error 704 happened during db open, shutting down database
USER: terminating instance due to error 704
Instance terminated by USER, pid = 24028
ORA-1092 signalled during: alter database open read only...
followed by the trace file...
/u00/oracle/admin/dbadmon/udump/dbadmon_ora_24028.trc
Oracle9i Enterprise Edition Release 9.2.0.7.0 - 64bit Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
ORACLE_HOME = /u00/oracle/product/9.2.0.1
System name: AIX
Node name: eserver1
Release: 1
Version: 5
Machine: 000651FA4C00
Instance name: dbadmon
Redo thread mounted by this instance: 1
Oracle process number: 14
Unix process pid: 24028, image: oracle@eserver1 (TNS V1-V3)
*** SESSION ID:(11.1) 2006-09-18 13:58:57.859
Start recovery at thread 1 ckpt scn 4274363673 logseq 9135 block 2
*** 2006-09-18 13:59:00.215
Media Recovery Log /u12/oradata/dbadmon/arch/dbadmon9135.arc
*** 2006-09-18 13:59:11.868
Media Recovery Log /u12/oradata/dbadmon/arch/dbadmon9136.arc
----- Redo read statistics for thread 1 -----
Read rate (ASYNC): 27062Kb in 13.99s => 1.86 Mb/sec
Longest record: 8Kb, moves: 22/97639 (0%)
Change moves: 43706/193539 (22%), moved: 4Mb
*** 2006-09-18 13:59:14.688
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [2652], [76], [76], [0], [0], [787456], [], []
Current SQL statement for this session:
select /*+ rule */ name,file#,block#,status$,user#,undosqn,xactsqn,scnbas,scnwrp,DECODE(inst#,0,NULL,inst#),ts#,spare1 from undo$
where us#=:1
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp+0148 bl ksedst 1029170CC ?
ksfdmp+0018 bl 01FD771C
kgeriv+0118 bl _ptrgl
kgesiv+0080 bl kgeriv FFFFFFFFFFEBEF0 ? 080000000 ?
101A6C640 ? 000000000 ?
FFFFFFFFFFEBE70 ?
ksesic5+005c bl kgesiv 70000000E517A78 ?
70000000E517748 ?
Can anyone gie me a hand please???
Thanks in advance.Doc ID: Note:1038418.6
Please check permissions on dump desitnation directory.
Also check if dual table is present. -
How to get the date of the last transaction in a mounted standby database?
Hello,
Could you tell me how to get the date of the last transaction recorded in a MOUNTED standby database?
The following query doesn't work...because the database is not open...
select scn_to_timestamp(current_scn) from v$database;
ThanksHi,
You should be able to run the following command in mounted mode on standby database.
select current_scn from v$database;
then run the following to convert it to timestamp.
select scn_to_timestamp(99999999) from dual; *<-- Replace here the SCN value you got above. This needs to be run on the primary database due to standby database in mount mode.*
Alternatively you can also check at the alert.log file to find the last scn which has been applied.
Regards
Edited by: skvaish1 on Jan 19, 2010 11:15 AM -
Cannot Convert standby database from snapshot to physical
Hello all,
I am using Oracle Entreprise version 11gR1 and had made the followings configuration:
- ANAISMD2 : primary database+_+
- ANAISMD3 : physical standby datbase. Created via RMAN
Both are located on the same host running a RH 4.
ANAISMD3 is maintained successfully with the primary.
I can make a fail-over between the both: it works fine.
I can convert ANAISMD3 from physical to snapshot via DGMGRL: it works fine
But I cannot convert back ANAISMD3 to physical, got an error ORA-12514
I had checked also the listener service for both ANAISMD2/ANAISMD3 before launching the conversion:
- the services shown on ANAISMD3 seems correct e.g. ANAISMD2 is seen as a remote server.
- but on ANAISMD2, ANAISMD3 seems incorrect e.g. ANAISMD3 is seen as a local server.
I had attached some screen shots of dg/lsnrctl results;
What are the mistakes
Thank in advance for support
==> Before I made the conversion , DGMGRL shows correct primary/standby status:
DGMGRL for Linux: Version 11.1.0.6.0 - Production
Copyright (c) 2000, 2005, Oracle. All rights reserved.
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys/oracle@ANAISMD2
Connected.
DGMGRL> show configuration
Configuration
Name: ANAIS
Enabled: YES
Protection Mode: MaxPerformance
Databases:
ANAISMD2 - Primary database
ANAISMD3 - Snapshot standby database
Fast-Start Failover: DISABLED
Current status for "ANAIS":
SUCCESS
==> When I want to convert back ANAISMD3 to physical, I got the following errors from the listener:_
Welcome to DGMGRL, type "help" for information.
DGMGRL> connect sys/oracle@ANAISMD2
Connected.
DGMGRL> convert database 'ANAISMD3' to physical standby;
Converting database "ANAISMD3" to a Physical Standby database, please wait...
Operation requires shutdown of instance "ANAISMD3" on database "ANAISMD3"
Shutting down instance "ANAISMD3"...
Database closed.
Database dismounted.
ORACLE instance shut down.
Operation requires startup of instance "ANAISMD3" on database "ANAISMD3"
Starting instance "ANAISMD3"...
Unable to connect to database
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Failed.
You are no longer connected to ORACLE
Please connect again.
Unable to start instance "ANAISMD3"
You must start instance "ANAISMD3" manually
Failed to convert database "ANAISMD3"
DGMGRL>
==> Here ist he listener.ora_ (I put the same for both ANAISMD2/ANAISMD3 with port 1541/1551). Note: DGB is the accepted extension for dgmgrl service (instead of DGMGRL as mentionned in documentation).
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL=TCP) (HOST=rh4-2a) (PORT=1541))
TRACE_LEVEL_LISTENER = ADMIN
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME=/home/oracle/product/11.1.0)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = ANAISMD2)
(GLOBAL_DBNAME = ANAISMD2.world)
(ORACLE_HOME=/home/oracle/product/11.1.0)
(SID_DESC =
(SID_NAME = ANAISMD2)
(GLOBAL_DBNAME = ANAISMD2_DGB.world)
(ORACLE_HOME=/home/oracle/product/11.1.0)
(SID_DESC =
(SID_NAME = ANAISMD3)
(GLOBAL_DBNAME = ANAISMD3_DGB.world)
(ORACLE_HOME=/home/oracle/product/11.1.0)
(SID_DESC =
(SID_NAME = ANAISMD3)
(GLOBAL_DBNAME = ANAISMD3.world)
(ORACLE_HOME=/home/oracle/product/11.1.0)
==> Here is the tnsnames.ora (I put the same for both ANAISMD2/ANAISMD3 with port 1541/1551).
ANAISMD2.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rh4-2a)(PORT = 1541))
(CONNECT_DATA =
(SERVICE_NAME = ANAISMD2_DGB.world)
ANAISMD3.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = rh4-2a)(PORT = 1551))
(CONNECT_DATA =
(SERVICE_NAME = ANAISMD3_DGB.world)
==> Here is the sqlnet.ora (same on both):
TRACE_LEVEL_CLIENT = OFF
DIAG_ADR_ENABLED=FALSE
DIAG_DDE_ENABLED=FALSE
DIAG_SIGHANDLER_ENABLED=FALSE
names.directory_path = (TNSNAMES)
names.default_domain = world
name.default_zone = world
==>
==> List of services provided by the listener of ANAISMD2:
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 10-AUG-2009 16:39:36
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rh4-2a)(PORT=1541)))
Services Summary...
Service "ANAISMD2.world" has 1 instance(s).
Instance "ANAISMD2", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
Service "ANAISMD2_DGB.world" has 1 instance(s).
Instance "ANAISMD2", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
+"DEDICATED" established:3 refused:0+
LOCAL SERVER
Service "ANAISMD3.world" has 1 instance(s).
Instance "ANAISMD3", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
Service "ANAISMD3_DGB.world" has 1 instance(s).
Instance "ANAISMD3", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
+"DEDICATED" established:0 refused:0+
LOCAL SERVER
The command completed successfully
==> List of services provided by the listener of ANAISMD3:
Services Summary...
Service "ANAISMD2.world" has 2 instance(s).
Instance "ANAISMD2", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "ANAISMD2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=rh4-2)(PORT=1521))
Service "ANAISMD2_DGB.world" has 2 instance(s).
Instance "ANAISMD2", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "ANAISMD2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=rh4-2)(PORT=1521))
Service "ANAISMD2_XPT.world" has 1 instance(s).
Instance "ANAISMD2", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
REMOTE SERVER
(ADDRESS=(PROTOCOL=TCP)(HOST=rh4-2)(PORT=1521))
Service "ANAISMD3.world" has 1 instance(s).
Instance "ANAISMD3", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "ANAISMD3_DGB.world" has 1 instance(s).
Instance "ANAISMD3", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
The command completed successfullyYou need to have static service registered with listener in this way. This is must because as you know when it converts db that time it shutsdown dbs also so all dynamic services are lost and dgmgrl is not ale to connect to db hence conversion fails.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = ORACLE_SID)
(GLOBAL_DBNAME=db_unique_name_DGMGRL.db_domain)
(ORACLE_HOME = /apps/oracle/product/11.1.0)
Plus with this make a entry in tnsnames.ora using service name from above or check from lsnrctl status look for service "db_unique_name_DGMGRL.db_domain"
e.g. this is my best practice how i give the names to tns entry
db_unique_name_DGMGRL =
(DESCRIPTION =
(SDU = 32767)
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = port))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = db_unique_name_DGMGRL.db_domain)
Define same way in both primary and standby db.
Now use these tns entries to create configuration.
e.g.
create configuration prim_db as primary database is db_unique_name connect identifier is "db_unique_name_DGMGRL";
-- db_unique_name_DGMGRL from primary tns entry
add database stdby_db as connect identifier is "db_unique_name_DGMGRL" MAINTAINED AS PHYSICAL;
-- db_unique_name_DGMGRL from standby db tns entry
hope this will help -
Dear Experts
any one have some detailed step by step guide for
"when standby database server goes down and after startup it automatically mount the standby database"
regards
pakistanUnix? If yes then:
==> srvctl add database -h
Usage: srvctl add database -d <name> -o <oracle_home> [-m <domain_name>] [-p <spfile>] [-A <name|ip>/netmask] [-r {PRIMARY | PHYSICAL_STANDBY | LOGICAL_STANDBY}] [-s <start_options>] [-n <db_name>] [-y {AUTOMATIC | MANUAL}]
-d <name> Unique name for the database
-o <oracle_home> ORACLE_HOME for cluster database
-m <domain> Domain for cluster database
-p <spfile> Server parameter file for cluster database
-A <addr_str> Database cluster alias
-n <db_name> Database name (DB_NAME), if different from the unique name given by the -d option
-r <role> Role of the database (primary, physical_standby, logical_standby)
-s <start_options> Startup options for the database
-y <dbpolicy> Management policy for the database (automatic, manual)
-h Print usageExample:
srvctl add database -d orclsby -o /u01/oracle.11.2 -r PHYSICAL_STANDBY -s "mount" -y AUTOMATIC:p -
Running Server 2008 R2 fully patched with Exchange 2010 SP1 Rollup Package 6
When attempting to mount mailbox database, I receive the following error:
Microsoft Exchange Error
Failed to mount database 'Mailbox Database 2034345905'.
Mailbox Database 2034345905
Failed
Error:
Couldn't mount the database that you specified. Specified database: Mailbox Database 2034345905; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount
database. (hr=0x80004005, ec=-583)
. [Database: Mailbox Database 2034345905, Server: WWW.myservername.com].
An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
. [Database: Mailbox Database 2034345905, Server: WWW.myservername.com]
An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
. [Server: www.myservername.com]
MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
OK
Application Log entry shows the following:
Log Name: Application
Source: MSExchange Management Application
Date: 11/6/2011 10:41:35 PM
Event ID: 5000
Task Category: AdminAuditLog
Level: Error
Keywords: Classic
User: N/A
Computer: www.myservername.com
Description:
Failed to save admin audit log for this cmdlet invocation.
Organization:
Log content:
Subject: myservername.com/Users/Administrator : Mount-Database
Body:
Cmdlet Name: Mount-Database
Object Modified: Mailbox Database 2034345905
Parameter: Identity = Mailbox Database 2034345905
Caller: myservername.com/Users/Administrator
Succeeded: False
Error: System.InvalidOperationException: Couldn\'t mount the database that you specified. Specified database: Mailbox Database 2034345905; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message:
MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. [Database: Mailbox Database 2034345905, Server: WWW.myservername.com]. ---> Microsoft.Exchange.Cluster.Replay.AmDbActionWrapperException: An Active Manager operation failed.
Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---> Microsoft.Exchange.Data.Storage.AmOperationFailedException: An Active Manager operation failed.
Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---> Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n\r\n
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)\r\n at Microsoft.Mapi.ExRpcAdmin.MountDatabase(Guid guidStorageGroup, Guid guidMdb, Int32 ulFlags)\r\n
at Microsoft.Exchange.Cluster.ActiveManagerServer.AmStoreHelper.Mount(Guid mdbGuid, MountFlags flags)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.<>c__DisplayClassb.<MountDatabaseDirect>b__2()\r\n
at Microsoft.Exchange.Cluster.Replay.FailoverPerformanceTrackerBase`1.RunTimedOperation(TOpCode opCode, Action operation)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabaseDirect(Guid mdbGuid, MountFlags storeFlags,
AmMountFlags amMountFlags, AmDbActionCode actionCode)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass19.<MountDatabaseDirect>b__18()\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
databaseName, RpcServerOperation rpcOperation)\r\n --- End of inner exception stack trace (Microsoft.Mapi.MapiExceptionCallFailed) ---\r\n --- End of stack trace on server (www.myservername.com) ---\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String
databaseName, String serverName, RpcErrorExceptionInfo errorInfo)\r\n at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunRpcOperationWithAuth(AmRpcOperationHint rpcOperationHint, String serverName, String databaseName, NetworkCredential
networkCredential, Nullable`1 timeoutMs, InternalRpcOperation rpcOperation)\r\n at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MountDatabaseDirectEx(String serverToRpc, Guid dbGuid, AmMountArg mountArg)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbAction.MountDatabaseDirect(AmServerName
serverName, AmServerName lastMountedServerName, Guid dbGuid, MountFlags storeFlags, AmMountFlags amFlags, AmDbActionCode actionCode)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbStandaloneAction.<>c__DisplayClass2.<MountInternal>b__0(Object
, EventArgs )\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmHelper.HandleKnownExceptions(EventHandler ev)\r\n --- End of inner exception stack trace (Microsoft.Exchange.Data.Storage.AmOperationFailedException) ---\r\n
at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbOperation.Wait(TimeSpan timeout)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabase(Guid mdbGuid, MountFlags storeFlags, AmMountFlags amMountFlags, DatabaseMountDialOverride
mountDialOverride, AmDbActionCode actionCode)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass4.<MountDatabase>b__3()\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
databaseName, RpcServerOperation rpcOperation)\r\n --- End of stack trace on server (WWW.myservername.com) ---\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String
serverName, RpcErrorExceptionInfo errorInfo)\r\n at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, Database database, String targetServer, InternalRpcOperation rpcOperation)\r\n
at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.RequestMount(MountFlags storeMountFlags)\r\n at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.InternalProcessRecord()\r\n --- End of inner
exception stack trace ---
Run Date: 2011-11-07T03:41:32
OriginatingServer: WWW (14.01.0355.001)
Error:
Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=myservername/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=WWW/cn=Microsoft System Attendant. ---> Microsoft.Mapi.MapiExceptionNetworkError:
MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:
Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: WWW.myservername.com
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -545057711
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Long val: 382312662
Lid: 45169 StoreEc: 0x824
Lid: 44273
Lid: 59431 EMSMDB.EcDoConnectEx called [length=177]
Lid: 34855 EMSMDB.EcDoConnectEx returned [ec=0x0][length=82][latency=31]
Lid: 25964 StoreEc: 0x824
Lid: 38951 EMSMDB.EcDoDisconnect called [length=8]
Lid: 55335 EMSMDB.EcDoDisconnect returned [ec=0x0][length=12][latency=0]
Lid: 36081
Lid: 52465 StoreEc: 0x80040115
Lid: 60065
Lid: 33777 StoreEc: 0x80040115
Lid: 59805
Lid: 52209 StoreEc: 0x80040115
Lid: 56583
Lid: 52487 StoreEc: 0x80040115
Lid: 19778
Lid: 27970 StoreEc: 0x80040115
Lid: 17730
Lid: 25922 StoreEc: 0x80040115
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName,
Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize, Client xropClient, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag
storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId, Client xropClient, Boolean wantWebServices, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity,
String applicationId)
at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity auxiliaryIdentity)
at Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass12.<CreateMailboxSession>b__10(MailboxSession mailboxSession)
at Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure
initializeMailboxSessionFailure)
at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString,
PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags
initFlags, IList`1 foldersToInit, IAccountingObject budget)
at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsSystemService(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data, LogMessageDelegate logMessage)
at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange Management Application" />
<EventID Qualifiers="49152">5000</EventID>
<Level>2</Level>
<Task>5</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2011-11-07T03:41:35.000000000Z" />
<EventRecordID>90607</EventRecordID>
<Channel>Application</Channel>
<Computer>www.myservername.com</Computer>
<Security />
</System>
<EventData>
<Data>Subject: myservername.com/Users/Administrator : Mount-Database
Body:
Cmdlet Name: Mount-Database
Object Modified: Mailbox Database 2034345905
Parameter: Identity = Mailbox Database 2034345905
Caller: myservername.com/Users/Administrator
Succeeded: False
Error: System.InvalidOperationException: Couldn\'t mount the database that you specified. Specified database: Mailbox Database 2034345905; Error code: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message:
MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. [Database: Mailbox Database 2034345905, Server: WWW.myservername.com]. ---> Microsoft.Exchange.Cluster.Replay.AmDbActionWrapperException: An Active Manager operation failed.
Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---> Microsoft.Exchange.Data.Storage.AmOperationFailedException: An Active Manager operation failed.
Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n. ---> Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)\n\r\n
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)\r\n at Microsoft.Mapi.ExRpcAdmin.MountDatabase(Guid guidStorageGroup, Guid guidMdb, Int32 ulFlags)\r\n
at Microsoft.Exchange.Cluster.ActiveManagerServer.AmStoreHelper.Mount(Guid mdbGuid, MountFlags flags)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.<>c__DisplayClassb.<MountDatabaseDirect>b__2()\r\n
at Microsoft.Exchange.Cluster.Replay.FailoverPerformanceTrackerBase`1.RunTimedOperation(TOpCode opCode, Action operation)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabaseDirect(Guid mdbGuid, MountFlags storeFlags,
AmMountFlags amMountFlags, AmDbActionCode actionCode)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass19.<MountDatabaseDirect>b__18()\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
databaseName, RpcServerOperation rpcOperation)\r\n --- End of inner exception stack trace (Microsoft.Mapi.MapiExceptionCallFailed) ---\r\n --- End of stack trace on server (www.myservername.com) ---\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String
databaseName, String serverName, RpcErrorExceptionInfo errorInfo)\r\n at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunRpcOperationWithAuth(AmRpcOperationHint rpcOperationHint, String serverName, String databaseName, NetworkCredential
networkCredential, Nullable`1 timeoutMs, InternalRpcOperation rpcOperation)\r\n at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MountDatabaseDirectEx(String serverToRpc, Guid dbGuid, AmMountArg mountArg)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbAction.MountDatabaseDirect(AmServerName
serverName, AmServerName lastMountedServerName, Guid dbGuid, MountFlags storeFlags, AmMountFlags amFlags, AmDbActionCode actionCode)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbStandaloneAction.<>c__DisplayClass2.<MountInternal>b__0(Object
, EventArgs )\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmHelper.HandleKnownExceptions(EventHandler ev)\r\n --- End of inner exception stack trace (Microsoft.Exchange.Data.Storage.AmOperationFailedException) ---\r\n
at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbOperation.Wait(TimeSpan timeout)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabase(Guid mdbGuid, MountFlags storeFlags, AmMountFlags amMountFlags, DatabaseMountDialOverride
mountDialOverride, AmDbActionCode actionCode)\r\n at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass4.<MountDatabase>b__3()\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String
databaseName, RpcServerOperation rpcOperation)\r\n --- End of stack trace on server (WWW.myservername.com) ---\r\n at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String
serverName, RpcErrorExceptionInfo errorInfo)\r\n at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, Database database, String targetServer, InternalRpcOperation rpcOperation)\r\n
at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.RequestMount(MountFlags storeMountFlags)\r\n at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.InternalProcessRecord()\r\n --- End of inner
exception stack trace ---
Run Date: 2011-11-07T03:41:32
OriginatingServer: WWW (14.01.0355.001)
</Data>
<Data>
</Data>
<Data>Microsoft.Exchange.Data.Storage.ConnectionFailedTransientException: Cannot open mailbox /o=myservername/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=WWW/cn=Microsoft System Attendant. --->
Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:
Lid: 13720 dwParam: 0x6D9 Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x6D9 Msg: EEInfo: NumberOfParameters: 4
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[0]: Unicode string: ncacn_ip_tcp
Lid: 8856 dwParam: 0x6D9 Msg: EEInfo: prm[1]: Unicode string: WWW.myservername.com
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[2]: Long val: -545057711
Lid: 12952 dwParam: 0x6D9 Msg: EEInfo: prm[3]: Long val: 382312662
Lid: 45169 StoreEc: 0x824
Lid: 44273
Lid: 59431 EMSMDB.EcDoConnectEx called [length=177]
Lid: 34855 EMSMDB.EcDoConnectEx returned [ec=0x0][length=82][latency=31]
Lid: 25964 StoreEc: 0x824
Lid: 38951 EMSMDB.EcDoDisconnect called [length=8]
Lid: 55335 EMSMDB.EcDoDisconnect returned [ec=0x0][length=12][latency=0]
Lid: 36081
Lid: 52465 StoreEc: 0x80040115
Lid: 60065
Lid: 33777 StoreEc: 0x80040115
Lid: 59805
Lid: 52209 StoreEc: 0x80040115
Lid: 56583
Lid: 52487 StoreEc: 0x80040115
Lid: 19778
Lid: 27970 StoreEc: 0x80040115
Lid: 17730
Lid: 25922 StoreEc: 0x80040115
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
at Microsoft.Mapi.ExRpcConnection.Create(ConnectionCache connectionCache, ExRpcConnectionCreateFlag createFlags, ConnectFlag connectFlags, String serverDn, String userDn, String user, String domain, String password, String httpProxyServerName,
Int32 ulConMod, Int32 lcidString, Int32 lcidSort, Int32 cpid, Int32 cReconnectIntervalInMins, Int32 cbRpcBufferSize, Int32 cbAuxBufferSize, Client xropClient, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
at Microsoft.Mapi.MapiStore.OpenMapiStore(String serverDn, String userDn, String mailboxDn, Guid guidMailbox, Guid guidMdb, String userName, String domainName, String password, String httpProxyServerName, ConnectFlag connectFlags, OpenStoreFlag
storeFlags, CultureInfo cultureInfo, Boolean wantRedirect, String& correctServerDN, ClientIdentityInfo clientIdentity, String applicationId, Client xropClient, Boolean wantWebServices, Byte[] clientSessionInfo, TimeSpan connectionTimeout)
at Microsoft.Mapi.MapiStore.OpenMailbox(String serverDn, String userDn, String mailboxDn, String userName, String domainName, String password, ConnectFlag connectFlags, OpenStoreFlag storeFlags, CultureInfo cultureInfo, WindowsIdentity windowsIdentity,
String applicationId)
at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
--- End of inner exception stack trace ---
at Microsoft.Exchange.Data.Storage.MailboxSession.ForceOpen(MapiStore linkedStore)
at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity auxiliaryIdentity)
at Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass12.<CreateMailboxSession>b__10(MailboxSession mailboxSession)
at Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(LogonType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession, InitializeMailboxSessionFailure
initializeMailboxSessionFailure)
at Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String clientInfoString,
PropertyDefinition[] mailboxProperties, IList`1 foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
at Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincipal mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties, InitializationFlags
initFlags, IList`1 foldersToInit, IAccountingObject budget)
at Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsSystemService(ExchangePrincipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
at Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLogMessageData data, LogMessageDelegate logMessage)
at Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boolean succeeded, Exception e)</Data>
</EventData>
</Event>We just ran into this exact problem this morning. At 7:26am the database just dismounted. No errors just dismount. Now they won't mount and we can't run eseutil /p or /d as it immediately errors out. /k works and no errors found.
Bandaid fix was to go into the EMS and simply move the public and private db to a nas. Now they mount fine. This is strictly a temp solution to get the server back online but something was changed in host machine drive setup (hyperv with compellent san)
According to the host service (county systems) nothing was done or changed and no updates.
At any rate it is now working and we just need to know what can be done to migrate back to the san and off the nas.
Here is the error when trying to mount - the key is the -583 as none of the other errors comply with is special instance
Failed to mount database 'Mailbox Database 2017935857'.
Mailbox Database 2017935857
Failed
Error:
Couldn't mount the database that you specified. Specified database: Mailbox Database 2017935857; Error code: An Active Manager operation failed. Error: An error occurred during discovery of the database availability group topology. Error: The database action
failed. Error: [Active Manager] An exception occurred: Operation failed with message: MapiExceptionCallFailed:
Unable to mount database. (hr=0x80004005, ec=-583)
.. [Database: Mailbox Database 2017935857, Server: xxx.xxx.local].
An Active Manager operation failed. Error: An error occurred during discovery of the database availability group topology. Error: The database action failed. Error: [Active Manager] An exception occurred: Operation failed with message: MapiExceptionCallFailed:
Unable to mount database. (hr=0x80004005, ec=-583)
.. [Database: Mailbox Database 2017935857, Server: xxx.xxx.local]
An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
. [Server: xxx.xxx.local]
MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-583)
virtualfailsafe -
RMAN-11001: alter database mount standby database
I'm doing a duplicate for a standby database and I'm getting this error
Oracle 8i Tru64
RMAN-03002: failure during compilation of command
RMAN-03013: command type: Duplicate Db
RMAN-03015: error occurred in stored script Memory Script
RMAN-03006: non-retryable error occurred during execution of command: sql
RMAN-07004: unhandled exception during command execution on channel clone_defaul
t
RMAN-20000: abnormal termination of job step
RMAN-11003: failure during parse/execution of SQL statement: alter database moun
t standby database
RMAN-11001: Oracle Error: ORA-03113: end-of-file on communication channel
Recovery Manager complete.
Any help pleaseCheck for parameter mismatches between parameter file and control file.
Check your parameter file. Check db_name paramter in paramter file used in the standby database. -
Starting Physically Standby Database in Mount Mode
Hi All
I have configured Data Guard using Oracle 10g 10.2.0.4.0 (64 bits) on Windows 2008 Server (64 bits) Release 2 Enterprise.
Data guard configuration was OK as the message from "Enable Configuration DG1" was "SUCCESS" for both
Primary and Standby Database. I have also set both Databases and TNS to start Automatically whenever Windows Starts.
The Problem is as long as the Standby Server is running, there is No issue.
But when we Restarts the Backup Server, Physically Standby Database is Started and TNS is also Started,
but Archives are not received until I physically do the following steps so that it can received the Archives.
SQL> startup nomount;
SQL> alter database mount standby database;
SQL> alter database recover managed standby database disconnect from session;
Is there a way to start Physically Standby Database in Mount mode when windows started.
Regards
Thunder2777Hi Mihael
I have created 2 files. 1 Bat file 2nd sql file which contains all commands as written above.
When I execute start.bat file
1. set ORACLE_HOME=C:\oracle\product\10.2.0\db_1
2. set ORACLE_SID=UMISBK
3. sqlplus / [email protected]
1 & 2 executed properly. At 3 it just display SQL help for login as shown below.
SQL*Plus: Release 10.2.0.4.0 - Production
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [<logon>] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
It Did Not execute start.sql file to excute sql commands.
Regards
Thunder2777 -
Cannot mount database in exclusive mode
Hi guys
for practice Ive installed oracle 10g on centos 4, when i try to start the db it showed no pfile(it created the spfile while installing oracle but fails to recognize that) I created the pfile and when I tried to start the db it is throwing the error ORA-01102 cannot mount the database in exclusive mode. I didnt start any databases but it is throughing this error
any one please help.venkata_sudheer wrote:
for practice Ive installed oracle 10g on centos 4, when i try to start the db it showed no pfile(it created the spfile while installing oracle but fails to recognize that)
I created the pfile and when I tried to start the db it is throwing the error ORA-01102 cannot mount the database in exclusive mode. I didnt start any databases
but it is throughing this error You can try to create pfile:
SQL> create pfile from spfile;How you tryed to mount?
Like this?
SQL> STARTUP EXCLUSIVE MOUNT dbnameExclusive mode is usually needed when SYSTEM tablespace is being migrated. -
Error in mounting the standby database
Hi All,
OS:Solaris
DB:10G
I am facing the below mentioned error while i am trying to create a standby database on the same server.
Following are the steps that i have followed for the same.
1.Checked the connectivity.
2.Created the pfile for primary DB as mentioned below:
*.DB_BLOCK_SIZE=8192
*.OPEN_CURSORS=300
*.CURSOR_SHARING=FORCE
*.BACKGROUND_DUMP_DEST='/11g/oradata/admin/ettest/bdump'
*.CORE_DUMP_DEST='/11g/oradata/admin/ettest/cdump'
*.USER_DUMP_DEST='/11g/oradata/admin/ettest/udump'
*.CONTROL_FILES=("/11g/oradata/admin/data/controlfiles/control01.ctl","/11g/oradata/admin/data/controlfiles/control02.ctl")
*.DB_NAME=ettest
*.PROCESSES=150
*.UNDO_MANAGEMENT=AUTO
*.UNDO_TABLESPACE=undotbs
*.compatible='10.2.0.1.0'
*.STANDBY_FILE_MANAGEMENT='AUTO'
*.LOG_ARCHIVE_DEST_1='Location=/11g/oradata/archives/'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.DB_FILE_NAME_CONVERT='/11g/oradata/admin/data/datafiles/','/11g/oradata_dr/ettestdr/datafiles/'
*.LOG_FILE_NAME_CONVERT='/11g/oradata/admin/data/logfiles/','/11g/oradata_dr/ettestdr/redologs/'
*.STANDBY_ARCHIVE_DEST='/11g/oradata_dr/ettestdr/dr_archives/ettestdr'
*.LOG_ARCHIVE_DEST_2='SERVICE=ettestdr'
*.FAL_SERVER='ETTESTDR'
*.FAL_CLIENT='ETTEST'
3. Created the pfile for DR:
*.DB_UNIQUE_NAME=ettestdr
*.DB_BLOCK_SIZE=8192
*.OPEN_CURSORS=300
*.CURSOR_SHARING=FORCE
*.BACKGROUND_DUMP_DEST='/11g/oradata_dr/ettestdr/admin/bdump'
*.CORE_DUMP_DEST='/11g/oradata_dr/ettestdr/admin/cdump'
*.USER_DUMP_DEST='/11g/oradata_dr/ettestdr/admin/udump'
*.CONTROL_FILES=("/11g/oradata_dr/ettestdr/controlfiles/standbycontrolfile.ctl")
*.DB_NAME=ettestdr
*.PROCESSES=150
*.UNDO_MANAGEMENT=AUTO
*.UNDO_TABLESPACE=undotbs
*.compatible='10.2.0.1.0'
*.FAL_SERVER='ETTEST'
*.FAL_CLIENT='ETTESTDR'
*.STANDBY_FILE_MANAGEMENT='AUTO'
*.LOG_ARCHIVE_DEST_1='Location=/11g/oradata/archives/'
*.STANDBY_ARCHIVE_DEST='/11g/oradata_dr/ettestdr/dr_archives/ettestdr'
*.LOG_ARCHIVE_DEST_2='SERVICE=ettestdr'
*.LOG_ARCHIVE_DEST_STATE_2='DEFER'
*.DB_FILE_NAME_CONVERT='/11g/oradata_dr/ettestdr/datafiles/','/11g/oradata/admin/data/datafiles/'
*.LOG_FILE_NAME_CONVERT='/11g/oradata_dr/ettestdr/redologs/','/11g/oradata/admin/data/logfiles/'
4.In the mean time i have backed up the database and transferd the same on the DR location and then i ahve created the standbycontrolfiel using the command on priamary server with sys login using the command:
alter databse create standby controlfile as '/path';5.My Primary was up using the said pfile.
6.I was also able to put my DR in nomount stage using the above pfile
7.I transfered the controlfile at the appropriate location of the DR server and when i am trying to mount the DR db using:
alter database mount standby database;I am getting the below mentioned error
SQL> alter database mount standby database;
alter database mount standby database
ERROR at line 1:
ORA-01103: database name 'ETTEST' in control file is not 'ETTESTDR'
Kindly suggest...BR
Sphinx
Edited by: $phinx19 on Dec 12, 2012 5:29 AMHi,
You must create pfile for Standby side with parameter DB_UNIQUE_NAME = ettestdr but DB_NAME is same with primary as DB_NAME = ettest.
*.DB_UNIQUE_NAME=ettestdr
*.DB_BLOCK_SIZE=8192
*.OPEN_CURSORS=300
*.CURSOR_SHARING=FORCE
*.BACKGROUND_DUMP_DEST='/11g/oradata_dr/ettestdr/admin/bdump'
*.CORE_DUMP_DEST='/11g/oradata_dr/ettestdr/admin/cdump'
*.USER_DUMP_DEST='/11g/oradata_dr/ettestdr/admin/udump'
*.CONTROL_FILES=("/11g/oradata_dr/ettestdr/controlfiles/standbycontrolfile.ctl")
*.DB_NAME=ettest
*.PROCESSES=150
*.UNDO_MANAGEMENT=AUTO
*.UNDO_TABLESPACE=undotbs
*.compatible='10.2.0.1.0'
*.FAL_SERVER='ETTEST'
*.FAL_CLIENT='ETTESTDR'
*.STANDBY_FILE_MANAGEMENT='AUTO'
*.LOG_ARCHIVE_DEST_1='Location=/11g/oradata/archives/'
*.STANDBY_ARCHIVE_DEST='/11g/oradata_dr/ettestdr/dr_archives/ettestdr'
*.LOG_ARCHIVE_DEST_2='SERVICE=ettest'
*.LOG_ARCHIVE_DEST_STATE_2='DEFER'
*.DB_FILE_NAME_CONVERT='/11g/oradata_dr/ettestdr/datafiles/','/11g/oradata/admin/data/datafiles/'
*.LOG_FILE_NAME_CONVERT='/11g/oradata_dr/ettestdr/redologs/','/11g/oradata/admin/data/logfiles/' And in pfile for standby *.LOG_ARCHIVE_DEST_2='SERVICE=ettest' - after switchover logs transport to primary (ettest)
Regards
Mahir M. Quluzade
www.mahir-quluzade.com
Edited by: Mahir M. Quluzade on Dec 12, 2012 5:44 PM -
Hi everybody
when i m configuring standby server
using these command
export ORACLE_SID=kk
sqlplus /nolog
conn / as sysdba
create spfile from pfile='/u03/oracle/admin//initkk.ora' /*standby spfile*/
startup nomount force
alter database mount standby database ;
alter database recover managed standby database disconnect from session;
AND Next
when i am using the command RECOVER STANDBY DATABASE ;
Then the error will be occur
ora 00283 recovery session cancelled due to errors
ora 01110 '/u01/oracle/k/system .dbf'
ora 01157 cannot identify/lock data file 1 - see DBWR trace file
ora 01110 data file 'u01/oracle/k/system .dbf'
but /u01/oracle/k/system.dbf path of the prod server and standby server path is /u03/oracle/oradata/kk/system.dbf'
so pls help mehi aman
another error will be occur at the time of reocvery of standby database ,
when i fired the statement
recover standby database ;
then he want latest archive for recover ,then i make the latest archive destination
but the last of the datafile will not be recover
the error is
ora 01547 waring recover succeded but OPEN RESETLOGSwould get error below
ora 01152 file 12 is not restore from the sufficiently old backup
ora 01110 data file /u03/abd.dbf'
so what should i do for this
thanks -
Standby database in same computer
I have made standby database in different computer then in production database in similar path and it is working.
But whenever I try to make it in same computer it gives me error. I have gone through the oracle documentaion.
But still I can't.
Any suggestion on NodeI still get the problem.
I have created a prod database with archive log mode and archival enabled
I shut down it and copyed the
"oradata/prod to oradata/stdby",
"admin/prod to admin/stdby",
"initprod.ora to initstdby.ora" and
"pwdprod.ora to pwdstdby.ora"
Then I have added a service name "stdby" with net8 easy config
Now I have created a new instance stdby with "oradim -new -sid stdby"
now In "Prod init.ora" file I have added
log_archive_start = true
log_archive_dest_1 = "location=e:\Oracle\oradata\stdby\archive"
log_archive_dest_state_1 = ENABLE
log_archive_dest_2 = 'SERVICE=standby1'
log_archive_dest_state_2 = ENABLE
global_names = false
Now I have started the prod database and created a standby controlfile
alter database create standby controlfile '\oradata\stdby\stdby.ctl'
now In "Stdby init.ora" file I have added
db_name = "prod"
instance_name = stdby
service_names = stdby
control_files = ("e:\Oracle\oradata\stdby\stdby.ctl")
log_archive_start = true
log_archive_dest_1 = "location=e:\Oracle\oradata\stdby\archive"
log_archive_dest_state_1 = ENABLE
standby_archive_dest = 'e:\Oracle\oradata\stdby\'
db_file_name_convert = ('\prod\','\stdby\')
log_file_name_convert = ('\prod\','\stdby\')
lock_name_space = 'stdby'
Now IN standby when I do
SQL_stdby>>startup nomount pfile='E:\Oracle\Oracle8i\DATABASE\initstdby.ora';
SQL_stdby>>alter database mount standby database;
SQL_stdby>>RECOVER AUTOMATIC STANDBY DATABASE;
Up to this it works
Now when I start prod database
SQL_prod>>startup
it gives me the error
ORA-01102: cannot mount database in EXCLUSIVE mode -
I am in process of configuring the stand by database and I am getting the following error in standby database
SQL> startup nomount pfile='/disk3/stand/initSTAND.ora';
ORACLE instance started.
Total System Global Area 314572800 bytes
Fixed Size 1978272 bytes
Variable Size 96473184 bytes
Database Buffers 205520896 bytes
Redo Buffers 10600448 bytes
SQL> alter database mount standby database;
Database altered.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
Database altered.
SQL> SQL> alter database open read only;
alter database open read only
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01157: cannot identify/lock data file 1 - see DBWR trace file
ORA-01110: data file 1: '/disk6/dbase/DSA/system01.dbf'First step is to check the description of errors..
ORA-16004: backup database requires recovery
Cause: The control file is for a backup database which requires recovery, and cannot be opened for read-only access by this instance.
Action: Perform the necessary recovery and re-open for read-only access.
Check the DBWR trace file and alert_log file. Check the SCN applied on standby database. Find out any archivelog required to be applied...
Read 8.2 section..
Documentation:-
http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14239/manage_ps.htm#i1017111 -
Our primary linux 10g db is in standard edition and we would like to manually create a standby database
After copying the control and datafiles from primary to standby database, started the standby instance ..
SQL> startup nomount pfile=/path/to/pfile/initSID.standby
SQL> alter database mount standby database;
SQL> recover standby database;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00308: cannot open archived log
'/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
How do I resolve this problem? Log sequence 833 is the current log on the primary db, archive log haven't been written yet. When I try to "alter database open read only" on the standby db, I get an error "ORA-01156: recovery in progress may need access to file".
I then went back to my primary database, which already had another log switch to 834, log 833 is now available, I then moved that archive log file to the standby db. Try to recover standby database again, but still got errors..
SQL> startup nomount pfile=/path/to/pfile/initSID.standby
SQL> alter database mount standby database;
SQL> recover standby database;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00317: file type 0 in header is not log file
ORA-00334: archived log: '/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
SQL> alter database open read only;
ERROR at line 1:
ORA-16004: backup database requires recovery
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
Would something please explain this to me? What am I doing wrong? Thanks in advance.I copied the missing archive log over to standby db, still got the same error.
1) SQL> recover standby database;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00317: file type 0 in header is not log file
ORA-00334: archived log: '/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
I also tried..
2) SQL> recover standby database using backup controlfile until cancel;
ORA-00279: change 2342934 generated at 8/27/2009 21:10:35 needed for thread 1
ORA-00289: suggestion : /opt/oracle/arch/SID/1_833_682861383.arc
ORA-00280: change 2342934 for thread 1 is in sequence #833
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
AUTO
ORA-00317: file type 0 in header is not log file
ORA-00334: archived log: '/opt/oracle/arch/SID/1_833_682861383.arc'
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01195: online backup of file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/opt/oracle/oradata/SID/system01.dbf'
Edited by: user10427867 on Aug 28, 2009 5:56 AM
Maybe you are looking for
-
Dear All can any one give the list for standard reports available for day book regards sree
-
Warehouse Management: WM vs EWM
Hi all, I need information about the features of WM and EWM (included in SCM and ECC 5.0) to compare them: which are the new features, functionality comparison, extensions, etc. Another question, i read in a SAP doc that EWM is included in ECC 6.0 in
-
I keep getting emails for iTunes purchases that I have not authorized
I have received several emails for iTunes purchases that I have NOT authorized. The name on the Billed To is not my name or address, but it includes my Comcast email address. I don't know if I am being charged for these purchases through Comcast or
-
Hi guru's in my scrap sales invoice iam getting buffer by 2 .. like 2, 4, 6, and 8.. .. i checkd SNUM/SNRO, iam difficult to find the billing Numebr object.. and also if i select the any object i seen the main memory bufferning checked and in display
-
Mac - AIR apps don't WindowShade
I'm using Mac OS X 10.5.2 (Intel) and Unsanity's "WindowShade X" extension (version 4.2b1). On all of my other apps, WSX is able to minimize the windows (ie, hide all but the drag bar) when I double-click on the drag bar. However, when I try this on