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

Last updated on OCTOBER 22, 2016

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 2391 -P 2637 /ODS11.1.5.0/local/DPSinst2

  2.- Start DPS instance and check it is running
      $ dpadm start /ODS11.1.5.0/local/DPSinst2         
  
  3.- Modify conf.ldif to set a listenAddress
  
  $ dpconf set-ldap-listener-prop -p 2391
  listen-address:192.168.1.1 listen-port:2391
  Certificate "CN=lbl-273.uk.oracle.com:2391" 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
/ODS11.1.5.0/local/DPSinst2
$ dpadm start /ODS11.1.5.0/local/DPSinst2

@ bash-3.00# pwd
/ODS11.1.5.0/local/dsee7/bin
bash-3.00# more /ODS11.1.5.0/local/DPSinst2/config/conf.ldif | grep listen*
listenPort: 2391
listenAddress: 192.168.1.1
listenPort: 2637
bash-3.00#

5.- Register DPS instance using dsccreg add-server

bash-3.00#
bash-3.00# ./dsccreg add-server -h localhost --description "My Proxy
instance2" /ODS11.1.5.0/local/DPSinst2/
@ Enter DSCC administrator's password:
/ODS11.1.5.0/local/DPSinst2/ is an instance of DPS
@ Enter password of "cn=Proxy Manager" for /ODS11.1.5.0/local/DPSinst2/:
Connecting to /ODS11.1.5.0/local/DPSinst2 (using ldap://127.0.0.1:2391)
Failed to connect to /ODS11.1.5.0/local/DPSinst2
Server replied : 127.0.0.1:2391
/ODS11.1.5.0/local/DPSinst2/ has not been registered in DSCC on localhost.
bash-3.00#


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


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms