XenApp 6.5 : Error starting mfcom & IMA services

After installing Roll Up Pack 1 for XenApp 6.5 a customer of mine ran into the problem that the 2 services mentioned wouldn’t start. The mfcom service was hanging in a starting fase and the IMA service reported several errors.

I found many many people on the internet with the same problem and I would like to share with you what the solution was that fixed my problem Smile

Fixing ProductFeature error

I wanted to remove the server from the farm and after a reboot tried to join the domain. After removing from the domain and rebooting, I was unable to join the server because of the following error :

ScreenShot_PF

I also received some errors about licenses etc. I found out that ProductFeature registry key was empty. HKEY\LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix and check out ProductFeauture option. In my case it’s the Advanced feature edition, so I had to use the ADV option. Other options are :

  • STD (Standard Edition)
  • ADV (Advanced Edition)
  • ENT (Enterprise Edition)
  • PLT (Platinum Edition)

After a reboot there were no more licensing problems and I was able to remove/join the server to the domain :

joinDomain

 

Fixing DSN files

I checked the DSN files (C:\program Files (X86)\Citrix\Independent Management\Independent Management Architecture). Check out the contents (with Notepad) of the dsn files.

It should look something like this :

 

ODBC] DRIVER=Microsoft Access Driver (*.mdb)
PageTimeout=5
MaxBufferSize=2048
FIL=MS Access
DriverId=25
DBQ=C:\Program Files (x86)\Citrix\Independent Management Architecture\Imalhc.mdb
WSID=SERVERNAME

 

In my case the WSID entry was missing (make sure you edit it with the name of your server)

After saving the file, execute the following commands :

  • dsmaint recreatelhc
  • dsmaint recreaterade

Reboot the server

Settings security (DSMAINT)

In case the problem still persists, you could try the following command :

  • dsmaint /config user:<user> paswd:<password>

After rebooting I was able to start both services. Both services are using the Network service account

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.