Join Our Forums

Error 26005: Could not start IMA Service in CTX_MF_IMA_StartIMAService State = 1

Issue : The following error message may appear at the end of the Presentation Server 4.0 installation: “Error 26005: Could not start IMA Service in CTX_MF_IMA_StartIMAService State = 1”

For Citrix Presentation Server 4.0:

The Windows Event Viewer shows several errors:

“ID: 3615 “The server running MPS failed to connect to the data store… ..IMA_RESULT_FAILURE. An unknown failure occurred while connecting to the database”
ID: 3609 Failed to load imapsss.dll with error IMA_RESULT_FAILURE
ID: 3609 Failed to load imaruntimess.dll with error IMA_RESULT_FAILURE
ID: 3601 Failed to load initial plugins with error IMA_RESULT_FAILURE”

The Microsoft Installer (MSI) log for Presentation Server 4.0 shows a similar error message:

msiexec /i mps.msi /l*v c:\CPS40InstallLog.log

“CTX_MF_IMA_StartIMAService property CitrixWindowsFolder.655CCDD2_63F2_4973_9D14_52C912BFB0E2 is L:\Program Files\Citrix\

Action 0:34:11: CTX_MF_IMA_StartIMAService. Starting IMA service…

Error 26005. Could not start IMA Service in CTX_MF_IMA_StartIMAService State = 1”

The following registry key did not exist, as it was not yet created:

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\RUNTIME\currentlyloadingplugin

For Presentation Server 4.5:

The following error message may appear at the end of the Presentation Server 4.5 installation:

“Citrix Presentation Server 4.5 installation failures were using the same operating system image as Presentation Server 4.0 installations. However, Citrix Presentation Server 4.0 could be successfully installed on these same operating system images. In addition, upgrading from Presentation Server 4.0 to 4.5 was successful. From the Presentation Server 4.5 installation components, mps.msi was being used.”

From the MSI installation log:

“msiexec /i mps.msi /l*v c:\CPS45InstallLog.log

MSI (s) (8C:3C) [14:09:23:609]: Executing op: ActionStart(Name=CTX_IMA_STARTIMASERVICE.655CCDD2_63F2_4973_9D14_52C912BFB0E2,,)
Action 14:09:23: CTX_IMA_STARTIMASERVICE.655CCDD2_63F2_4973_9D14_52C912BFB0E2.
MSI (s) (8C:3C) [14:09:23:609]: Executing op: CustomActionSchedule(Action=CTX_IMA_STARTIMASERVICE.655CCDD2_63F2_4973_9D14_52C912BFB0E2,ActionType=3073,
Source=BinaryData,Target=CTX_IMA_StartIMAService,CustomActionData=CTX_IDS_LOADSS=Currently loading [1]-CTX_IDS_STARTIMA=Starting IMA service …-CTX_IMA_FARM_SELECTION.655CCDD2_63F2_4973_9D14_52C912BFB0E2=Create-CitrixWindowsFolder.655CCDD2_63F2_4973_9D14_52C912BFB0E2=C:\Program Files\Citrix\)
MSI (s) (8C:28) [14:09:23:625]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIBC.tmp, Entrypoint: CTX_IMA_StartIMAService
Successfully added the IndexFarmKey
CTX_IMA_StartIMAService property CitrixWindowsFolder.655CCDD2_63F2_4973_9D14_52C912BFB0E2 is C:\Program Files\Citrix\
Action 14:09:23: CTX_IMA_StartIMAService. Starting IMA service …
MSI (c) (6C:5C) [14:09:23:875]: Note: 1: 2262 2: Billboard 3: -2147287038
Error 26005. Could not start IMA Service in CTX_IMA_StartIMAService State = 1
MSI (s) (8C!E0) [14:09:30:421]: Product: Citrix Presentation Server for Windows — Error 26005. Could not start IMA Service in CTX_IMA_StartIMAService State = 1
MSI (s) (8C:28) [14:09:30:421]: Leaked MSIHANDLE (27740) of type 790531 for thread 3808
MSI (s) (8C:28) [14:09:30:421]: Note: 1: 2769 2: CTX_IMA_STARTIMASERVICE.655CCDD2_63F2_4973_9D14_52C912BFB0E2 3: 1
DEBUG: Error 2769: Custom Action CTX_IMA_STARTIMASERVICE.655CCDD2_63F2_4973_9D14_52C912BFB0E2 did not close 1 MSIHANDLEs.
Internal Error 2769. CTX_IMA_STARTIMASERVICE.655CCDD2_63F2_4973_9D14_52C912BFB0E2, 1
Action ended 14:09:30: InstallFinalize. Return value 3.”

Presentation Server 4.5 creates a Citrix Diagnostic Facility (CDF) trace by default during installation.

A CDF trace may reveal that ImaRuntimeSs.dll failed the verification process after being loaded by the IMA Service:

“loader 5760 3852 07/02/2007 13:10:42.699 loader.c 365 CDF_INFO 1 Loading Plugin: ImaRuntimeSS.dll
transprt 5760 1376 07/02/2007 13:10:42.699 connect.c 1186 CDF_INFO 1 Waiting for incoming connection…
transprt 5760 5992 07/02/2007 13:10:42.699 connect.c 1186 CDF_INFO 1 Waiting for incoming connection…
loader 5760 3852 07/02/2007 13:10:42.714 loader.c 445 CDF_ERROR 1 Library C:\Program Files\Citrix\System32\Citrix\IMA\SubSystems\ImaRuntimeSS.dll failed verify
system 5760 3852 07/02/2007 13:10:42.714 service.c 352 CDF_ERROR 1 Loader_LoadPlugin failed: 8000002Eh.
system 5760 3852 07/02/2007 13:10:42.714 service.c 577 CDF_ERROR 1 LoadInitialPlugin failed: 8000002Eh
imasrv 5760 3852 07/02/2007 13:10:42.714 ntservice.c 190 CDF_ERROR 1 System_Start failed: 8000002Eh”

Resolution : Error 26005: Could not start IMA Service in CTX_MF_IMA_StartIMAService State = 1

The TMP and TEMP system variables are pointing to a folder that doesnt exist. To check this right click on the mycomputer icon and select properties > Advanced tab > Environment Variables, Now check the folder location for the TMP and TEMP folders. Also check that the “System” has full access to these folders.

In Presentation Server 4.5, the account used when the IMA Service starts changed from Local System to Network Service. At the point where the install fails with the error dialog (do not dismiss the dialog), open the Service Control Manager and verify that the IMA Service is present. Because the error dialog has not been dismissed, change the account from NT AUTHORITY\Network Service to Local System and start the IMA Service. Re-run the install again

Add the following registry values to the HKEY_USERS\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders key:

• Value Name: AppData
Type: REG_EXPAND_SZ
Data: %USERPROFILE%\Application Data

• Value Name: Local Settings
Type: REG_EXPAND_SZ
Data: %USERPROFILE%\Local Settings

• Value Name: Personal
Type: REG_EXPAND_SZ
Data: %USERPROFILE%\My Documents

Comment Form