My Oracle Support Banner

OVD 11g Fails to Start. Errors in diagnostic.log Include: com.octetstring.vde.util.DirectoryException: Key does not exist | java.lang.NullPointerException | Keystore was tampered with, or password was incorrect (Doc ID 2253514.1)

Last updated on DECEMBER 06, 2019

Applies to:

Oracle Virtual Directory - Version 11.1.1.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Virtual Directory (OVD) 11g instance fails to start.

OVD diagnostic.log ends with errors such as:

[2017-04-04T10:16:54.564-04:00] [octetstring] [ERROR] [OVD-60182] [com.octetstring.vde.util.PasswordEncryptor] [tid: xx] [ecid: <ECID>] Exception: Key does not exist: <IP_ADDRESS>.<DOMAIN>:{AES-CBC}.[[
com.octetstring.vde.util.DirectoryException: Key does not exist: <IP_ADDRESS>.<DOMAIN>:{AES-CBC}
at com.octetstring.vde.util.PasswordEncryptor.getEKey(PasswordEncryptor.java:366)
at com.octetstring.vde.util.PasswordEncryptor.getAesCipher(PasswordEncryptor.java:333)
...<etc>...

[2017-04-04T10:16:54.564-04:00] [octetstring] [ERROR] [OVD-60008] [com.octetstring.vde.backend.BackendHandler] [tid: xx] [ecid: <ECID>] Error in instantiating dc=com.[[
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at com.octetstring.vde.backend.db.DBConnectionPool.<init>(DBConnectionPool.java:102)
at com.octetstring.vde.backend.db.BackendDB.configureAdapter(BackendDB.java:209)
...<etc>...

[2017-04-04T10:16:54.564-04:00] [octetstring] [ERROR] [OVD-60231] [com.octetstring.vde.backend.BackendHandler] [tid: xx] [ecid: <ECID>] Cannot load adapters.[[
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at com.octetstring.vde.backend.db.DBConnectionPool.<init>(DBConnectionPool.java:102)
at com.octetstring.vde.backend.db.BackendDB.configureAdapter(BackendDB.java:209)
...<etc>...

[2017-04-04T10:16:54.574-04:00] [octetstring] [NOTIFICATION] [OVD-20157] [com.octetstring.vde.chain.plugins.performance.MonitorPerformance] [tid: xx] [ecid: <ECID>] Initializing Performance Monitor Plugin Version 5320M.
[2017-04-04T10:16:54.575-04:00] [octetstring] [NOTIFICATION] [OVD-20067] [com.octetstring.vde.join.Join_prod.JoinViewAdapter] [tid: xx] [ecid: <ECID>] Join view initialized (join rule initialization pending).
[2017-04-04T10:16:54.609-04:00] [octetstring] [ERROR] [OVD-60216] [com.octetstring.vde.VDEServer] [tid: xx] [ecid: <ECID>] Cannot start Oracle Virtual Directory server: Keystore was tampered with, or password was incorrect.[[
java.io.IOException: Keystore was tampered with, or password was incorrect
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
at java.security.KeyStore.load(KeyStore.java:1185)
at com.octetstring.vde.util.OVDSSLSocketFactory.getKeyStore(OVDSSLSocketFactory.java:282)
at com.octetstring.vde.frontend.SocketListener.getKeyStore(SocketListener.java:258)
at com.octetstring.vde.frontend.SocketListener.getSSLContext(SocketListener.java:110)
at com.octetstring.vde.frontend.SocketListener.init(SocketListener.java:86)
at com.octetstring.vde.admin.AdminService.init(AdminService.java:66)
at com.octetstring.vde.frontend.ListenerHandler.addListener(ListenerHandler.java:99)
at com.octetstring.vde.frontend.ListenerHandler.init(ListenerHandler.java:91)
at com.octetstring.vde.VDEServer.startServer(VDEServer.java:183)
at com.octetstring.vde.VDEServer.main(VDEServer.java:361)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
... 11 more

]]
[2017-04-04T10:16:54.609-04:00] [octetstring] [NOTIFICATION] [OVD-20052] [com.octetstring.vde.VDEServer] [tid: xx] [ecid: <ECID>] Oracle Virtual Directory Server is shutting down.
[2017-04-04T10:16:55.501-04:00] [octetstring] [NOTIFICATION] [OVD-20010] [com.octetstring.vde.backend.standard.<LSA_ADAPTER>.BackendStandard] [tid: xx] [ecid:<ECID>] [#<LSA_ADAPTER>] Initializing Memory Indices
[2017-04-04T10:16:55.510-04:00] [octetstring] [NOTIFICATION] [OVD-20075] [com.octetstring.vde.VDEServer] [tid: 10] [ecid: <ECID>] Oracle Virtual Directory Server is stopped

Tried:

OVD 11g Suddenly Fails To Start. Diagnostic.log Shows Message: "Cannot start Oracle Virtual Directory server: Keystore was tampered with, or password was incorrect." (Doc ID 1166157.1)

However it does not help. In the listeners.os_xml file, the "password" field for keys.jks is empty. Backing up and manually editing it with the correct password, then restarting the instance, does not encrypt the password, but keeps it as blank.

Changes

OVD Server was manually moved to a new host.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.