Event 41293 Indexing service fails to start: Malformed or corrupt repository.xml

book

Article ID: 100029025

calendar_today

Updated On:

Description

Error Message

Log Name: Application
Source: Enterprise Vault
Event ID: 41293
Task Category: Index Admin Service
Level: Error
Description:
warning (0 ms) - Enterprise Vault_load    : XML index [C:\Program Files (x86)\Enterprise Vault\EVIndexing\data\indexmetadata\repository.xml.index] is corrupt. Rebuilding. (ID: XML_INDEX_CORRUPTED)error (0 ms) - Enterprise Vault_load    : Malformed XML file [C:\Program Files (x86)\Enterprise Vault\EVIndexing\data\indexmetadata\repository.xml]: [junk after document element at line 1 col 77:lone="yes" ?><vce version="7.x" />+++ERROR+++> ] (ID: XML_FILE_MALFORMED) For more information, see Help and Support Center at _http://entced.symantec.com/entt?product=ev&language=english&version=10.0.2.0&build=10.0.2.1112&error=V-437-41293Event Xml


V-437-41293

Dtrace Information:
To validate if this is the issue a Dtrace is needed, please perform the following steps on the EV server that has generated Event ID 41293 while re-creating the issue.

  • For more information about Enterprise Vault’s Dtrace Utility please see 100038975.
  • Dtrace the EVIndexAdminService process for no less than 5 minutes while re-creating the issue.
  • Open the log file created and search for either of the following the strings:

12:38:18.450 [14864] (EVIndexAdminService) <10596> EV-H {IndexingWCFProxy`1} Exception: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '| | <br><br>warning (16 ms) - vivisimo_load|: XML index [C:\Program Files (x86)\Enterprise Vault\EVIndexing\data\indexmetadata\repository.xml.index] is corrupt. Rebuilding.   (ID: XML_INDEX_CORRUPTED)<br><br>error (16 ms) - vivisimo_load|: Malformed XML file [C:\Program Files (x86)\Enterprise Vault\EVIndexing\data\indexmetadata\repository.xml]</code></p> <p><code>The remote server returned an error: (500) Internal Server Error.</code></p> <h3 class="section-title">Cause</h3> <p>Corrupt<strong> Repository.xml</strong> file. To confirm, try opening the xml using internet explorer (IE).</p> <h3 class="section-title">Solution</h3> <p>This issue can be resolved by deleting or moving the corrupt<strong> repository.xml</strong> file away from <strong>Indexmetadata </strong>folder. Before deleting the file, save a backup copy of the file outside the <strong>Indexmetadata </strong>folder.</p> <p>1. Login to affected <b>Enterprise Vault (EV) server</b> using <b>Vault Service Account (VSA)</b> credentials.<br /> 2. Stop the<b> IIS Admin Service</b> and <b>World wide web publishing service</b> OR run <b>iisreset /stop </b>from command prompt.<br /> 3. <b>Move</b> corrupt <b>repository.xml</b> file from the <strong><em>Install_Path</em>\Enterprise Vault\EVindexing\data\indexmetadata</strong> folder.</p> <div style=""><b><i>Note: </i></b> <i> In some cases, such as if Enterprise Vault is clustered, the IndexMetaData folder (which is usually found under the EVIndexing subdirectory) may be held in a different location. To locate the folder that contains the corrupt repository.xml file run the below SQL query:- </i></div> <div style=""> </div> <div style=""><b><i>USE EnterpriseVaultDirectory </i></b></div> <div style=""><b><i>SELECT CE.ComputerName, ISE.MetaDataLocation </i></b></div> <div style=""><b><i>FROM ComputerEntry CE, IndexingServiceEntry ISE </i></b></div> <div style=""><b><i>WHERE CE.ComputerEntryID = ISE.ComputerEntryID </i></b></div> <p><br /> 4. Start the <b>IIS Admin Service</b> and <b>World wide web publishing service </b>OR run <b>iisreset /start </b>from command prompt.<br /> 5. Start the <b>EV Indexing service</b>.<br /> 6. Upon starting indexing service, it will recreate the <strong>repository.xml </strong>file as part of initializing process, if it isn't there. This will delay the indexing start up, which will be notified via event:</p> <p><code>Type :  Warning<br /> Event :  41395<br /> Source :  Enterprise Vault<br /> Category :  Index Admin Service<br /> Description: Enterprise Vault will now create the indexing metadata.<br /> The Indexing service will be unavailable until the metadata has been created. The creation will begin immediately and may take some time to complete.</code></p> <p>V-437-41395</p>   <p> </p>

Issue/Introduction

Enterprise Vault (EV) Indexing Service fails to start. Event 41293 logged stating repository.xml file corrupt.