Login to VIDM displays a blank login page with a red error message box
search cancel

Login to VIDM displays a blank login page with a red error message box

book

Article ID: 430390

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • Login to VIDM displays a blank login page with a red error message box:
  • /opt/vmware/horizon/workspace/logs/horizon.log shows errors similar to: 
    INFO  (localhost-startStop-3) [;:;] com.vmware.horizon.liquibase.WorkspaceLiquibase - Clearing database change log checksums.
    WARN  (localhost-startStop-3) [;:;] org.springframework.web.context.support.XmlWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'groupDataService': Unsatisfied dependency expressed through field 'calculatorNotificationService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'calculatorNotificationService': Unsatisfied dependency expressed through field 'messageProducerService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'messageProducerService': Unsatisfied dependency expressed through field 'messagingService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'messagingService': Unsatisfied dependency expressed through field 'consumerService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'messageConsumerService': Unsatisfied dependency expressed through field 'encryptionUtilService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encryptionUtilService' defined in URL [jar:file:/opt/vmware/horizon/workspace/.../horizon-encryption-0.1.jar!/com/.../EncryptionUtilServiceImpl.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encryptionFactoryImpl': Unsatisfied dependency expressed through field 'encryptionService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionService' defined in class path resource [spring/encryption-connection-wireup.xml]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.vmware.horizon.common.api.encryption.EncryptionService]: Factory method 'createInstance' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [spring/datastore-connection-wireup.xml]: Invocation of init method failed; nested exception is liquibase.exception.LockException: Could not acquire change log lock.  Currently locked by ***.***.***.*** since #####
  • Applying KB VMware Identity Manager (vIDM) URL display a blank login page with a red error message box during login attempts fails with error 
    Error creating bean with name 'liquibase' defined in class path resource [spring/datastore-connection-wireup.xml]: Invocation of init method failed;
    nested exception is liquibase.exception.DatabaseException: org.postgresql.util.PSQLException: The connection attempt failed.
  • When checking pgService status with the command /etc/init.d/pgService status it returns a similar error to 
    /etc/init.d/pgService: line : /etc/sysconfig/pgpool: No such file or directory
  •  Running the command su root -c "echo -e 'password'|/usr/local/bin/pcp_watchdog_info -p 9898 -h localhost -U pgpool" on the primary node shows the primary node is in quarantine. 
  • 3 node VIDM cluster

Environment

VIDM 3.3.x

Resolution

Note: Prior to applying below changes please take snapshots as per KB How to take a Snapshot of VMware Identity Manager 
  1. Apply the 1 to 6 steps in KB vIDM cluster health status is RED due to corrupted file "/etc/init.d/pgService" 
  2. Apply the steps in KB One or more nodes of VMware identity manager is in Quarantine state