Audit Vault Agent Failed on Startup: OAV-10: Failed to Release Connection to DB
Problem
When installing the Audit Vault Agent error OAV-10: Failed to Release Connection to Database occurred when ./agentctl start -k was run. The database to Audit Vault Server connection failed.
Cause
The wrong location was used for JAVA_HOME and agentctl picked up a different Java in the path. The connection failed as it does not work with Java that is present in the database home.
Solution
Set the proper location for JAVA_HOME:
JAVA_HOME=/usr/java/jdk1.8.0_491
export PATH=$JAVA_HOME/bin:$PATH