Citrix XenApp 6.5 – IMA Service will not start

Had this problem today and found this post on how to fix it.  It did fix it and was much more helpful than what I could find from Citrix Knowledge Base.

Problem:

If the IMA Service will not start with messages in the event log such as the following, then the IMA local host cache database may be corrupt or the Citrix server may be unable to connect to the datastore

 

Event Type:     Error
Event Source:   IMAService
Event Category: None
Event ID:       3989
Date:           05/08/2011
Time:           09:32:18
User:           N/A
Computer:       CTXCORE01
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 0x700 Thread 0xeac DBC 0x618ea4 Jet’.
Event Type:     Error
Event Source:   IMAService
Event Category: None
Event ID:       3989
Date:           05/08/2011
Time:           09:32:18
User:           N/A
Computer:       CTXCORE01
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 0x700 Thread 0xeac DBC 0x618ea4 Jet’.
Event Type:     Error
Event Source:   IMAService
Event Category: None
Event ID:       3989
Date:           05/08/2011
Time:           09:32:18
User:           N/A
Computer:       CTXCORE01
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 0x700 Thread 0xeac DBC 0x618ea4 Jet’.
Event Type:     Error
Event Source:   IMAService
Event Category: None
Event ID:       3989
Date:           05/08/2011
Time:           09:32:18
User:           N/A
Computer:       CTXCORE01
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 0x700 Thread 0xeac DBC 0x618ea4 Jet’.
Event Type:     Error
Event Source:   IMAService
Event Category: None
Event ID:       3989
Date:           05/08/2011
Time:           09:32:18
User:           N/A
Computer:       CTXCORE01
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 0x700 Thread 0xeac DBC 0x618ea4 Jet’.

Solution:

Recreating the Local Host Cache

You can manually create the local host cache from the farm’s data store. If the Citrix IMA Service fails to start or you have a corrupt local host cache, you may need to recreate it.

To recreate the local host cache, stop the IMA Service and then run the command dsmaint recreatelhc. Running this command performs three actions:

  • Sets the value of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\IMA\ RUNTIME\PSRequired to 1. This key is HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\ RUNTIME\PSRequired to 1 on XenApp, 32-bit Edition.
  • Deletes the existing local host cache (Imalhc.mdb)
  • Creates an empty local host cache (Imalhc.mdb)

You must restart the IMA Service after running dsmaint recreatelhc. When the IMA Service starts, the local host cache is populated with fresh data from the data store.

The data store server must be available for dsmaint recreatelhc to work. If the data store is not available, the Citrix IMA Service fails to start.

Mozilla Firefox: Disable Auto Update

Great Post I found that Helped me with XenApp Servers.

This one took me a little bit of work to piece together and get right and working, but finally got it working.

If you find this post in anyway helpful, please leave a comment and also consider leaving a small donation.

I was doing this for a client to stop auto updates on their Terminal Service / Citrix servers which was regularly faulting due to the update.

The steps below guide you through setting the configuration files required for Firefox to not only turn off updates, but deny the setting entirely.

Also note, this is on a per computer basis. This process will need to be replicated on each computer/server as necessary or desire.

Note: The install directories used here is default for a Windows 64-bit operating system. You install path may different.

Create file local-settings.js in C:\Program Files (x86)\Mozilla Firefox\defaults\pref

Copy the following and save in file

 

pref(“general.config.obscure_value”, 0);

pref(“general.config.filename”, “mozilla.cfg”);

Create file mozilla.cfg in C:\Program Files (x86)\Mozilla Firefox

 

//

lockPref(“app.update.auto”, false);

lockPref(“app.update.enabled”, false);

Test and confirm access

You can confirm this by going to the Perferences and Update tab and find that the update options are greyed out. Alternatively, browse to about:config and the above options will be in Italics.

via Daniel B’s Tech Blog: Mozilla Firefox: Disable Auto Update.

Updating Machine Catalog does not update App Servers XenDesktop 7.1

Here is the problem I was having with XenDesktop 7.1 on updating Application servers.

Steps I take:
1. Turn on App Master image and do the needed app install / updates
2. Turn off the App Master image and take a new snapshot in vcenter client
3. Open Citrix Studio and right click on the Machine Catalog I am going to update and click Update Machines
4. Go through the wizard and set it to reboot with out waiting
5. The Green bar does its thing for 5-10mins and vcenter shows changes.
6. Try to publish the new app that I just installed and it does not show. Even though the Machine Catalog shows it is on the latest SnapShot

The Fix
1. Right click on the Machine Catalog you were updating and view machines
2. Highlight all the Machines and select restart
3. Watch vcenter client and you will see that is shows that the vm setting are being updated.

Installing and Configuring Citrix StoreFront 2.0 – RobinHobo.com

With the release of Citrix XenDesktop 7, Citrix also released Citrix StoreFront 2.0. One of the biggest improvements is that StoreFront does not using a Microsoft SQL database anymore! This simplifies the installation because you no longer need to run the database setup scripts. Also the HTML5 HDX Receiver is now fully integrated into StoreFront and is no separate installation anymore.This guide describes the step-step installation of Citrix StoreFront 2.0, how to configure the StoreFront server, including secure connection over HTTPS, IIS default site redirection, HTML5 HDX fallback receiver and Remote Access with NetScaler Access Gateway.For the secure connection over HTTPS you need to install a server certificate described in this guide, make sure you have Active Directory Certificate Servers with the Certification Authority and the Certification Authority Web Enrollment roles installed in your environment. Also make sure the root CA is installed on every client and StoreFront server.

via Installing and Configuring Citrix StoreFront 2.0 – RobinHobo.com.