Link to home
Start Free TrialLog in
Avatar of WVCA
WVCA

asked on

Exchange 2007 - OWA suddenly stops working now IIS won't reinstall

Ok I have a bit of a mess on my hands.  I will try to document my progress as best I can.

Everything has been 100% fine up until 4/18 when Update Rollup 10 for Exchange Server 2007 SP1 (KB981407) was installed automatically and the server rebooted.

I uninstalled this update...rebooted.  Nothing.  IIS Admin service, www service and various other services that depend on "HTTP" don't start.

So then I uninstalled IIS thinking I could reinstall.  Well now I can't even install IIS or remove the CAS role.  Also other services that depend on "HTTP" such as the Print Spooler service still don't start.

I can try to provide more info it can help.  I do see a couple interesting events in the logs but nothing that's helped me solve the problem.  Exchange is still working fine... emails are going in and out but OWA is completely toast.

Process MSExchangeFDS.exe (PID=2784). Failed to read property Path from metabase object IIS://ironside1.wvca.us/W3SVC/1/ROOT/OAB. OAB synchronization suspended.

Actually that's it right now.... I have cleared the logs so many times I don't really have much now :(
Avatar of WVCA
WVCA

ASKER

This is the one error I noticed as well:

Code integrity determined that the image hash of a file is not valid.  The file could be corrupt due to unauthorized modification or the invalid hash could indicate a potential disk device error.

File Name:      \Device\HarddiskVolume1\Windows\System32\drivers\http.sys      
Avatar of WVCA

ASKER

C:\Windows\System32\drivers\http.sys:
        Verified:       Unsigned
        File date:      7:05 AM 11/9/2009
        Publisher:      Microsoft Corporation
        Description:    HTTP Protocol Stack
        Product:        Microsoft« Windows« Operating System
        Version:        6.0.6002.18136
        File version:   6.0.6002.18136 (vistasp2_gdr.091102-2300)
        Strong Name:    Unsigned
        Original Name:  http.sys.mui
        Internal Name:  http.sys
        Copyright:      ¬ Microsoft Corporation. All rights reserved.
        Comments:       n/a
        MD5:    6b08c8263eda9545bceaf3bcfd94201b
        SHA1:   f9e8510db7da475d1a69c7f4ffee29099b58a098
        SHA256: 7f6fb8d5dda9c259975fba3f2b22a3936e89eec099d9114be643548ee994785f
Avatar of WVCA

ASKER

Web Server (IIS): Installation failed


 <Error>: Attempt to install IIS Management Console failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Request Filtering failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install HTTP Logging failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Request Monitor failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Static Content Compression failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install HTTP Errors failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Static Content failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Default Document failed with error code 0x80070643. Fatal error during installation

 <Error>: Attempt to install Directory Browsing failed with error code 0x80070643. Fatal error during installation

 The following role services were not installed:
Unfortunately this is not a simple IIS setup error, IIS never returns failure during uninstall. The error code 0x80070643 indicates that at this point the CBS component store is corrupted with a failed transaction that it will forever try and process.  
Two things to try:

1) OS repair – insert media and start setup.exe,  then choose Upgrade

2) if that does not work then you will need to clean install OS

Reff:
http://forums.iis.net/t/1148533.aspx
Avatar of WVCA

ASKER

I can't run setup.exe -> Upgrade... it gives an error saying I need to uninstall Exchange first.

I guess my only option is to setup another exchange server and migrate our mailboxes over... the reinstall the OS on our current server... the move everything back.

This is absolutely insane.  An update this weekend and forced reboot caused this problem which apparently cannot be fixed.... This is pretty much my last straw with exchange and Microsoft products in general.
ASKER CERTIFIED SOLUTION
Avatar of Mahmoud Sabry
Mahmoud Sabry
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of WVCA

ASKER

msabry06:

If I do this will I be able to leave the old server up so it can copy all the mailboxes over?  I'm assuming this is what recovery mode will do.  I'm about to start this process now.  I'm just worried everything is going to work how it should :(
Avatar of WVCA

ASKER

I forgot to add... I'm going to try to move this to a VM on another server... once it's up and running 100% I'd like to reinstall the OS on the original machine then move everything back.
its okay..
is the server has another roles than CAS?, if it has mailbox server role, then you must take full backup of exchange databases first, then delete this server at all, then reinstall the server again in recovery mode.

what i need to see is that the server recovery setup  will not recover the database.
Avatar of WVCA

ASKER

Yes it has all the roles... we have only a single physical server for exchange.

What should I use the backup the maillboxes?

I need to start on this within an hour to have it ready by tomorrow morning.  I have another server setup with the same OS just waiting.

You're saying msabry06's solution would not copy the mailboxes over?
Avatar of WVCA

ASKER

Would it not be possible to install Exchange 2007 on a second server and migrate all the mailboxes over rather than trying to Setup.exe /mode:recoverserver?
Dear WVCA
yes you can install another exchange server with fresh installation and then move all mailboxes to it, and to do this you needn't to take bakup of the database

after that you will need to uninstall the old server from add remove programs to delete it completely from active directory database, but don't uninstall it untill u make sure all  work flow is ok
Avatar of WVCA

ASKER

Awesome!

In this case the new server wouldn't need the same name as it would for /mode:recoverserver right?
sure you must use new name for the installation you can use the normal GUI interface to install the server

note, here u mustnot install the server in the recovery mode, you must use fresh installation
Avatar of WVCA

ASKER

The struggle continues.  I didn't realize I used R2 media until I couldn't get exchanged installed.

So I've reinstalled yet again with a 2k8.  Now when I run setup off the Ex2k7 disk I get "The Exchange server is in an inconsistent state. Only reserver recovery mode is available.
Avatar of WVCA

ASKER

Still trying.  Can't even get a repair going... old exchange server is a DC and it won't demote properly so I can't reset the account... I'll keep working.
Dear WVCA

try this first
https://www.experts-exchange.com/questions/24141127/The-exchange-server-is-in-inconsistent-state-Only-server-recovery-mode-is-available.html

if this can't solve the issue, delete the new exchange server account using ADSIEdit.msc,the newly installed one not the old one

http://technet.microsoft.com/en-us/library/cc411332%28EXCHG.80%29.aspx
Avatar of WVCA

ASKER

Sorry I had to keep going... did get the recoverserver to work.  Now I'm trying to figure out how to get the database/mailboxes moved over from the old server.  We don't have a 3rd party backup utility so I'm trying to figure out a way to copy everything over if possible.

I did find this:

"It’s obvious that a recovered server with the Mailbox Server role must have the respective Mailbox and Public folder database restored from backup, or copied back from the disks on the old server (if possible). " 

from: http://www.msexchange.org/tutorials/Recovering-Exchange-2007-Server-RecoverServer-switch.html

Although it doesn't really say how to do so.
no i can't understand

but what i can say is that, if u will continue using recover server, then you must backup the database first of the exchange server, i don't know if the copy will restore the database or not

then
u must disconnect the old server completely from the network  and reset its account and follow the steps in the article

if u open ADSIEdit console and browse to the following location, what is the listed servers that u see there
Configuration > Services > Microsoft Exchange > Administrative Groups > Exchange Administrative Group (FYDIBOHF23SPDLT) > Servers

u should see the old server name only, can u see another servers
Avatar of WVCA

ASKER

OK.  Then I need to figure out how to backup the first exchange server database and restore it to the new server before moving on.

As of right now I completed the 5 steps you mentioned above.
yes, and can u see another servers in ADSIEdit rather than the old one?
Avatar of WVCA

ASKER

Also under ADSIEdit you mentioned.  I see both the old server and the new server listed.
then u begin the installatin in exchange server in a fresh copy of exchange not using recovery mode, am i right?
Avatar of WVCA

ASKER

No I did exactly as your instructions say.  It wouldn't let me do anything but recovery mode :(  
Avatar of WVCA

ASKER

E:\>setup /mode:recoverserver

Welcome to Microsoft Exchange Server 2007 Unattended Setup

Preparing Exchange Setup

The following server roles will be recovered
    Hub Transport Role
    Client Access Role
    Mailbox Role
    Management Tools

Performing Microsoft Exchange Server Prerequisite Check

    Hub Transport Role Checks        ......................... COMPLETED
    Client Access Role Checks        ......................... COMPLETED
    Mailbox Role Checks              ......................... COMPLETED

Configuring Microsoft Exchange Server

    Copying Exchange files           ......................... COMPLETED
    Hub Transport Server Role        ......................... COMPLETED
    Client Access Server Role        ......................... COMPLETED
    Mailbox Role                     ......................... COMPLETED
    Exchange Management Tools        ......................... COMPLETED

The Microsoft Exchange Server setup operation completed successfully.
Setup has made changes to operating system settings that require a reboot to tak
e effect. Please reboot this server prior to placing it into production.
Avatar of WVCA

ASKER

Would it be possible to shut down the new machine.  Then using adsiedit delete the new machine out of there.  This would leave things as they were before I started?  I think I will have to call someone in to do this for me that has more experience.
Avatar of WVCA

ASKER

I have to figure something quick we open in 2 hours.  If I can get back to where I was before that would be fine.  I'm sorry for all the confusion :(
now the old Server is disconnected from the network, and mustn't be returned back

the next step now is to restore databases from the backup
Avatar of WVCA

ASKER

The old server is still connected to the network.  I don't have a backup of anything because I don't have a way of backing it up (No 3rd party program).  I'm not really sure what to do... I think I'm in big trouble here.
Avatar of WVCA

ASKER

Ok wait.  I was able to get the database mounted on the new server.  I think I may be getting somewhere now.  
how this?
what is the name for old server and new server?
i hope they are different
Avatar of WVCA

ASKER

I have no clue what I've done but I now have the old server off the network and the new server is working somewhat.  I still have some things to troubleshoot but all our mailboxes are fine and we're receiving email from the internet
yes, but where is their mailboxes is it in the old server or in the new server

it just show up in Exchange management console because their exchange properties not changed in Active directory

let me know what will happen when u try to open mailbox of some one through OWA
Avatar of WVCA

ASKER

I copied over the database from the old server to the new server.  It's in the same exact location on the new server as it was the old server if that matters.

Confirmed through OWA that my mailboxes are working perfect!

I still have some things to troubleshoot but my original problem is fixed.  Email is coming in from internet but not going out yet and our SSL cert is not working properly.  All things I can fix :)
Really thanks to god that this work

to make emails go out you must create send connector(if not created) and make sure the new server is present in the source servers tab properties of send connector

for How to configure SSL, to get the commands go to https://www.digicert.com/easy-csr/exchange2007.htm
Avatar of WVCA

ASKER

Thanks!  I really appreciate all your help!
you are welcome