Updating Search Index errors out

Discussion forum for Enterprise Edition.
Post Reply
Matth
Posts: 133
Joined: Fri Nov 08, 2002 8:34 am
Location: Hong Kong

Updating Search Index errors out

Post by Matth »

I have the below error message on a lot of mailboxes in the MailboxSearchIndexing logs.

Code: Select all

2021-10-17 00:05:31,409 [97] INFO  - Updating email@domain.com.
2021-10-17 00:05:31,409 [97] INFO  - Updating search index for email@domain.com (Optimise).
2021-10-17 00:05:31,409 [97] ERROR - Failed to update index for email@domain.com: Der Typeninitialisierer für "Lucene.Net.Store.FSDirectory" hat eine Ausnahme verursacht..
I have then enabled debug logging and get a bit more details.

Code: Select all

2021-10-18 11:00:37,137 [11] INFO  - Updating email@domain.com.
2021-10-18 11:00:37,137 [11] INFO  - Updating search index for email@domain.com (Optimise).
2021-10-18 11:00:37,137 [11] ERROR - Failed to update index for email@domain.com: Der Typeninitialisierer für "Lucene.Net.Store.FSDirectory" hat eine Ausnahme verursacht..
2021-10-18 11:00:37,137 [11] DEBUG - Exception updating index for email@domain.com:
System.TypeInitializationException: Der Typeninitialisierer für "Lucene.Net.Store.FSDirectory" hat eine Ausnahme verursacht. ---> System.SystemException: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.InvalidOperationException: Diese Implementation ist nicht Teil der FIPS-überprüften kryptographischen Algorithmen für die Windows-Plattform.
   bei System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   bei System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   bei System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
   bei System.Security.Cryptography.MD5.Create()
   bei Lucene.Net.Store.FSDirectory..cctor() ---> System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. ---> System.InvalidOperationException: Diese Implementation ist nicht Teil der FIPS-überprüften kryptographischen Algorithmen für die Windows-Plattform.
   bei System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   bei System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   bei System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
   bei System.Security.Cryptography.MD5.Create()
   bei Lucene.Net.Store.FSDirectory..cctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei Lucene.Net.Store.FSDirectory..cctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei MailEnable.MailboxSearching.IndexUpdater.UpdateSearchIndex(IndexingOptions Options)
   bei MailEnable.MailboxSearching.IndexUpdater.UpdateIndex().
2021-10-18 11:00:37,137 [11] INFO  - 1 pending index updates.
I have no idea what all that means. How can I get those mailboxes to be indexed properly?

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Updating Search Index errors out

Post by MailEnable-Ian »

Hi,

Are you running the latest version of MailEnable 10.37? If so can you please submit a support ticket under the category of upgrade and provide copies of the indexing service log files and if possible access to the server via RDP or Teamviewer.

https://www.mailenable.com/support/step1.asp
Regards,

Ian Margarone
MailEnable Support

MailEnable-Ian
Site Admin
Posts: 9738
Joined: Mon Mar 22, 2004 4:44 am
Location: Melbourne, Victoria, Australia

Re: Updating Search Index errors out

Post by MailEnable-Ian »

Hi,

Further to my reply it looks like you have FIPS enabled within Windows. The indexing service will not work and index when FIPS is enabled. You can still search for messages though using the search field on the preview pane but will be a lot slower which doesnt use the indexing service. We are working towards FIPS support for the indexing service in future revisions.
Regards,

Ian Margarone
MailEnable Support

Matth
Posts: 133
Joined: Fri Nov 08, 2002 8:34 am
Location: Hong Kong

Re: Updating Search Index errors out

Post by Matth »

Still running Version 10.31.

But disabling FIPS seems to have solved the error. There is now only the occasional error, that a file is already used in another process, but the mentioned error is no longer showing up.

Not sure how or when that FIPS got enabled though.

Post Reply