Restarting the Oracle Virtual Directory Server Using OPMNCTL

11-2 Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory Admin Gateway The HTTP Listener named Admin Gateway is the interface the Oracle Virtual Directory server uses to communicate with the Oracle Directory Services Manager and Oracle Enterprise Manager Fusion Middleware Control user interfaces. You cannot communicate with the Oracle Virtual Directory using the Oracle Directory Services Manager and Oracle Enterprise Manager Fusion Middleware Control user interfaces if you disable the Admin Gateway Listener. Refer to Editing the Oracle Virtual Directory Administrative Listener Settings for more information about editing the Oracle Virtual Directory Administrative Listener settings. LDAP SSL Endpoint The LDAP Listener named LDAP SSL Endpoint is the interface Oracle Virtual Directory uses to provide performance metrics in Oracle Enterprise Manager Fusion Middleware Control. LDAP SSL Endpoint should always be enabled and secured using SSL Server Authentication. Do not delete or disable LDAP SSL Endpoint. If you need an LDAP Listener that is secured using a different SSL mode, create a new Listener using Oracle Enterprise Manager Fusion Middleware Control.

11.2.1 Managing Communication Between Oracle Virtual Directory and Fusion Middleware Control

The communication between Oracle Virtual Directory and Oracle Enterprise Manager Fusion Middleware Control will be disrupted if you edit any of the following settings for the default Listeners Admin Gateway and LDAP SSL Endpoint: ■ Listener Host ■ Listener Port ■ Enable Disable SSL If you edit any of these settings for the default Listeners, you must update the Oracle Enterprise Manager Fusion Middleware Control target discovery information so Oracle Virtual Directory and Oracle Enterprise Manager Fusion Middleware Control can communicate. To update the Oracle Enterprise Manager Fusion Middleware Control target discovery information, perform the following steps: 1. Log in to Oracle Enterprise Manager Fusion Middleware Control.

2. Right-click the Farm entry in the navigation tree and select Agent-Monitored

Targets . The Agent-Monitored Targets screen appears.

3. Click the Configure button for the appropriate Oracle Virtual Directory target in

the Targets table. The Configure Target page appears. 4. Update the following settings according to your current Oracle Virtual Directory environment and click OK at the top of the Configure Target page: ■ Machine name ■ Virtual Directory Admin Port ■ Virtual Directory LDAP Port See Also: The Troubleshooting appendix of the Oracle Fusion Middleware Administrators Guide. Creating and Managing Oracle Virtual Directory Listeners 11-3

11.3 Configuring Oracle Virtual Directory to Listen on Privileged Ports

Perform the following steps to enable Oracle Virtual Directory 11g Release 1 11.1.1.2.0 and higher on UNIXLinux platforms to listen on privileged ports, that is, port numbers less than 1024: 1. As the same user that installed Oracle Virtual Directory, create the cap.ora file as follows: echo `id -ng`: bind tmpcap.ora 2. Using the Oracle Process Manager and Notification Server OPMN control command, stop all components: ORACLE_INSTANCEbinopmnctl stopall 3. Change to root user permissions: su root 4. Update the ORACLE_HOMEbinhasbind file by performing the following steps: a. Change ownership of the file to root: chown root ORACLE_HOMEbinhasbind b. Change the permissions on the file as follows: chmod 4755 ORACLE_HOMEbinhasbind 5. Copy the cap.ora file you created in step 1 to the etc directory: cp tmpcap.ora etccap.ora 6. Change the permissions on the etccap.ora file as follows: chmod 644 etccap.ora 7. As the same user that installed Oracle Virtual Directory, start Oracle Virtual Directory and enable it to listen on privileged ports by using the following command: ORACLE_HOMEbinhasocket ORACLE_INSTANCEbinopmnctl startall After performing the steps in this procedure, Oracle Virtual Directory listeners can listen on privileged ports. You can create new listeners and enter privileged port numbers, or edit existing listeners to use privileged port numbers.

11.4 Creating and Managing Listeners Using Fusion Middleware Control

This topic explains how to create and manage Oracle Virtual Directory Listeners using Oracle Enterprise Manager Fusion Middleware Control and contains the following sections: ■ Creating LDAP Listeners ■ Creating HTTP Listeners ■ Managing Listeners Note: To enable Oracle Virtual Directory to listen on privileged ports, you must start it using only this command.