Error: 'Incorrect function' While Using On-Premise ElasticSearch


Follow

Overview

 

Sometimes, when the system upgrades to Java 8, the FogBugz ElasticSearch service terminates with the following service-specific error message:

Incorrect function

This article describes the process of resolving this ElasticSearch error.

 


Root Cause

 

This issue occurs when the installation directory of the Java 8 JRE folder routes to the old path.

 

Back to Top 


Resolution

 

  1. Open Windows Registry Editor:

    1. Navigate to Start > Run 

    2. Type regedit.

    3. Press Enter.

  2. Search for Java.jvm under the ElasticSearch registry key. The exact location of the registry key is:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\FogBugz ElasticSearch\Parameters\Java.Jvm
     
  3. Update the registry key value with the correct installation directory of the Java8 JRE folder.

  4. Once updated, restart the ElasticSearch service, and it is good to serve all your search need.

 

Back to Top 


Related Articles

 

 

Back to Top