My Oracle Support Banner

ODSEE - Directory Proxy Can Not Be Registered When 'listen-address' Attribute Is Set. (Doc ID 1414561.1)

Last updated on OCTOBER 06, 2019

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.5.0 to 11.1.1.5.2 [Release 11gR1]
Information in this document applies to any platform.

Symptoms

On ODSEE  11.1.1.5.0 a directory proxy server instance cannot be registered when listenAddress is set to an IP address in conf.ldif


  ================================
  Steps to reproduce the problem:
  ================================
  1.- Create a DPS instance
      $ dpadm create -p <PORT> -P <SSL_PORT> /<DPS_INSTALL_PATH>/<DPS_INST2>

  2.- Start DPS instance and check it is running
      $ dpadm start /<DPS_INSTALL_PATH>/<DPS_INST2>         
  
  3.- Modify conf.ldif to set a listenAddress
  
  $ dpconf set-ldap-listener-prop -p <PORT>
  listen-address:<IP_ADDRESS> listen-port:<PORT>
  Certificate "CN=<LAB>.<DOMAIN>.com:<PORT>" presented by the server is not trusted.
  Type "Y" to accept, "y" to accept just once, "n" to refuse, "d" for more details: Y
@   Enter "cn=Proxy Manager" password:
  The proxy server will need to be restarted in order for the changes to take effect
  
  
  4.- Stop and Start DPS instance to take effect the changes
  
$ dpadm stop
/<DPS_INSTALL_PATH>/<DPS_INST2>
$ dpadm start /<DPS_INSTALL_PATH>/<DPS_INST2>

# pwd
/<DPS_INSTALL_PATH>/dsee7/bin
bash-3.00# more /<DPS_INSTALL_PATH>/<DPS_INST2>/config/conf.ldif | grep listen*
listenPort: <PORT>
listenAddress: <IP_ADDRESS>
listenPort: <SSL_PORT>
bash-3.00#

5.- Register DPS instance using dsccreg add-server

# ./dsccreg add-server -h localhost --description "My Proxy instance2" /<DPS_INSTALL_PATH>/<DPS_INST2>/
@ Enter DSCC administrator's password:
/<DPS_INSTALL_PATH>/<DPS_INST2>/ is an instance of DPS
@ Enter password of "cn=Proxy Manager" for /<DPS_INSTALL_PATH>/<DPS_INST2>/:
Connecting to /<DPS_INSTALL_PATH>/<DPS_INST2> (using ldap://127.0.0.1:<PORT>)
Failed to connect to /<DPS_INSTALL_PATH>/<DPS_INST2>
Server replied : <IP>:<PORT>
/<DPS_INSTALL_PATH>/<DPS_INST2>/ has not been registered in DSCC on localhost.



WORKAROUND.-
1.- Stop DPS instance and delete listenAddress manually in conf.ldif file.
2.- Register DPS instance in DSCC without listenAddress set in conf.ldif file.
3.- Stop DPS and set listenAddress manually in conf.ldif file

 

Changes

 

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.