IMA Service Fails to Start and MFCOM Service Hangs in Starting State – Xenapp 6.5

OS crashed in our primary xenapp server hosting DB and had no backup to restore. Servers in farm were using LHC and continue to function.So we planned to have a isolated DB server, create a new farm & move the servers to the new farm.

  • Created a new farm.
  • Joined 2nd server to the new farm, got it successfully added.
  • After reboot, IMA server failed to start & MFCOM service hung at starting state.
  • Tried multiple troubleshooting including recreating LHC,rade based on the article http://support.citrix.com/article/CTX127922
  • Also checked on IPSEC service based on below article http://support.citrix.com/article/CTX127924
  • Confirmed hotfix level across the servers are same.
  • Still IMA & MFCOM wouldn’t start.
  • Found it’s a bug, DB settings are not getting properly updated in registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\IMA\Database Settings 

  • DB IP was not getting updated in the string “InitialDatabaseServerName”
  • These settings also can be checked using gpedit.msc > computer configuration > citrix policies > Settings > Server Settings > Database Settings

I had a hard time finding this fix, Hope this helps. 🙂

  • Gajaraja Krishnan

    no i didn’t work for me i have updated the hotfix rollup I after that i could not make the server complete the discovery process MFCOM services only hangs no problem with the IMA Service

    • Rajeev

      Hi, Were you able to find any event logs related to MFCOM service. In my experience when i have issues with MFCOM, IMA also wont start. Is it not happening?

  • Myki von Ferro

    OH MY GOD!!! YOU SAVED ME! 2 DAYS ON THIS AFTER CHANGING A DB AND PREPPING SERVERS FOR CLONING! CAPS SHOW MY APPRECIATION! AAAAAAAH!

    • Rajeev

      Happy it helped Myki 🙂

  • meltmanti

    Thank you! You solved my problem with a DB change as well! Thank you thank you!

    • Rajeev

      Thanks Guys. Happy it helped. 🙂

  • Mike Geubel

    I received this error, and nothing as above and other forums solved my issue. I found the solution as below:
    Error: The Citrix Independent Management Architecture service
    terminated with service-specific error %%-2147483601. And also Citrix MFCom service was in starting mode.

    à NTFS permissions on file C:WindowsSysWOW64mscoree.dll reset to default: SYSTEM,
    Administrators, Users: Read and Read & Execute

    NT ServiceTrustedInstaller: Full Control

    • Rajeev

      Thanks Mike. It’ll certainly help fellow administrators.

  • Pingback: Citrix Management Architecture – 2147483601 | Easy Architecture Fan()