Solved

IIS will not start - corrupt metabase.xml

Posted on 2009-05-07
7
2,772 Views
Last Modified: 2012-05-06
After doing routing Windows updates and restarting, IIS did not start. We discovered the root of the problem is the metabase.xml file.

Tried deleting, renaming, moving but file is corrupt and nothing (including 3rd-party utilities) seems to work. ("File is unreadable or directory is corrupt.") Tried to restore from backup, with no success. Deleted and re-installed IIS, then applied SP2 hoping that might re-install, but no.

Along with the IIS event error, we also get NTFS error 55. Tried CHKDSK /f/r and /x with no success (volume locked). System is a RAID 5, SBS Server 2003 SP2.

IIS error: Event ID 7023 the IIS admin service terminated with the following error: File or directory is corrupt and unreadable.

NTFS Event ID 55: The file system structure on the disk is corrupt and unusable. Please run CHKDSK utility on volume.

The volume we are trying to fix is the system drive. Everything else is working fine except IIS and Exchange Server.

How can we correct the NTFS error and get IIS to start without doing a full system restore? And/or, how can we delete the corrupt metabase.xml file?

Any help from anyone on this issue will be greatly appreciated. We've been banging our heads against the wall for a full day.
0
Comment
Question by:jjanknegt
  • 3
  • 2
  • 2
7 Comments
 
LVL 65

Expert Comment

by:Mestha
ID: 24328379
If you removed IIS, and then didn't install Exchange then you have broken Exchange. Exchange doesn't like having IIS pulled from under it.

There is a correct procedure for removing IIS when Exchange is involved:
http://support.microsoft.com/kb/320202

Considering what you have already done, I would suggest that you follow it, ensuring that you remove everything connected to IIS.
After reinstalling IIS and Exchange, re-run the Configure Internet and Email wizard in SBS.

Simon.
0
 
LVL 3

Expert Comment

by:srepphan
ID: 24329423
If you haven't already, try configuring CHKDSK to run at boot-time. This way it can scan for bad sectors on the system drive before it is locked. I will assume you already did this as it should prompt you to try a boot-time scan if the volume is the system partition.
0
 

Author Comment

by:jjanknegt
ID: 24329826
Thanks for the quick replies. Yes, we did run CHKDSK several times on reboot, in safe mode, with a variety of switches. Same result; couldn't unlock the volume.

Simon, we can't proceed to re-installing Exchange until IIS will start, and we can't get IIS to work (even after reinstalling it) with the corrupt metabase.xml file still "stuck" in the inetsrv folder. It's resisted every attempt to delete, move, rename, overwrite, edit or work with it in any way.

We may be re-installing SBS this weekend if we can't find a fix.
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 3

Expert Comment

by:srepphan
ID: 24329876
You are probably dealing with a corrupt MFT. The only solution that I know of is to backup everything, reformat, and then restore everything BUT the metabase.xml file.
0
 
LVL 65

Expert Comment

by:Mestha
ID: 24330716
If you remove IIS, then reboot the machine, then the lock on the files should be released. It is important that you reboot to release the locks.

Simon.
0
 
LVL 3

Expert Comment

by:srepphan
ID: 24330761
The problem is not with locks. Error 55 is a corrupted file and/or corrupted MFT fragment.
0
 

Accepted Solution

by:
jjanknegt earned 0 total points
ID: 24444315
Thanks everyone for you help but we just ended up rebuilding all systems
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Are external E-mails being sent to distribution groups? 6 41
Replacing Domain Controller 15 31
Exchange 2007 standard - defrag (eseutul /d) 10 42
ACTIVE DIRECTORY 18 49
Find out what you should include to make the best professional email signature for your organization.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question