none
unable to mount database in exchange 2010

    Question

  • Hi,

    Log Name:      Application
    Source:        MSExchange Configuration Cmdlet - Remote Management
    Date:          06-02-2010 15:02:09
    Event ID:      4
    Task Category: General
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      PIPLEXMCH.Progressive.com
    Description:
    (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]. ---&gt; 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)
     ---&gt; Microsoft.Exchange.Data.Storage.AmOperationFailedException: An Active Manager operation failed. Error: Operation failed with message: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259)
     ---&gt; Microsoft.Mapi.MapiExceptionCallFailed: MapiExceptionCallFailed: Unable to mount database. (hr=0x80004005, ec=-2147467259)
    -----------------------------------------------------------------------

    --------------------------------------------------------
    Microsoft Exchange Error
    --------------------------------------------------------
    Failed to mount database 'Mailbox Database 1272211622'.

    Mailbox Database 1272211622
    Failed
    Error:
    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:      Application
    Source:        MSExchangeRepl
    Date:          06-02-2010 15:02:09
    Event ID:      3154
    Task Category: Service
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      PIPLEXMCH.Progressive.com
    Description:
    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 & Regards

    Deepak Srivastava

    Saturday, February 06, 2010 10:03 AM

All replies

  • 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
    Saturday, February 06, 2010 10:47 AM
  • 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 Server
    Version 14.00
    Copyright (C) Microsoft Corporation. All Rights Reserved.

    Usage Error: Missing database/filename specification.

    Operation terminated with error -1003 (JET_errInvalidParameter, Invalid API para
    meter) after 0.0 seconds.

    deepak

    Monday, February 08, 2010 6:27 AM
  • 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
    Monday, February 08, 2010 8:18 AM
  • 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  
    Monday, February 08, 2010 10:15 AM
  • 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 Z
    a through z
    0 through 9
    Space (not leading or trailing)
    Hyphen or dash
    The 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 Management
    Exchange Recipient Management
    Exchange Server Management
    Exchange View-Only Organization Management
    Exchange Public Folder Management
    Exchange UM Management
    Exchange Hygiene Management
    Exchange Records Management
    Exchange Discovery Management
    Exchange 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.

    Oliver

    Oliver


    Oliver Moazzezi | Exchange MVP, MCSA:M, MCTS:Exchange 2010, BA (Hons) Anim | http://www.exchange2007.com | http://www.exchange2010.com | http://www.cobweb.com |
    Monday, February 08, 2010 11:06 AM
  • 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=1
    Raj
    Monday, February 08, 2010 1:02 PM
  • 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?
    • Proposed as answer by abuttino Sunday, June 27, 2010 1:21 AM
    Monday, April 12, 2010 1:00 PM
  • 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:

    1. Log on to a domain controller by using an account that has administrative rights.
    2. Click Start , point to Administrative Tools , and then click Domain Controller Security Policy .
    3. In the Default Domain Controller Security Settings Microsoft Management Console (MMC) snap-in, expand Local Policies , and then click User Rights Assignment .
    4. In the right pane, double-click Manage auditing and security log .
    5. In the Manage auditing and security log Properties dialog box, click Add User or Group .
    6. In the User and group names box, type <var>DomainName </var> \Exchange Servers , and then click OK two times.
    7. 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.
    8. Restart the Microsoft Exchange Information Store service.

     

    Thursday, May 13, 2010 1:59 AM
  • Hi Ricky,

    Problem has resolved.

    thanks .

     

    • Proposed as answer by g00ner Wednesday, April 06, 2011 7:26 PM
    Sunday, June 27, 2010 3:02 PM
  • This KB http://support.microsoft.com/kb/925825 solved my problem.
    Sunday, July 25, 2010 9:12 AM
  • I have experienced this also, but seems that after creating new DB, I had to force AD replication and wait 5-10 minutes and mounts fine.

     

    Eimis


    Eimis
    • Proposed as answer by Kadir Sahin Tuesday, December 06, 2011 10:01 PM
    Tuesday, December 06, 2011 4:46 PM
  • I have experienced this also, but seems that after creating new DB, I had to force AD replication and wait 5-10 minutes and mounts fine.

     

    Eimis


    Eimis
    • Proposed as answer by Kadir Sahin Tuesday, December 06, 2011 10:01 PM
    Tuesday, December 06, 2011 4:47 PM
  • This worked for me.....

     

    I have experienced this also, but seems that after creating new DB, I had to force AD replication and wait 5-10 minutes and mounts fine.

     

    Eimis


    Eimis
    Tuesday, December 06, 2011 10:01 PM
  • Hi,

    You shoud wait for AD to replicate. In 2008 R2 forest it should be almost immediate, but for me 5 minutes did the trick.

    Regards


    Zbyněk
    • Proposed as answer by Zbynek Salon Tuesday, January 24, 2012 7:24 PM
    Sunday, January 22, 2012 12:08 AM
  • Hi .. I had a similar issue ..

    When I checked .. I saw some exchange services not started ..

    good luck

    Tuesday, April 17, 2012 4:14 PM