Failed to initiate IMA Service on XenApp Server

Failed to initiate IMA Service on XenApp Server

book

Article ID: CTX210719

calendar_today

Updated On:

Description

Independent Management Architecture Service (or IMA) is not starting on a XenApp server. The ODBC connection file does not show DRIVER= Microsoft Access Driver (*.mdb).

 

 
 

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

Troubleshooting Steps

  1. Run the CDF trace(only selecting IMA modules). When trying to run the IMA, the following error is noticed in the trace.

    82812015/02/20 19:11:04.836391740360-1systemhostidtable.cpp1562LSA_GetDecryptedString5CDF_ENTRYLSA_GetDecryptedString - entry for keyName 'RADEOFFLINE_USERPASSWORD' 
    82912015/02/20 19:11:04.837051740360-1systemhostidtable.cpp406GlobalData_GetDecryptedString1CDF_ERRORGlobalData_GetDecryptedString: Failed to read from LSA!  error -1073741772 
    83012015/02/20 19:11:04.837061740360-1systemhostidtable.cpp411GlobalData_GetDecryptedString5CDF_ENTRYGlobalData_GetDecryptedString - exit; 
    89102015/02/20 19:11:06.2588870527240-1supportIMA.cpp176ImaInit1CDF_ERRORFailed to get local host record: 802D000Ch 
    89202015/02/20 19:11:06.2588870527240-1clientima_pif_remoteaccess.cpp171InitiateRemoteAccess1CDF_ERRORFailed to initiate IMA. 
  2. Run the Procmon tool. It is observed that it has the error for the dsmaint.exe to configure the DNS file and also LHC is not getting created. 

    The command to run the LHC works but it does not give an output indicating " LHC created successfully".
  3. Run the API Monitor 32 bit on the XenApp 64 Bit server. Run 32 bit on the server as the XA 6.5 and 6.0 codes are written in 32 bit.

  4. Run the API Monitor using the filter dsmaint.exe. It is observed that the entry %WINDIR%\system32\odbcjt32.dll was missing on to the server. The following screen shot illustrates example of the same in the working server.

    me
  5. Export the registry HKLM\Software\Wow6432Node\ODBC\ODBCINST.INI\Microsoft Access Driver(*.mdb) from the working server and import on to the non-working server.

    It is noticed that on the non working server's ODBC connection file that the DRIVER is not equal to Microsoft Access Driver. 

    After you replace the file as mentioned, the LHC is recreated and this created the IMALHC.mdb file. The IMA started working.

Note: The Desktop Database Drivers are needed to execute the Microsoft Open Database Connectivity (ODBC) interface on Windows. These drivers are contained in one driver file, the odbcjt32.dll module that the ODBC driver manager module uses.
Export the registry HKLM\Software\Wow6432Node\ODBC\ODBCINST.INI\Microsoft Access Driver(*.mdb) from the working server and import on to the non-working server.
 
 

Problem Cause

 
 
 

Issue/Introduction

This article provides solution to when IMA is not running and ODBC connection does not show Driver=Microsoft Access Driver.

Additional Information