How do you repair the IMA localhost cache?

Questions by tligon   answers by tligon

Showing Answers 1 - 5 of 5 Answers

IMPORTANT: The data store server must be available for dsmaint recreatelhc to work. If the data store is not available, the IMA service cannot start.

1. Stop the IMA service on the XenApp server, if it is started. This can be done using the command: net stop imaservice, or from services.

2. Run dsmaint recreatelhc, which renames the existing LHC database, creates a new database, and modifies the following registry key HKEY_LOCAL_MACHINESOFTWARECitrixIMARuntimePSRequired key to 1. Setting the value PSRequired to 1 forces the server to establish communication with the data store in order to populate the Local Host Cache database. When the IMA service is restarted, the LHC is recreated with the current data from the data store.

3. Restart the IMA service. This can be done via the command line, net start imaservice, or from services.

  Was this answer useful?  Yes

jayaram reddy

  • Jul 30th, 2011

open cmd mode

c:>dsmaint recreatelhc

this will recreate the LHC on the current Server

  Was this answer useful?  Yes

jayaram reddy

  • Jul 30th, 2011

Open cmd prompt type the following cmd in prompt

c:> dsmaint recreatelhc
this command will delete old LHC and recreate new LHC in the Server

  Was this answer useful?  Yes


  • Jun 27th, 2017

First IMA services need to be stopped, then run dsmaint recreatelhc, once its recreated
start IMA services.

net stop imaservice
dsmaint recreatelhc
net start imaservice

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions