"Troubleshooting Case" Unable to remove the Exchange DB DB error?

Source: Internet
Author: User
Tags log log

In our Daily Mail system operations management or implementation of deployment changes, it is often encountered when the Exchange database DB is deleted when the prompt cannot be deleted.

——————————————————–

Microsoft Exchange Error

——————————————————–

The mailbox database ' EXMB01 ' cannot be deleted.

Failed

Error:

This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command get-mailbox-database <database id>. To get a list of all mailbox plans in this database, run the command Get-mailboxplan. To get a list of archive mailboxes in this database, run the command get-mailbox-database <database id>-archive. To get a list of all arbitration mailboxes in this database, run the command get-mailbox-database <database id>-ar Bitration. To disable a non-arbitration mailbox so then you can delete the mailbox database, run the command Disable-mailbox <mail Box Id>. To disable a archive mailbox so can delete the mailbox database, run the command disable-mailbox <mailbox id>- Archive. Arbitration mailboxes should is moved to another server; To does this, run the command new-moverequest <parameters>. If the last server in the organization, runThe command Disable-mailbox <mailbox id>-arbitration-disablelastarbitrationmailboxallowed to Disable the Arbitration mailbox. Mailbox plans should is moved to another server; To does this, run the command Set-mailboxplan <mailboxplan id>-database <database id>.

Error1:

Mail system upgrade made changes, unable to uninstall Exchange Server server

650) this.width=650; "title=" clip_image001[20] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image001[20]" src= "Http://s3.51cto.com/wyfs02/M01/8E/F5/wKioL1jP_rHjHhjkAAUhwLJs9vk204.png" height= "352"/ >

Error2:

Based on customer needs, delete the default mail server create database db, prompt cannot be deleted, contains one or more user mailboxes, archive mailboxes, etc.

650) this.width=650; "title=" clip_image002[12] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image002[12]" src= "http://s3.51cto.com/wyfs02/M00/8E/F5/wKioL1jP_rHzNr2nAAE0DwJ-kiY068.png" height= "330"/ >

Solution:

Server environment: Windows Server R2, Exchange Server 2013

650) this.width=650; "title=" clip_image003[12] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image003[12]" src= "Http://s3.51cto.com/wyfs02/M02/8E/F5/wKioL1jP_rKxOardAAA8fGP13tg127.png" height= "85"/ >

Example:

In most small and medium-sized enterprises, there are many customers for the sake of convenience, the mail server application and database db installed on the same fast disk, planning the deployment of disk partition is not very large, but later as the business expanded, often encounter the mail server disk space is full to prevent users from sending and receiving mail.

Most customers use the method of operation, clear log log. We will recommend common considerations, through the migration mode, the user mailbox is migrated to the larger storage disk;

650) this.width=650; "title=" clip_image004[12] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image004[12]" src= "http://s3.51cto.com/wyfs02/M00/8E/F7/wKiom1jP_rOTaqz5AACWgVB6jT0356.png" height= "149"/ >

1. Open the Exchange Admin Center now to see that you need to delete the default database db, and of course you can get the environment DB DB through Exchange Powershell;

650) this.width=650; "title=" clip_image005[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image005[8]" src= "http://s3.51cto.com/wyfs02/M01/8E/F7/wKiom1jP_rOhMWH_AABX9tFdQOc682.jpg" height= "235"/ >

650) this.width=650; "title=" clip_image006[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image006[8]" src= "http://s3.51cto.com/wyfs02/M02/8E/F7/wKiom1jP_rWARQqSAAA0FEhRD14501.jpg" height= "100"/ >

2. The common procedure is to delete the user mailbox database db in the console, but the following error is reported;

650) this.width=650; "title=" clip_image007[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image007[8]" src= "http://s3.51cto.com/wyfs02/M00/8E/F7/wKiom1jP_rXCS98HAABJF1X7x10506.jpg" height= "261"/ >

650) this.width=650; "title=" clip_image008[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image008[8]" src= "http://s3.51cto.com/wyfs02/M02/8E/F7/wKiom1jP_rbBJNhAAACnDuzaeCk912.jpg" height= "330"/ >

3. Create a new database db before the migration operation to complete the next work;

650) this.width=650; "title=" clip_image009[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image009[8]" src= "Http://s3.51cto.com/wyfs02/M00/8E/F7/wKiom1jP_reAMUeQAABSby7NqfQ940.png" height= "484"/ >

650) this.width=650; "title=" clip_image010[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image010[8]" src= "http://s3.51cto.com/wyfs02/M00/8E/F5/wKioL1jP_rfwv_V4AAB1wmsQPCk524.png" height= "459"/ >

4. Query the current database DB contains user mailboxes, archive mailboxes, monitoring mailboxes;

650) this.width=650; "title=" clip_image011[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image011[8]" src= "http://s3.51cto.com/wyfs02/M01/8E/F5/wKioL1jP_rixdG1OAABmzC3wwVU696.jpg" height= "167"/ >

650) this.width=650; "title=" clip_image012[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image012[14]" src= "http://s3.51cto.com/wyfs02/M01/8E/F5/wKioL1jP_rmQzOmBAAB3Mc0CEI4782.jpg" height= "138"/ >

5. Include the old storage database with a mailbox other than the quorum to move them to a new mailbox store and load it up;

Get-mailbox-database "CurrentDatabase" | New-moverequest-targetdatabase "Newdatabasename"

650) this.width=650; "title=" clip_image013[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image013[8]" src= "http://s3.51cto.com/wyfs02/M02/8E/F8/wKiom1jP_rnjfi9-AABSOPcLskA787.jpg" height= "137"/ >

6. Get user Mailbox migration status, and store mailbox completion progress

650) this.width=650; "title=" clip_image014[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image014[8]" src= "http://s3.51cto.com/wyfs02/M02/8E/F5/wKioL1jP_rqRw-w8AABKguSf74o889.jpg" height= "159"/ >

650) this.width=650; "title=" clip_image015[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image015[8]" src= "http://s3.51cto.com/wyfs02/M00/8E/F8/wKiom1jP_rqg1Qp-AABNRoqVYhk616.jpg" height= "128"/ >

7. Get the default quorum mailbox, archive mailbox

Get-mailbox-database "Mailbox Database 1677978442"-arbitration

650) this.width=650; "title=" clip_image012[15] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image012[15]" src= "http://s3.51cto.com/wyfs02/M01/8E/F8/wKiom1jP_ruSaxUAAAB3Mc0CEI4343.jpg" height= "138"/ >

8. Complete all user Mailbox migration operations

Get-moverequeststatistics-moverequestqueue "EXMB02"

650) this.width=650; "title=" clip_image016[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image016[8]" src= "http://s3.51cto.com/wyfs02/M01/8E/F8/wKiom1jP_rzCDe0tAABwWZH0rP4146.jpg" height= "177"/ >

9. Delete the default user mailbox database DB and, of course, confirm that the migration has completed before deleting the operation

Remove-database "Mailbox Database 1677978442"

650) this.width=650; "title=" clip_image017[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image017[8]" src= "http://s3.51cto.com/wyfs02/M01/8E/F5/wKioL1jP_r3QbDG6AABGJZ4epKc327.jpg" height= "94"/ >

650) this.width=650; "title=" clip_image018[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image018[8]" src= "http://s3.51cto.com/wyfs02/M02/8E/F8/wKiom1jP_r2jA4_8AAB4HDeYd78389.jpg" height= "134"/ >

10. Get the current database and confirm whether to delete it. and delete the default database folder;

650) this.width=650; "title=" clip_image019[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image019[8]" src= "http://s3.51cto.com/wyfs02/M02/8E/F5/wKioL1jP_r6iksAvAAA0v4M4ccE217.jpg" height= "106"/ >

650) this.width=650; "title=" clip_image020[8] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "Clip_image020[8]" src= "http://s3.51cto.com/wyfs02/M00/8E/F8/wKiom1jP_r-B-66yAABSq5faUbE800.jpg" height= "180"/ >

650) this.width=650; "title=" clip_image021[21] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ IMAGE021[21] "src=" http://s3.51cto.com/wyfs02/M00/8E/F5/wKioL1jP_r-yoTk-AAB54DP6nps993.jpg "height=" 163 "/>

--------------------------------------------

After completion of the above, the completion of the mail system upgrade to make changes, as well as user mailbox migration expansion.

This article is from "Albert Dongjie Tech Blog" blog, please be sure to keep this source http://djclouds.blog.51cto.com/7223084/1908619

"Troubleshooting Case" Unable to remove the Exchange DB DB error?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.