[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 665
  • Last Modified:

Removing a Incorrectly Installed Exchange database

I tried to install Exchange 2010 and had problems. I reformatted the drives on the server and installed it without issue the second time around.

The first unsuccessful time I named the server - ExchangeServer
The the second and successful installation I named the server - Exchange

Now, when I am in the Exchange Management console, I see the ExchangeServer listed under the Database Management tab in Organization Configuration -> Mailbox, along with the proper one (Exchange). It's mounted status is 'unknown'. When I try to delete the database, I get an error stating several possible reasons. I believe the incorrect install is somehow still in the AD.

Can anyone suggest how to remove this bad installed reference (ExchangeServer)?

Thanks.
0
JJENSEN3
Asked:
JJENSEN3
  • 8
  • 8
  • 3
1 Solution
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
You can use ADSIEDIT to remove the Old server and its information.

Open ADSI Edit, expand Configuration, expand CN=Configuration,CN=<domain>, expand CN=Services, expand CN=Microsoft Exchange, expand CN=<Exchange organization name>, Server and then find the old server and delete.

Please be very careful and preferably take a System State backup or any issues share screenshot and take suggestion.

- Rancy
0
 
JJENSEN3Author Commented:
I follow your direction right up to the last portion - Server
I don't see any category of Server, nor do I see the server names listed. (See attached)

Any suggestions
Capture.JPG
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Expand Oldenkemp and then AG and then Servers.

- Rancy
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
I would still like you to check before making any changes as i dont want something to break here :)
0
 
JJENSEN3Author Commented:
Found what you suggested and tried it.
Almost there.
See attached of what is left...
Example.jpg
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Cool let me know if any help needed and be precautions !
0
 
JJENSEN3Author Commented:
Not sure how to eliminate the entry from my last post.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
We were in ADSIEDIT and trying to remove the Old server and Database how come you came to EMC ?

- Rancy
0
 
JJENSEN3Author Commented:
I thought I was done in the ADSIEDIT.  I just went to the EMC to see if I cleared everything. Obviously I am not done. Not sure where to check in the ADSI to clear it from the EMC.
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Can you please let me know once your ready and we can quickly run through it one by one ?

- Rancy
0
 
TheGeezer2010Commented:
Did you restart emc ? You may also need to restart AD Topology service
0
 
JJENSEN3Author Commented:
Rancy,
I did the ADSIedit and found "exchangeserver" and deleted it, per your link. I will need some advisement on where to find the residual listing that appears in the EMC. I will be back on the project on Tuesday.
Enjoy the weekend.


- J. Jensen
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Under Server Configuration in EMC. If any issues do let me know

- Rancy
0
 
JJENSEN3Author Commented:
Rancy,
I think I am not being clear.
I deleted the link ind ADSIEdit that contained the 'ExchangeServer' reference.

Now, when I go back to the EMC and view the Organization Configuration -> Mailbox, I see a reference to a mailbox database that cannot be removed. It is a mailbox database that was part of the corrupted installation with 'ExchangeServer'.

My question is, how do I make this entry disappear from the EMC? My guess is that I need to dig somewhere in the ADSIEdit to remove the reference.

See screenshot of deletion error, attached.

Jeff
EMC.doc
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Ohk in Exchange 2010 the Database has no SG dependency and is at the Organization level ... so give me few minutes and will send you the ADSIEDIT location.

Ohk ... when you go to Administrative Groups you will see Database .... highlight and check the one that you dont want.

- Rancy
0
 
JJENSEN3Author Commented:
I found it in there. I deleted it and it worked.
I came across one more issue with this corrupt installation.
I created a user mailbox, and cannot delete it.
How do I manually remove it?
0
 
JJENSEN3Author Commented:
Disregard my last post. I disabled the user and then recreated a new mailbox. All worked well.
Thanks for all your assistance.
0
 
TheGeezer2010Commented:
OK so if you run the command

get-mailboxdatabase

does it still show there ?

Increase logging level to expert level (7 - see link on how to do this if not sure) for MSExchangeIS

http://blogs.technet.com/b/ferris/archive/2010/05/03/howto-increase-the-logging-levels-in-exchange-2003-2007-and-2010.aspx

if so, and you now run

remove-mailboxdatabase -identity <mailbox> -confirm:$no (you can leave the last parameter and confirm manually if you wish), what error do you get (if any ?).

Can you also post the event relating to the above error in the application log, and also screen of the error in EMS

Should be able to fix this from there
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 8
  • 8
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now