Archive for the ‘Citrix’ Category

Citrix Independent Management Architecture service won’t start

Wednesday, August 13th, 2008

Had  a server today in one of the Citrix Presentation Server 4.5 farms that when users were logging into it they were getting license error messages. We couldn’t see the server from our licensing server and found that the Citrix Independent Management Architecture service was not started. We also were getting the following messages in the event viewer.

Event Type:    Error
Event Source:    Service Control Manager
Event Category:    None
Event ID:    7024
Date:        8/13/2008
Time:        5:55:59 PM
User:        N/A
Computer:    CS3
Description:
The Citrix Independent Management Architecture service terminated with service-specific error 2147483649 (0×80000001).

Event Type:    Error
Event Source:    IMAService
Event Category:    None
Event ID:    3601
Date:        8/13/2008
Time:        5:55:59 PM
User:        N/A
Computer:    CS3
Description:
Failed to load initial plugins with error IMA_RESULT_FAILURE

Event Type:    Error
Event Source:    IMAService
Event Category:    None
Event ID:    3609
Date:        8/13/2008
Time:        5:55:59 PM
User:        N/A
Computer:    CS3
Description:
Failed to load plugin C:\Program Files\Citrix\System32\Citrix\IMA\SubSystems\ImaRuntimeSS.dll with error IMA_RESULT_FAILURE

Event Type:    Error
Event Source:    IMAService
Event Category:    None
Event ID:    3609
Date:        8/13/2008
Time:        5:55:59 PM
User:        N/A
Computer:    CS3
Description:
Failed to load plugin C:\Program Files\Citrix\System32\Citrix\IMA\SubSystems\ImaPsSs.dll with error IMA_RESULT_FAILURE

Event Type:    Error
Event Source:    IMAService
Event Category:    None
Event ID:    3989
Date:        8/13/2008
Time:        5:55:59 PM
User:        N/A
Computer:    CS3
Description:
The Citrix Presentation Server failed to connect to the Data Store. ODBC error while connecting to the database: S1000 -> [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key ‘Temporary (volatile) Jet DSN for process 0x1ac Thread 0×730 DBC 0x669c1c Jet’.

It was a suprisingly easy fix. I just went to the command prompt and used the following command:


DSMAINT RECREATELHC

I was able to start the Citrix Independent Management Architecture service with out a problem. Some people have reported that when they reboot they have to do a DSMAINT RECREATEHC every time. I did not run into that here and was able to restart the server and have the Citrix IMA come up just fine.

Citrix Server won’t auto client create printers – event ID 1116

Tuesday, June 10th, 2008

A server running Citrix Presentation Server 4.5 at one of our clients would not auto client create printers when users connect. It would log an error in the event viewer for every printer that was being mapped with Event ID 1116.

Event Type: Error

Event Source: MetaFrameEvents
Event Category: Printer Management
Event ID: 1116
Date: 6/6/2008
Time: 7:54:46 AM
User: N/A
Computer: SERVER1

Description:
Printer auto-creation failure. Reason: AddPrinter() failed with status 0×5. Client name: (PC01) Printer name: (Client/PC01#/HP Laser Jet 4000) Port name: (Client\PC01#\HP Laser Jet 4000) Driver name: (Citrix Universal Printer) Print processor: (Citrix Print Processor)

I didn’t have much luck with figuring out what was going on until I focused on the actual error stated in the eventlog “AddPrinter() failed with status 0X5.” since 0X5 is usually an access denied code.

A little searching and I found a similar problem with Citrix Presentation Server 4.0 and the user permissions for the Ctx_SmaUser. This user is a local user and one of its jobs is to be the service user for the Citrix Print Manager Service. The user that Presentation Server 4.5 uses is named Ctx_SmaUser. I verified that this user belonged to the same groups as it did on the other server and then to test my theory that it was a user permission problem I changed the user that ran the service to the local administrator account. Once restarting the Citrix Print Manager Server I was able to login and have my printers connect.

Running the following tool from Citix fixed the user permissions for the Ctx_SmaUser user and I was able to change the user back on the service and have it create printers normally.

http://support.citrix.com/article/CTX113554

This tool automates what you need to do that is in this article:

http://support.citrix.com/article/CTX113555

Yeah, thought you would be running the tool :)