ERROR:
When opmn services are started, the following error is being received.
BIND (Address already in use)
x.x.x.x: 393478144 – listener BIND failed
1 2 3 4 5 6 7 8 9 10 11 12 | /oracle/product/ias/opmn/logs/ons.log content: ---------------------------------------------------------------------------------------- 09/08/27 14:53:21 [4] ONS server initiated 09/08/27 14:53:21 [2] BIND (Address already in use) 09/08/27 14:53:21 [2] x.x.x.x:393478144 - listener BIND failed 09/08/27 14:53:21 [4] Listener thread 2057: x.x.x.x:393478144 (0x404) terminating 09/08/27 14:53:21 [1] Local listener terminated 09/08/27 14:53:22 [4] ONS server initiated 09/08/27 14:53:22 [2] BIND (Address already in use) 09/08/27 14:53:22 [2] x.x.x.x:393478144 - listener BIND failed 09/08/27 14:53:22 [4] Listener thread 2057: x.x.x.x:393478144 (0x404) terminating 09/08/27 14:53:22 [1] Local listener terminated |
When opmn was closed, the request port specified in opmn.xml file was used by a different service.
1 2 3 4 5 6 7 | port information in "/oracle/product/ias/opmn/conf/opmn.xml" file: ----------------------------------------------------------------------------------------- <notification-server> <port local="6102" remote="6201" request="6004"/> <log-file path="$ORACLE_HOME/opmn/logs/ons.log" level="4" rotation-size="1500000"/> <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/> </notification-server> |
1 2 3 | bash-3.00$ netstat -an|grep 6004 tcp4 0 0 x.x.x.x.6004 x.x.x.x.37892 TIME_WAIT tcp4 0 0 *.6004 *.* LISTEN |
1 2 3 | bash-3.00$ opmnctl status Unable to connect to opmn. Opmn may not be up. |
SOLUTION:
1 2 3 4 5 6 7 | change "/oracle/product/ias/opmn/conf/opmn.xml": ----------------------------------------------------------------------------------------- <notification-server> <port local="6102" remote="6201" request="6005"/> <log-file path="$ORACLE_HOME/opmn/logs/ons.log" level="4" rotation-size="1500000"/> <ssl enabled="true" wallet-file="$ORACLE_HOME/opmn/conf/ssl.wlt/default"/> </notification-server> |
1 2 | bash-3.00$ opmnctl startall opmnctl: starting opmn and all managed processes... |