ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable to mount Exchange 2013 Database

    Scheduled Pinned Locked Moved Solved IT Discussion
    exchange 2013microsoft exchangedirty shutdowneseutil
    21 Posts 5 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      Exchange 2013 database is offline.

      eseutil says it was a dirty shutdown.

      eseutils repairs fail.

      [PS] C:\Windows\system32>eseutil /p C:\ExchangeVolumes\DB01\DB01.EDB
      
      Extensible Storage Engine Utilities for Microsoft(R) Exchange Server
      Version 15.00
      Copyright (C) Microsoft Corporation. All Rights Reserved.
      
      Initiating REPAIR mode...
              Database: C:\ExchangeVolumes\DB01\DB01.EDB
        Temp. Database: TEMPREPAIR13400.EDB
      
      Checking database integrity.
      
      
      
      
      Operation terminated with error -1032 (JET_errFileAccessDenied, Cannot access file, the file is locked or in use) after
      10.187 seconds.
      

      Trying to force mount it even accepting dataloss fails.

      Suggestions?

      [PS] C:\Windows\system32>Mount-Database -Identity DB01 -Force -AcceptDataLoss
      Failed to mount database "DB01". Error: An Active Manager operation failed. Error: The database action failed. Error:
      Operation failed with message: MapiExceptionDatabaseError: Unable to mount database. (hr=0x80004005, ec=1108)
      Diagnostic context:
          Lid: 65256
          Lid: 10722   StoreEc: 0x454
          Lid: 1494    ---- Remote Context Beg ----
          Lid: 45120   dwParam: 0x5045ED
          Lid: 57728   dwParam: 0x504699
          Lid: 46144   dwParam: 0x505EE3
          Lid: 34880   dwParam: 0x505EE3
          Lid: 34760   StoreEc: 0xFFFFFDEF
          Lid: 41344   Guid: 80934d88-bd41-4320-8ba9-fb3dcdbde750
          Lid: 35200   dwParam: 0x3194
          Lid: 46144   dwParam: 0x5064B0
          Lid: 34880   dwParam: 0x5064B0
          Lid: 54472   StoreEc: 0x1388
          Lid: 42184   StoreEc: 0x454
          Lid: 1750    ---- Remote Context End ----
          Lid: 1047    StoreEc: 0x454      [Database: DB01, Server: exch01.domain.local]
          + CategoryInfo          : InvalidOperation: (DB01:ADObjectId) [Mount-Database], InvalidOperationException
          + FullyQualifiedErrorId : [Server=exch01,RequestId=0efc8e46-0aa1-499b-904a-b76a982f9238,TimeStamp=8/4/2020 4:09
         :45 PM] [FailureCategory=Cmdlet-InvalidOperationException] 1EB6F30D,Microsoft.Exchange.Management.SystemConfigurat
        ionTasks.MountDatabase
          + PSComputerName        : exch01.domain.local
      
      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by

        Moving along....
        a03434fd-c4c5-4085-a7ef-67fad93e0740-image.png

        EddieJenningsE 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch
          last edited by

          DB02 is online, but only have 6 users.

          DB01 has ~30

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            Any backups?

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch
              last edited by

              Yes, but a week old. So the time to attempt a recovery for a couple hours is worth it.

              DustinB3403D 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by

                A reboot later and eseutil is working this time
                3b553232-605b-4ee0-81c1-26bab94d11c0-image.png

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • DustinB3403D
                  DustinB3403 @JaredBusch
                  last edited by

                  @JaredBusch said in Unable to mount Exchange 2013 Database:

                  Yes, but a week old. So the time to attempt a recovery for a couple hours is worth it.

                  Sounds like the backup process should be revisited.

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @JaredBusch
                    last edited by

                    @JaredBusch said in Unable to mount Exchange 2013 Database:

                    A reboot later and eseutil is working this time
                    3b553232-605b-4ee0-81c1-26bab94d11c0-image.png

                    Well that's good, odd but good

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      Damnit.
                      7dfd7323-4e7c-4426-b028-5543a7aed05b-image.png

                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch
                        last edited by

                        I possibly have not enough space for the temp file. I cannot find a way to tell eseutil to write the temp file to another location.

                        PhlipElderP jt1001001J DustinB3403D 3 Replies Last reply Reply Quote 0
                        • PhlipElderP
                          PhlipElder @JaredBusch
                          last edited by

                          @JaredBusch What is the error in the Windows Event Logs?

                          Any mention of Fragmentation?

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            @JaredBusch said in Unable to mount Exchange 2013 Database:

                            Damnit.

                            Forgot to restart EMS as admin after the reboot.
                            Fucking EMS, no idea why it ever executes without self elevating..

                            Running recovery again.

                            1 Reply Last reply Reply Quote 0
                            • jt1001001J
                              jt1001001 @JaredBusch
                              last edited by

                              @JaredBusch /t“E:\TempDefrag.edb” from my old Exchange notes

                              1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403 @JaredBusch
                                last edited by

                                @JaredBusch take a look here it seems this guy was able too from a while back.

                                http://blog.mpecsinc.ca/2012/05/exchange-eseutil-d-defragment-temp-file.html?m=1

                                PhlipElderP 1 Reply Last reply Reply Quote 0
                                • PhlipElderP
                                  PhlipElder @DustinB3403
                                  last edited by

                                  @DustinB3403 said in Unable to mount Exchange 2013 Database:

                                  @JaredBusch take a look here it seems this guy was able too from a while back.

                                  http://blog.mpecsinc.ca/2012/05/exchange-eseutil-d-defragment-temp-file.html?m=1

                                  Heh ... that looks familiar. 😄

                                  1 Reply Last reply Reply Quote 1
                                  • JaredBuschJ
                                    JaredBusch
                                    last edited by

                                    @jt1001001 said in Unable to mount Exchange 2013 Database:

                                    @JaredBusch /t“E:\TempDefrag.edb” from my old Exchange notes

                                    That works with /d not /r

                                    jt1001001J 1 Reply Last reply Reply Quote 0
                                    • JaredBuschJ
                                      JaredBusch
                                      last edited by

                                      the soft recovery succeeded
                                      36c940c6-3b19-4b85-b6a8-a76ae31ed76d-image.png

                                      But the system still reports dirty shutdown. so on to hard recovery with /p

                                      PhlipElderP 1 Reply Last reply Reply Quote 0
                                      • PhlipElderP
                                        PhlipElder @JaredBusch
                                        last edited by

                                        @JaredBusch said in Unable to mount Exchange 2013 Database:

                                        the soft recovery succeeded
                                        36c940c6-3b19-4b85-b6a8-a76ae31ed76d-image.png

                                        But the system still reports dirty shutdown. so on to hard recovery with /p

                                        Ever done a forklift recovery?

                                        Also, to get mail flowing set up a Dial Tone database.

                                        1 Reply Last reply Reply Quote 0
                                        • jt1001001J
                                          jt1001001 @JaredBusch
                                          last edited by

                                          @JaredBusch Ahh correct my bad was looking at defrag.

                                          1 Reply Last reply Reply Quote 0
                                          • JaredBuschJ
                                            JaredBusch
                                            last edited by

                                            Moving along....
                                            a03434fd-c4c5-4085-a7ef-67fad93e0740-image.png

                                            EddieJenningsE 1 Reply Last reply Reply Quote 0
                                            • EddieJenningsE
                                              EddieJennings @JaredBusch
                                              last edited by

                                              @JaredBusch Fingers crossed.

                                              1 Reply Last reply Reply Quote 0
                                              • 1
                                              • 2
                                              • 1 / 2
                                              • First post
                                                Last post