unable to mount database in exchange 2010
Hi,Log Name: ApplicationSource: MSExchange Configuration Cmdlet - Remote ManagementDate: 06-02-2010 15:02:09Event ID: 4Task Category: GeneralLevel: ErrorKeywords: ClassicUser: N/AComputer: PIPLEXMCH.Progressive.comDescription:(PID 4308, Thread 200) Task Mount-Database writing error when processing record of index 0. Error: System.InvalidOperationException: Couldn't mount the database that you specified. Specified database: Mailbox Database 1272211622; 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=-2147467259) [Database: Mailbox Database 1272211622, Server: PIPLEXMCH.Progressive.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=-2147467259) ---> Microsoft.Exchange.Data.Storage.AmOperationFailedException: An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259) ---> Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259)
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown) at Microsoft.Mapi.ExRpcAdmin.MountDatabase(Guid guidStorageGroup, Guid guidMdb, Int32 ulFlags) at Microsoft.Exchange.Cluster.ActiveManagerServer.AmStoreHelper.Mount(Guid mdbGuid, MountFlags flags) at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabaseDirect(Guid mdbGuid, MountFlags flags, AmDbActionCode actionCode) at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass19.<MountDatabaseDirect>b__18() at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String databaseName, RpcServerOperation rpcOperation) --- End of inner exception stack trace (Microsoft.Mapi.MapiExceptionCallFailed) --- --- End of stack trace on server (PIPLEXMCH.Progressive.com) --- at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String serverName, RpcErrorExceptionInfo errorInfo) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunRpcOperationWithAuth(AmRpcOperationHint rpcOperationHint, String serverName, String databaseName, NetworkCredential networkCredential, Nullable`1 timeoutMs, AmRpcClient& rpcClient, InternalRpcOperation rpcOperation) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MountDatabaseDirectEx(String serverToRpc, Guid dbGuid, AmMountArg mountArg) at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbAction.MountDatabaseDirect(AmServerName serverName, AmServerName lastMountedServerName, Guid dbGuid, MountFlags flags, AmDbActionCode actionCode) at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbStandaloneAction.<>c__DisplayClass2.<MountInternal>b__0(Object , EventArgs ) at Microsoft.Exchange.Cluster.ActiveManagerServer.AmHelper.HandleKnownExceptions(EventHandler ev) --- End of inner exception stack trace (Microsoft.Exchange.Data.Storage.AmOperationFailedException) --- at Microsoft.Exchange.Cluster.ActiveManagerServer.AmDbOperation.Wait(TimeSpan timeout) at Microsoft.Exchange.Cluster.ActiveManagerServer.ActiveManagerCore.MountDatabase(Guid mdbGuid, MountFlags flags, DatabaseMountDialOverride mountDialOverride, AmDbActionCode actionCode) at Microsoft.Exchange.Cluster.ActiveManagerServer.AmRpcServer.<>c__DisplayClass4.<MountDatabase>b__3() at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String databaseName, RpcServerOperation rpcOperation) --- End of stack trace on server (PIPLEXMCH.Progressive.com) --- at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String serverName, RpcErrorExceptionInfo errorInfo) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.RunDatabaseRpcWithReferral(AmRpcOperationHint rpcOperationHint, Database database, String targetServer, AmRpcClient& rpcClient, InternalRpcOperation rpcOperation) at Microsoft.Exchange.Data.Storage.ActiveManager.AmRpcClientHelper.MountDatabase(Database database, Int32 flags, Int32 mountDialOverride) at Microsoft.Exchange.Management.SystemConfigurationTasks.MountDatabase.InternalProcessRecord() --- End of inner exception stack trace ---Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchange Configuration Cmdlet - Remote Management" /> <EventID Qualifiers="49152">4</EventID> <Level>2</Level> <Task>1</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-02-06T09:32:09.000Z" /> <EventRecordID>2987</EventRecordID> <Channel>Application</Channel> <Computer>PIPLEXMCH.Progressive.com</Computer> <Security /> </System> <EventData> <Data>4308</Data> <Data>200</Data> <Data>Mount-Database</Data> <Data>0</Data> <Data>System.InvalidOperationException: Couldn't mount the database that you specified. Specified database: Mailbox Database 1272211622; 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=-2147467259) [Database: Mailbox Database 1272211622, Server: PIPLEXMCH.Progressive.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=-2147467259) ---> Microsoft.Exchange.Data.Storage.AmOperationFailedException: An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259) ---> Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259)-------------------------------------------------------------------------------------------------------------------------------Microsoft Exchange Error--------------------------------------------------------Failed to mount database 'Mailbox Database 1272211622'.
Mailbox Database 1272211622FailedError:Couldn't mount the database that you specified. Specified database: Mailbox Database 1272211622; 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=-2147467259) [Database: Mailbox Database 1272211622, Server: PIPLEXMCH.Progressive.com].
An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259) [Database: Mailbox Database 1272211622, Server: PIPLEXMCH.Progressive.com]
An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259) [Server: PIPLEXMCH.Progressive.com]
MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259)
--------------------------------------------------------OK--------------------------------------------------------
Log Name: ApplicationSource: MSExchangeReplDate: 06-02-2010 15:02:09Event ID: 3154Task Category: ServiceLevel: ErrorKeywords: ClassicUser: N/AComputer: PIPLEXMCH.Progressive.comDescription:Active Manager failed to mount database Mailbox Database 1272211622 on server PIPLEXMCH.Progressive.com. Error: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259)
Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="MSExchangeRepl" /> <EventID Qualifiers="49156">3154</EventID> <Level>2</Level> <Task>1</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2010-02-06T09:32:09.000Z" /> <EventRecordID>2986</EventRecordID> <Channel>Application</Channel> <Computer>PIPLEXMCH.Progressive.com</Computer> <Security /> </System> <EventData> <Data>Mailbox Database 1272211622</Data> <Data>PIPLEXMCH.Progressive.com</Data> <Data>An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259)</Data> </EventData></Event>Thanks & RegardsDeepak Srivastava
February 6th, 2010 1:03pm
Deepak,Check if you can a blank database. Also run eseutil /mh to see if the old database is consistent and you are not getting dirty shut down.In case if you cant mount a blank databse, then might be a permission issue. Please post the results here.Raj
Free Windows Admin Tool Kit Click here and download it now
February 6th, 2010 1:47pm
Raj,I am not able to mount new black database in exchange 2010.eseutil /mh result:>eseutil /mh
Extensible Storage Engine Utilities for Microsoft(R) Exchange ServerVersion 14.00Copyright (C) Microsoft Corporation. All Rights Reserved.
Usage Error: Missing database/filename specification.
Operation terminated with error -1003 (JET_errInvalidParameter, Invalid API parameter) after 0.0 seconds.deepak
February 8th, 2010 9:27am
As you are not able to mount even a blank database. I am almost sure about some sort of permission issue.Run Exbpa and see if there any non default settings on the exchange.Raj
Free Windows Admin Tool Kit Click here and download it now
February 8th, 2010 11:18am
Hi,I checked Exbpa report was fine.I want share one thing to you whenever i run prepareAd after that i am able to mount Database.But everyday morning i have to run preparead for mount the database.I am not able to find out why is dissmount the database every day.Deepak Srivastava
February 8th, 2010 1:15pm
Hi there,PrepareAD does the following (taken from Technet here http://technet.microsoft.com/en-us/library/bb125224.aspx):If the Microsoft Exchange container doesn't exist, this command creates it under CN=Services,CN=Configuration,DC=<root domain>.
If no Exchange organization container exists under CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain >, you must specify an organization name by using the /OrganizationName parameter. The organization container will be created with the name that you specify.The Exchange organization name can contain only the following characters:A through Za through z0 through 9Space (not leading or trailing)Hyphen or dashThe organization name can't contain more than 64 characters. The organization name can't be blank. If the organization name contains spaces, you must enclose the name in quotation marks.
Verifies that the schema has been updated and that the organization is up to date by checking the objectVersion property in Active Directory. The objectVersion property is in the CN=<your organization>, CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<domain> container. The objectVersion value for Exchange 2010 RTM is 12639.
If they don't exist, creates the following containers and objects under CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>. These are required for Exchange 2010.CN=Address Lists Container,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Addressing,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Administrative Groups,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Client Access,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Connections,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=ELC Folders Container,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=ELC Mailbox Policies,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Global Settings,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Mobile Mailbox Policies,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Recipient Policies,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=System Policies,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=Transport Settings,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=UM AutoAttendant,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=UM DialPlan,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=UM IPGateway Container,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>CN=UM Mailbox Policies,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>
If it doesn't exist, creates the default Accepted Domains entry, based on the forest root namespace, under CN=Transport Settings,CN=<Organization Name>,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain>.
Assigns specific permissions throughout the configuration partition.
Imports the Rights.ldf file. This adds the extended rights required for Exchange to install into Active Directory.
Creates the Microsoft Exchange Security Groups organizational unit (OU) in the root domain of the forest and assigns specific permissions on this OU.
Creates the following management role groups within the Microsoft Exchange Security Groups OU:Exchange Organization ManagementExchange Recipient ManagementExchange Server ManagementExchange View-Only Organization ManagementExchange Public Folder ManagementExchange UM ManagementExchange Hygiene ManagementExchange Records ManagementExchange Discovery ManagementExchange Delegated Setup
Adds the new USGs that are within the Microsoft Exchange Security Groups OU to the otherWellKnownObjects attribute stored on the CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=<root domain> container.
Creates the Unified Messaging Voice Originator contact in the Microsoft Exchange System Objects container of the root domain.
Prepares the local domain for Exchange 2010. For information about what tasks are completed to prepare a domain, see Step 4.I would verify this is not being broken or changed. Are you in a position to verify these steps prior to fixing the issue Monday morning?There is obviously somerthing wrong that is reverting some of the objects or attributes, giving PSS a call might be worthwhile.OliverOliverOliver Moazzezi | Exchange MVP, MCSA:M, MCTS:Exchange 2010, BA (Hons) Anim
| http://www.exchange2007.com | http://www.exchange2010.com | http://www.cobweb.com |
Free Windows Admin Tool Kit Click here and download it now
February 8th, 2010 2:06pm
Hi Deepak,As Oliver said, Giving a PSS a call will be a good idea. looks like some thing is reverting back the attributes of AD. Instead of you your self trying to play with AD and doing more damage unknowingly, call PSS.This is the PSS Support details https://support.microsoft.com/oas/default.aspx?gprid=13965&st=1Raj
February 8th, 2010 4:02pm
Hi, I checked Exbpa report was fine. I want share one thing to you whenever i run prepareAd after that i am able to mount Database. But everyday morning i have to run preparead for mount the database. I am not able to find out why is dissmount the database every day. Deepak Srivastava
did you every figure out what the issue was?
Free Windows Admin Tool Kit Click here and download it now
April 12th, 2010 4:00pm
Hi,
I checked Exbpa report was fine.
I want share one thing to you whenever i run prepareAd after that i am able to mount Database.
But everyday morning i have to run preparead for mount the database.
I am not able to find out why is dissmount the database every day.
Deepak Srivastava
I had the same issue in our environment.
We had a very locked down Domain Controller Policy, so everything was initially fine after the prepareAD was run however after 90mins or so the restrictive group policy would be reapplied to the DC's hence no longer letting the EX2010 server manage auditing
and security log properties.
Deepak if you make the changes below, you should not need to run an prepareAD every morning.
I solved the issue by following these steps from http://support.microsoft.com/kb/925825.
Add the Exchange Servers group to the "Manage auditing and security log" policy
To add the Exchange Servers group to the Manage auditing and security log
policy, follow these steps:
Log on to a domain controller by using an account that has administrative rights.
Click Start
, point to Administrative Tools
, and then click Domain Controller Security Policy
. In the Default Domain Controller Security Settings Microsoft Management Console (MMC) snap-in, expand
Local Policies
, and then click User Rights Assignment
. In the right pane, double-click
Manage auditing and security log
. In the Manage auditing and security log Properties
dialog box, click Add User or Group
. In the User and group names
box, type <var>DomainName </var>
\Exchange Servers , and then click OK
two times. Exit the Default Domain Controller Security Settings MMC snap-in, and then wait for this security setting to propagate across the domain controllers in the domain.
Restart the Microsoft Exchange Information Store service.
May 13th, 2010 4:59am
Hi Ricky,
Problem has resolved.
thanks .
Free Windows Admin Tool Kit Click here and download it now
June 27th, 2010 6:02pm
This KB http://support.microsoft.com/kb/925825 solved my problem.
July 25th, 2010 12:12pm