"Communication error with the OPMN server local port" When Starting OPMN

The Problem

When attempting to start the OPMN services the following error occurs:

opmnctl: starting opmn and all managed processes...
"Communication error with the OPMN server local port. Check the OPMN log files"

The Solution

Another opmn.exe process was using the port configured for OPMN.

1. Check the PORT defined for OPMN in %ORACLE_HOME%\opmn\conf\opmn.xml. Example: port local=“6101”.

2. Execute the following from the DOS Prompt:

netstat -ano

3. Results of ’netstat -ano’ show something similar to the following:

Active Connections

Proto Local Address  Foreign Address State     PID
TCP       LISTENING 4692
TCP       LISTENING 1928
TCP       LISTENING 1376

In this example, port 6101 is LISTENING using Process ID (PID) 1376.

Now follow the stpes outlined below:

1. Log into the Application Server as a user with admin privileges.

2. Open a DOS prompt and execute the following:

netstat -ano

3. Make of note of the PID currently assigned to port 6101. For example:


Where 5364 in this case is the PID.

4. Using Windows Task Manager, Kill the Process associated with the PID.

5. Start opmn using ‘opmnctl start’:

opmnctl start