We had this issue where we got this error 2 -3 times before we could start OVD.Its due to Port is being left in TIME_WAIT state.So port will be busy till TCP times it out.Error will be as below.
[2013-08-14T00:04:41.496-06:00] [octetstring] [NOTIFICATION] [] [com.octetstring.vde.frontend.LDAP] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Listening on Port=11,539 Mode=Blocking
[2013-08-14T00:04:41.508-06:00] [octetstring] [NOTIFICATION] [OVD-20203] [com.octetstring.vde.frontend.LDAP] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Port allocated for LDAP SSL Endpoint:LDAP.
[2013-08-14T00:04:41.672-06:00] [octetstring] [ERROR] [OVD-60216] [com.octetstring.vde.VDEServer] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Cannot start Oracle Virtual Directory server: Address already in use.[[
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at com.octetstring.vde.frontend.LDAP.doAllocatePort(LDAP.java:236)
at com.octetstring.vde.frontend.LDAP.startListener(LDAP.java:481)
at com.octetstring.vde.frontend.ListenerHandler.addListener(ListenerHandler.java:100)
at com.octetstring.vde.frontend.ListenerHandler.init(ListenerHandler.java:91)
at com.octetstring.vde.VDEServer.startServer(VDEServer.java:181)
at com.octetstring.vde.VDEServer.main(VDEServer.java:359)
]]
[2013-08-14T00:04:41.672-06:00] [octetstring] [NOTIFICATION] [OVD-20052] [com.octetstring.vde.VDEServer] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Oracle Virtual Directory Server is shutting down.
Seems like it can be fixed 11.1.12 onwards as below.
- In the em
- Under "identity and access", select ovd1
- Right click the mouse and select administration > listeners
- Select LDAP endpoint ,LDAP SSL Endpoint and Admin gateway select one by one and edit
- Under socket options, select "reuse address".Check it.Save it
- Restart OVD.
[2013-08-14T00:04:41.496-06:00] [octetstring] [NOTIFICATION] [] [com.octetstring.vde.frontend.LDAP] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Listening on Port=11,539 Mode=Blocking
[2013-08-14T00:04:41.508-06:00] [octetstring] [NOTIFICATION] [OVD-20203] [com.octetstring.vde.frontend.LDAP] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Port allocated for LDAP SSL Endpoint:LDAP.
[2013-08-14T00:04:41.672-06:00] [octetstring] [ERROR] [OVD-60216] [com.octetstring.vde.VDEServer] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Cannot start Oracle Virtual Directory server: Address already in use.[[
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at com.octetstring.vde.frontend.LDAP.doAllocatePort(LDAP.java:236)
at com.octetstring.vde.frontend.LDAP.startListener(LDAP.java:481)
at com.octetstring.vde.frontend.ListenerHandler.addListener(ListenerHandler.java:100)
at com.octetstring.vde.frontend.ListenerHandler.init(ListenerHandler.java:91)
at com.octetstring.vde.VDEServer.startServer(VDEServer.java:181)
at com.octetstring.vde.VDEServer.main(VDEServer.java:359)
]]
[2013-08-14T00:04:41.672-06:00] [octetstring] [NOTIFICATION] [OVD-20052] [com.octetstring.vde.VDEServer] [tid: 10] [ecid: 0000K1vRExO6MQRVMY^QsA1I2lrj000000,0] Oracle Virtual Directory Server is shutting down.
Seems like it can be fixed 11.1.12 onwards as below.
- In the em
- Under "identity and access", select ovd1
- Right click the mouse and select administration > listeners
- Select LDAP endpoint ,LDAP SSL Endpoint and Admin gateway select one by one and edit
- Under socket options, select "reuse address".Check it.Save it
- Restart OVD.