When IDM server 4.02 tries to connect to the RL (version 4.02a) on
Redhat 5.7, I get " tcp_listen_ex: socket bind error, errno=98" error
message when I set RL trace level to 10 (for debug). I get this message
whether or not I use SSL between IDM engine and RL.

Google tells me ((http://tinyurl.com/kj9vyh3) "socket bind error,
errno=98" may indicates "Address already in used". Can anyone confirm
that this error code does indicate "Address already in used" ?

This is my first post in this forum. Bear with me if I do not follow the
rule of the forum properly. Below is related configuration file and log
files.

Henry

1) /etc/nxdrvd.conf ( I use non-SSL for this test)
-tracefile /usr/local/nxdrv/logs/trace.log
-trace 10
#-connection "ca=/usr/local/nxdrv/keys/ca.pem port=8090"
-httpport 8091
-path /usr/local/nxdrv/
------------------------------------------------------------------------------------------------------------------
2) RL trace file
......
2013-10-31 10:05:19 [6654@4280561760]: (trace) Waiting for DirXML to
connect on 'TCP server socket, port 8090, address localhost'...
2013-10-31 10:05:19 [6654@4280561760]: (server)
server_start_service_tasks: starting Remote Loader Listener
2013-10-31 10:05:19 [6654@4280561760]: (server) server_start_task:
name=Remote Loader Listener
2013-10-31 10:05:19 [6654@4280561760]: (os_pthread)
os_start_task_group: name=Remote Loader Listener
2013-10-31 10:05:19 [6654@4280561760]: (pthread) pthread_start_task:
name=Remote Loader Listener
2013-10-31 10:05:19 [6654@4280561760]: (pthread) pthread_start_task:
new task id=1075210560
2013-10-31 10:05:19 [6654@4280561760]: (server)
server_start_service_tasks: starting LoopBack Timestamp Task
2013-10-31 10:05:19 [6654@4280561760]: (server) server_start_task:
name=LoopBack Timestamp Task
2013-10-31 10:05:19 [6654@4280561760]: (os_pthread)
os_start_task_group: name=LoopBack Timestamp Task
2013-10-31 10:05:19 [6654@4280561760]: (pthread) pthread_start_task:
name=LoopBack Timestamp Task
2013-10-31 10:05:19 [6654@4280561760]: (pthread) pthread_start_task:
new task id=1095657792
2013-10-31 10:05:19 [6654@4280561760]: (server)
server_start_service_tasks: starting Remote Loader HTTP Listener
2013-10-31 10:05:19 [6654@4280561760]: (server) server_start_task:
name=Remote Loader HTTP Listener
2013-10-31 10:05:19 [6654@4280561760]: (os_pthread)
os_start_task_group: name=Remote Loader HTTP Listener
2013-10-31 10:05:19 [6654@4280561760]: (pthread) pthread_start_task:
name=Remote Loader HTTP Listener
2013-10-31 10:05:19 [6654@4280561760]: (pthread) pthread_start_task:
new task id=1103624512
2013-10-31 10:05:19 [6654@1075210560]: (listener_execute_ssl)
listener_execute: starting Remote Loader Listener on port 8090
2013-10-31 10:05:19 [6654@1075210560]: (listener_execute_ssl)
listener_execute: flags=128
2013-10-31 10:05:19 [6654@1075210560]: (listener_execute_ssl)
listener_execute: creating tcpip object
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip)
network_connection_tcpip_create: starting
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip)
network_connection_tcpip_create: ending
2013-10-31 10:05:19 [6654@1075210560]: (listener)
listener_get_connection: starting
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_init:
starting
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_init:
ending
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip)
tcp_valid_socket: invalid socket number=-1
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_listen:
starting
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_listen:
ending
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_listen_ex:
starting
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_listen_ex:
socket bind error, errno=98
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_close:
starting
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_close:
socket closed, socket=6
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_close:
ending
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_get_socket:
starting
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip) tcp_get_socket:
ending
2013-10-31 10:05:19 [6654@1075210560]: (listener)
listener_get_connection: socket=-1
2013-10-31 10:05:19 [6654@1075210560]: (network_tcpip)
tcp_valid_socket: invalid socket number=-1
2013-10-31 10:05:19 [6654@1075210560]: (listener)
listener_get_connection: invalid connection, errno=98
2013-10-31 10:05:19 [6654@1095657792]: (drv_loopback)
LoopBack_timeStampTask: init successful
2013-10-31 10:05:19 [6654@1095657792]: (drv_loopback)
LoopBack_readTimeStampFile: no timestamp file available
-------------

3) the driver's iMonitor trace file (trace level 3)
.......
[10/31/13 10:04:32.768]:PL-MBANK01-AP :Reading XML attribute
vnd.nds.stream://XXX-TREE/system/driverset1/PL-MBANK01-AP#DirXML-PersistentData.
[10/31/13 10:04:32.770]:PL-MBANK01-AP :Loaded persistent data
[10/31/13 10:04:32.770]:PL-MBANK01-AP :
<persistent-data>
<op-counters last-reset-time="1380610773681">
<subscriber/>
<publisher>
<counters index="0">
<status>54907</status>
<query>30</query>
<check-password><!-- content suppressed --></check-password>
</counters>
<counters index="1">
<status>54907</status>
<query>30</query>
<check-password><!-- content suppressed --></check-password>
</counters>
<counters index="2">
<status>54907</status>
<query>30</query>
<check-password><!-- content suppressed --></check-password>
</counters>
<counters index="3">
<status>54907</status>
<query>30</query>
<check-password><!-- content suppressed --></check-password>
</counters>
<counters index="4">
<status>54967</status>
<instance>30</instance>
</counters>
</publisher>
</op-counters>
</persistent-data>
[10/31/13 10:04:32.782]:PL-MBANK01-AP :Found subscriber
system\driverset1\PL-MBANK01-AP\Subscriber.
[10/31/13 10:04:32.790]:PL-MBANK01-AP :Found publisher
system\driverset1\PL-MBANK01-AP\Publisher.
[10/31/13 10:04:32.791]:PL-MBANK01-AP :Creating subscriber thread.
[10/31/13 10:04:32.792]:PL-MBANK01-AP ST:Subscriber thread starting.
[10/31/13 10:04:32.819]:PL-MBANK01-AP ST:Initializing driver shim.
[10/31/13 10:04:32.819]:PL-MBANK01-AP ST:Reading XML attribute
vnd.nds.stream://XXX-TREE/system/driverset1/PL-MBANK01-AP#DirXML-ConfigManifest.
[10/31/13 10:04:32.821]:PL-MBANK01-AP ST:Reading driver information from
the \XXX-TREE\system\driverset1\PL-MBANK01-AP object.
[10/31/13 10:04:32.821]:PL-MBANK01-AP ST:Loading Java shim
com.novell.nds.dirxml.remote.driver.DriverShimImpl .
[10/31/13 10:04:32.822]:PL-MBANK01-AP ST:Calling
DriverShim.getSchema().
[10/31/13 10:04:32.828]:PL-MBANK01-AP ST:Reading XML attribute
vnd.nds.stream://XXX-TREE/system/driverset1/PL-MBANK01-AP#DirXML-ShimConfigInfo.
[10/31/13 10:04:32.830]:PL-MBANK01-AP ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<init-params
src-dn="\FCB-IDM-TREE\system\driverset1\PL-MBANK01-AP">
<authentication-info>
<server>REMOTE(hostname=X.X.X.X port=8090 )</server>
<password><!-- content suppressed --></password>
</authentication-info>
<driver-options>
<database-type display-name="Database
Type:">files</database-type>
<auto-loopback-detection display-name="Automatic Loopback
Detection:">true</auto-loopback-detection>
</driver-options>
<subscriber-options>
<remove-home-directories display-name="Remove Home
Directories:">true</remove-home-directories>
<create-home-directories display-name="Create Home
Directories:">true</create-home-directories>
<move-home-directories display-name="Move Home
Directories:">false</move-home-directories>
<allow-duplicate-uid display-name="Allow Duplicate User
UIDs">false</allow-duplicate-uid>
<allow-duplicate-gid display-name="Allow Duplicate Group
GIDs">false</allow-duplicate-gid>
</subscriber-options>
<publisher-options>
<pub-polling-interval display-name="Polling Interval
(Seconds):">60</pub-polling-interval>
<pub-heartbeat-interval display-name="Heartbeat
Interval">0</pub-heartbeat-interval>
<pub-disabled display-name="Publisher
Disabled">false</pub-disabled>
</publisher-options>
</init-params>
</input>
</nds>
[10/31/13 10:04:32.836]:PL-MBANK01-AP ST:Remote Interface Driver: start
getSchema()
[10/31/13 10:04:32.836]:PL-MBANK01-AP ST:Remote Interface Driver:
Opening connection...
[10/31/13 10:04:32.837]:PL-MBANK01-AP ST:Remote Interface Driver:
Connection established...
[10/31/13 10:04:32.838]:PL-MBANK01-AP ST:Remote Interface Driver:
Sending...
[10/31/13 10:04:32.838]:PL-MBANK01-AP :Remote Interface Driver: Waiting
for receive...
[10/31/13 10:04:32.838]:PL-MBANK01-AP ST:
<handshake version="1.0">
<password><!-- content suppressed --></password>
</handshake>
[10/31/13 10:04:32.839]:PL-MBANK01-AP :Remote Interface Driver:
Exception in Connection.run(): java.lang.NegativeArraySizeException
java.lang.NegativeArraySizeException
at
com.novell.nds.dirxml.remote.ReadAheadInputStream. <init>(ReceiveDocumentHandler.java:493)
at
com.novell.nds.dirxml.remote.ReadAheadInputStream. <init>(ReceiveDocumentHandler.java:477)
at
com.novell.nds.dirxml.remote.ReceiveDocumentHandle r.parse(ReceiveDocumentHandler.java:225)
at
com.novell.nds.dirxml.remote.Connection.receive(Co nnection.java:1120)
at com.novell.nds.dirxml.remote.Connection.run(Connec tion.java:835)
at java.lang.Thread.run(Thread.java:662)


--
henry_cihuang
------------------------------------------------------------------------
henry_cihuang's Profile: https://forums.netiq.com/member.php?userid=432
View this thread: https://forums.netiq.com/showthread.php?t=49119