JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Directory Server Enterprise Edition Troubleshooting Guide 11g Release 1 (11.1.1.5.0)
search filter icon
search icon

Document Information

Preface

1.  Overview of Troubleshooting Directory Server Enterprise Edition

2.  Troubleshooting Installation and Migration Problems

3.  Troubleshooting Replication

4.  Troubleshooting Directory Proxy Server

5.  Troubleshooting Directory Server Problems

6.  Troubleshooting Data Management Problems

7.  Troubleshooting Identity Synchronization for Windows

General Troubleshooting Guidelines

Configuring and Using the Logs

Using the idsync printstat Command

Troubleshooting Quick Checklist

Troubleshooting Problems with Identity Synchronization for Windows Installation

Troubleshooting Memory Problems

Troubleshooting Problems With Connectors

General Connector Troubleshooting Tips

Determining the ID of a Connector Managing a Directory Source

Getting and Managing the Current State of a Connector

Troubleshooting a Connector in the UNINSTALLED State

Troubleshooting a Connector in the INSTALLED State

Troubleshooting a Connector in the READY State

Troubleshooting a Connector in the SYNCING State

Troubleshooting Problems With the Active Directory Connector

Troubleshooting the Watchdog Process and Core Components

Troubleshooting Processes on Solaris or Linux

Troubleshooting Processes on Windows

Examining the WatchList.properties File

To View Hidden Folders and the Temp Subdirectory on Windows

Troubleshooting the Connector Subcomponents

Verifying Subcomponent Installation

To Turn on the Windows NT Audit Log

Verifying Server Restart After Installation

Verifying Network Connections

Troubleshooting the Message Queue Component

Using telnet to Verify That the Message Queue Broker is Running

Collecting Additional Information About the Message Queue Broker

Troubleshooting Communication Problems With Directory Server

Troubleshooting Memory Problems

To Recover From a Message Queue Broker Low Memory Condition

Troubleshooting Problems With Identity Synchronization for Windows Over SSL

Troubleshooting Problems With SSL Between Core Components

Troubleshooting Problems With SSL Between Connectors and Directory Server or Active Directory

Troubleshooting Problems With SSL Between the Directory Server and Active Directory

Troubleshooting Problems With Certificates

Untrusted Certificates

Mismatched Hostnames

Expired Certificates

Troubleshooting Active Directory Domain Controller Problems

8.  Troubleshooting DSCC Problems

9.  Directory Server Error Log Message Reference

10.  Directory Proxy Server Error Log Message Reference

Index

Troubleshooting the Message Queue Component

This section describes how to troubleshoot problems with the Message Queue component and its broker. It contains the following topics:

This chapter contains the following sections:

Using telnet to Verify That the Message Queue Broker is Running

Verify that the Message Queue broker is running. Using the telnet command to connect to the machine and port where the Message Queue broker is running returns a list of the active Message Queue services:

# telnet localhost 7676
Trying 127.0.0.1...
Connected to localhost.
Escape character is \q^]\q.
101 psw-broker 3.0.1
cluster tcp CLUSTER 32914
admin tcp ADMIN 32912
portmapper tcp PORTMAPPER 7676
ssljms tls NORMAL 32913
jms tcp NORMAL 32911
Connection closed by foreign host.

If the ssljms tcp NORMAL service is not listed in the output, then examine the Message Queue logs for potential problems. The location of the log depends on the platform you are using as follows:

[13/Mar/2003:18:17:09 CST] [B1004]:
'Starting the portmapper service using tcp
[ 7676, 50 ]
with min threads 1 and max threads of 1'

If the broker is not running, start it on Solaris and Linux by running the /etc/init.d/imq start command. On Windows, start the broker by starting the iMQ Broker Windows service.

If you install Message Queue on Solaris 8, and you run the mquinstall command to install all of the packages, be sure to set IMQ_JAVAHOME propertybefore running the mqinstall command. This ensures that the software picks the correct version of Java.

If you have not yet installed the core component, you do not have to set the IMQ_JAVAHOME property because the Identity Synchronization for Windows installation program tells the Message Queue broker which version of Java to use.

Collecting Additional Information About the Message Queue Broker

You can run the broker with the debug log turned on to help collect additional information about your problem. To turn on the debug log level, use the following command:

# imqbrokerd -loglevel DEBUG

You can get a debug dump of the broker using the following command:

imqcmd dump bkr -edebug -u admin -o file=filename

Troubleshooting Communication Problems With Directory Server

The Message Queue broker authenticates clients with the Directory Server that stores the Identity Synchronization for Windows configuration. If the broker cannot connect to this Directory Server, no clients can connect to the Message Queue. The broker log will contain a javax.naming exception, such as “javax.naming.CommunicationException or javax.naming.NameNotFoundException.

If a javax.naming exception occurs, take the following steps:

Troubleshooting Memory Problems

During normal operation, the Message Queue broker consumes a modest amount of memory. However, during idsync resync operations, the broker’s memory requirements increase. If the broker reaches its memory limit, undelivered messages will accumulate, the idsync resync operations will slow down dramatically or even, and Identity Synchronization for Windows may be unresponsive.

When the broker enters a low-memory state, the following messages will appear in its log:

[03/Nov/2003:14:07:51 CST] [B1089]:
In low memory condition,
Broker is attempting to f
ree up resources [03/Nov/2003:14:07:51 CST] [B1088]:
Entering Memory State [B0024]:
RED  from previous state [B0023]:
ORANGE - current memory is 1829876K,
90% of total memory

To avoid a low memory state, take the following steps:

To Recover From a Message Queue Broker Low Memory Condition

  1. Verify that the broker has a backlog of undelivered messages.

    Examine the broker's persistent message store in the appropriate directory for your operating system:

    • On Solaris: /var/imq/instances/psw-broker/filestore/message/

    • On Linux: /var/opt/sun/mq/instances/isw-broker/filestore/message/

    • On Windows: installation_root\isw-machine_name\imq\var\instances\isw-broker\filestore\message\

    Each file in this directory contains a single undelivered message. If there are more than 10,000 files in this directory, then the broker has a backlog of messages. Otherwise, an undelivered message backlog is not causing the problem with the broker.

    The message backlog usually contains log files related to an idsync resync operation and you can safely remove them.

  2. Stop the Message Queue broker.

    For more information, see Starting and Stopping Services in Oracle Identity Synchronization for Windows 6.0 Installation and Configuration Guide.

  3. Remove all files in the persistent message store.

    The easiest way to remove these files is by recursively removing the message/ directory and then recreating it.

  4. Restart the Message Queue broker.

    To avoid running out of memory in the future, take the steps described earlier in this section.