Recently, we can't stop the MSGW driver successfully. We are at below
patch level.

IDM 4.0.2 Engine & Remote Loader Patch 3
IDM 4.0.2 DCS Driver Version 4.0.0.3
IDM 4.0.2 MSGW Driver Version 4.0.0.5

When stopping the MSGW driver, the driver failed to stop.
"Unable to stop the driver. The request to stop the driver failed".

From the trace log, it seems the driver stopped, but there is about 7
minutes waiting.

[11/12/13 10:15:00.895]:QAMSGDriver PT:Ending publisher thread.
[11/12/13 10:22:56.543]:QAMSGDriver ST:QAMSGDriver: Stopped the
MSGatewayListener successfully....
[11/12/13 10:22:56.543]:QAMSGDriver ST:QAMSGDriver: Removing listener
for {9A38EC76-B710-412c-4BB4-76EC389A10B7} from the list of active
listener instances.
[11/12/13 10:22:56.543]:QAMSGDriver ST:QAMSGDriver: ===== Stopping cache
purger =====
[11/12/13 10:22:56.543]:QAMSGDriver ST:QAMSGDriver: ===== Cache purger
stopped =====

When trying to restart driver,

[11/12/13 10:23:02.326]:QAMSGDriver PT:PublicationShim.start()
returned:
[11/12/13 10:23:02.858]:QAMSGDriver PT:
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product instance="QAMSGDriver" version="4.0.0.5">Identity Manager
Managed System Gateway Driver</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="fatal" type="driver-general">Unable to start
MSGateway server:
java.io.IOException: Could not create SSLFactoryListener:
java.net.BindException: Address already in use</status>
</output>
</nds>

I have to restart ndsd to start the MSGW driver again. Attached is the
trace log file.

Similar thing happen to the Banner driver as well. All other drivers are
ok to stop and start, eg: AD, bi-Dir eDir, Google, RBE, DCS.
Any suggestion how to troubleshoot this?

Below are the port status captured.

Before stopping the driver:

QITSIDM01:~ # netstat -plten |grep 7707
tcp 0 0 10.10.85.1:7707 0.0.0.0:*
LISTEN 0 12396 3151/ndsd
QITSIDM01:~ # lsof -i:7707
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
ndsd 3151 root 382u IPv4 12396 0t0 TCP
QITSIDM01.wlu.ca:sync-em7 (LISTEN)
QITSIDM01:~ # lsof |grep 7707
ndsd 3151 root mem REG 8,3 134133
68644633
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/servlet-api-2.5-20081211.jar
ndsd 3151 root mem REG 8,3 46367
68644632
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jsr311-api-1.1.1.jar
ndsd 3151 root mem REG 8,3 72478
68644631
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jettison-1.2.jar
ndsd 3151 root mem REG 8,3 1169606
68644630
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jersey-bundle-1.1.5.1.jar
ndsd 3151 root mem REG 8,3 18941
68644628
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/MSGatewayCommon.jar
ndsd 3151 root 365r REG 8,3 18941
68644628
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/MSGatewayCommon.jar
ndsd 3151 root 366r REG 8,3 1169606
68644630
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jersey-bundle-1.1.5.1.jar
ndsd 3151 root 367r REG 8,3 72478
68644631
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jettison-1.2.jar
ndsd 3151 root 368r REG 8,3 46367
68644632
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jsr311-api-1.1.1.jar
ndsd 3151 root 369r REG 8,3 134133
68644633
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/servlet-api-2.5-20081211.jar


After trying to stop the driver (from imanager or designer):
QITSIDM01:~ # netstat -plten |grep 7707
tcp 0 0 10.10.85.1:7707 0.0.0.0:*
LISTEN 0 12396 -
QITSIDM01:~ # lsof -i:7707
QITSIDM01:~ # lsof |grep 7707
ndsd 3151 root DEL REG 8,3
68644633
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/servlet-api-2.5-20081211.jar
ndsd 3151 root DEL REG 8,3
68644632
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jsr311-api-1.1.1.jar
ndsd 3151 root DEL REG 8,3
68644631
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jettison-1.2.jar
ndsd 3151 root DEL REG 8,3
68644630
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jersey-bundle-1.1.5.1.jar
ndsd 3151 root DEL REG 8,3
68644628
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/MSGatewayCommon.jar
ndsd 3151 root 365r REG 8,3 18941
68644628
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/MSGatewayCommon.jar
(deleted)
ndsd 3151 root 366r REG 8,3 1169606
68644630
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jersey-bundle-1.1.5.1.jar
(deleted)
ndsd 3151 root 367r REG 8,3 72478
68644631
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jettison-1.2.jar
(deleted)
ndsd 3151 root 368r REG 8,3 46367
68644632
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/jsr311-api-1.1.1.jar
(deleted)
ndsd 3151 root 369r REG 8,3 134133
68644633
/tmp/Jetty_10_10_85_1_7707_msgw_web.war____s012y9/webapp/WEB-INF/lib/servlet-api-2.5-20081211.jar
(deleted)



Thanks.

Yi


+----------------------------------------------------------------------+
|Filename: qamsgdriver.zip |
|Download: https://forums.netiq.com/attachment.php?attachmentid=99 |
+----------------------------------------------------------------------+

--
yruan
------------------------------------------------------------------------
yruan's Profile: https://forums.netiq.com/member.php?userid=491
View this thread: https://forums.netiq.com/showthread.php?t=49208