7.2

Table Of Contents
Cause
The Encryption.key le has incorrect permissions or the group or owner user level is incorrectly assigned.
Solution
Prerequisites
Log in to the virtual appliance that displays the error.
N If your virtual appliances are running under a load balancer, you must check each virtual
appliance.
Procedure
1 View the log le /var/log/vcac/catalina.out and search for the message Cannot write
to /etc/vcac/Encryption.key.
2 Go to the /etc/vcac/ directory and check the permissions and ownership for the Encryption.key
le. You should see a line similar to the following one:
-rw------- 1 vcac vcac 48 Dec 4 06:48 encryption.key
Read and write permission is required and the owner and group for the le must be vcac.
3 If the output you see is dierent, change the permissions or ownership of the le as needed.
What to do next
Log in to the Tenant page to verify that you can log in without error.
Identity Manager Fails to Start After Horizon-Workspace Restart
In a vRealize Automation high availability environment, the Identity Manager can fail to start after the
horizon-workspace service is restarted.
Problem
The horizon-workspace service cannot start due an error similar to the following:
Error creating bean with name
'liquibase' defined in class path resource [spring/datastore-wireup.xml]:
Invocation of init method failed; nested exception is
liquibase.exception.LockException: Could not acquire change log lock. Currently
locked by fe80:0:0:0:250:56ff:fea8:7d0c%eth0
(fe80:0:0:0:250:56ff:fea8:7d0c%eth0) since 10/29/15
Cause
The Identity Manager may fail to start in a high availability environment due to issues with the liquibase
data management utility used by vRealize Automation.
Solution
1 Log in to the vRealize Automation appliance as root using ssh.
2 Run the service horizon-workspace command to stop the horizon-workspace service.
3 Run the su postgres command to become a postgres user.
4 Run the command psql vcac.
5 Set the schema to saas.
6 Run the following SQL query: "update "databasechangeloglock" set locked=FALSE,
lockgranted=NULL, lockedby=NULL where id=1;"
Chapter 6 Troubleshooting a vRealize Automation Installation
VMware, Inc. 135