Oracle DBA Tips Corner

     Return to the Oracle DBA Tips Corner.

click me  


How to Change the OID Ports

by Jeff Hunter, Sr. Database Administrator


Changing the OID Port Numbers

This article explains how to change the port numbers used by the Oracle Internet Directory from those assigned at the time of installation. Keep in mind that this article only refers to version 9.0.1, 9.0.2, and 9.2.0.

It may be deemed necessary at some point to change the ports OID is using from those assigned when OID was installed. The best way to accomplish this is to create a new Configuration Set with the new ports. You would then start the OID processes using the new Configuration Set. The following is a list of the steps you can use to create a new Configuration Set:

  1. Login to the Oracle Directory Manager.
  2. Navigate to Server Manager -> Directory Server
  3. Right-click on Default Configuration Set and select Create Like. The new configset number is automatically incremented.
  4. On the General tab, edit the Non SSL Port as desired.
  5. On the SSL Settings tab, edit the SSL Port as desired.
  6. Click OK to save the new configset. Ensure it is now listed under the previous one.
  7. Exit from the Oracle Directory Manager.
  8. Shutdown OID.
  9. Restart OID using the new configset:
    # oidmon connect=<Service Name> start
    # oidctl connect=<Service Name> server=oidldapd instance=<New Configset Number> start
  10. Launch Oracle Directory Manager.
  11. Click on the icon to the right of the Server field on teh login screen.
  12. Select the existing entry for the OID server and click on Edit.
  13. Update the new port, then click OK.
  14. Login to Oracle Directory Manager to ensure OID is up and listening on the new port.

Oracle9iAS Infrastructure Users

For those using Oracle9iAS Infrastructure OID, this change will also require changes to a number of 9iAS configuration files, both on the infrastructure and for any midtier servers.

  1. Run the following SQL script to update the SSO configuration:

    UNIX: $ORACLE_HOME/sso/admin/plsql/sso/ssooconf.sql
    Windows: %ORACLE_HOME%\sso\admin\plsql\sso\ssooconf.sql

    If only the <ENTER> is pressed in response to all questions then the configuration remains unchanged and the current values are displayed.

    Support the new OID port numbers when prompted. The output looks like the following:

    ---------------------------------------------
    CONFIGURATION FOR SSO SERVER:
    LDAP HOST: dbautil.idevelopment.info
    LDAP PORT: 4032
    SSO SERVER DN: orclApplicationCommonName=ORASSO_SERVER,cn=SSO,cn=Products,cn=OracleContext
    SSO SERVER PASSWORD: 6C189B1EF32BF7182A90A1C9358E
    LDAP USE SSL: N
    ---------------------------------------------

  2. Edit the ias.properties file: UNIX: $ORACLE_HOME/config/ias.properties
    Windows: %ORACLE_HOME%\config\ias.properties

    Under the section: [InstallData] change OIDport to the new port. e.g.

    [InstallData]
    ...
    OIDhost=dbautil.idevelopment.info
    OIDport=4032

  3. Check the documentation for each midtier to determine how to update the appropriate configuration files. Note that the following components will definately be affected: JAZN, Forms, Reports, Portal, Discover, OLAP, Oracle Colaboration Suite.


Copyright (c) 1998-2010 Jeffrey M. Hunter. All rights reserved.

All articles, scripts and material located at the Internet address of http://www.idevelopment.info is the copyright of Jeffrey M. Hunter and is protected under copyright laws of the United States. This document may not be hosted on any other site without my express, prior, written permission. Application to host any of the material elsewhere can be made by contacting me at jhunter@idevelopment.info.

I have made every effort and taken great care in making sure that the material included on my web site is technically accurate, but I disclaim any and all responsibility for any loss, damage or destruction of data or any other property which may arise from relying on it. I will in no case be liable for any monetary damages arising from such loss, damage or destruction.

Last modified on
Monday, 16-Jun-2003 00:00:00 EDT
Page Count: 9820