EMC VNX Unisphere – Can’t login with Sysadmin

Had a problem the other day where I could not login to Unisphere on a VNX after doing the configuration with VIA.  I could login to root locally (sometimes) but not sysadmin.  After doing a little hunting and seeing that I could get into SSH on the CS0 with root.  I ran the following command

/nas/sbin/navicli -h spa security -adduser -user temp -password temp -scope 0 -role administrator

This created a username and password of temp for unisphere and allowed me to login.  No clue what made unisphere not like the password when I set it up with VIA but the other 2 accounts had no problems.

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.

Over 50 Free VMware Self-Paced eLearning

Over the last 2 years I have been doing a great deal of training. Here are some of the free fundamentals training on most VMware products.  These will work great with the Labs I just posted.

 

Updated list of VMware Free Training.
https://mylearn.vmware.com/mgrReg/plan.cfm?plan=33611&ui=www_edu

What is new:

Just a bit more information on Shellshock

If you have Red Hat  or one of the distro’s based off of this (centOS, Fedora, etc)

Run the following:

Yum clean all

Yum update

Shutdown -r now

 

For Ubuntu server:
some are saying you can just do

apt-get update

apt-get install bash

 

Ubuntu Statement:
http://www.ubuntu.com/usn/usn-2362-1/

How to test
You can check if you’re vulnerable by running the following lines in your default shell, which on many systems will be Bash. If you see the words “busted“, then you’re at risk. If not, then either your Bash is fixed or your shell is using another interpreter.

env X=”() { :;} ; echo busted” /bin/sh -c “echo completed”

env X=”() { :;} ; echo busted” `which bash` -c “echo completed”

from:  theregister.co.uk

 

Statement from Apple:

The vast majority of OS X users are not at risk to recently reported bash vulnerabilities,” an Apple spokesperson told iMore. “Bash, a UNIX command shell and language included in OS X, has a weakness that could allow unauthorized users to remotely gain control of vulnerable systems. With OS X, systems are safe by default and not exposed to remote exploits of bash unless users configure advanced UNIX services. We are working to quickly provide a software update for our advanced UNIX users.