IBM Support

PSLogger reports java.net.BindException: Address already in use: bind when enabling FTP server *|* -66F75C491A734DCA85257

Question & Answer


Question

PSLogger reports java.net.BindException: Address already in use: bind when enabling FTP server *|* -66F75C491A734DCA85257918007E386A- *|*

Answer

Technote (troubleshooting)


Problem(Abstract)

PSLogger reports java.net.BindException: Address already in use: bind when enabling FTP server

Symptom

Gentran Integration Suite 4.1 patch 1984.

Two nodes in the cluster.? Two hosts with four perimeter servers.?? Two perimeter severs for each node in cluster.?? The services on the second node of the cluster can be enabled but later become disabled.??

When attempting to enable the services the PS Logger reports an error unable to bind the port.??

The perimeter server has one Network Interface Card.?? This card is bound to two IP Addresses.?? The InstallPS.cmd for each perimeter server has coded:

rem ** The network interface this Perimeter Server will use to communicate with
rem ** trading partners.
set EXTERNAL_INTERFACE=0.0.0.0

Each?Perimeter server is attempting to activate services?on all interfaces.??

Error Message

Services show disabled in the Services Configuration panels.?

Perimeter Server PS Logger Log shows:

[2008-02-23 11:24:26.29] ERROR <Dispatcher> 000000000000 GLOBAL_SCOPE ServerIPAgent[InetSocketAddress-host:/0.0.0.0-port:21].listen() - exception
java.net.BindException: Address already in use: bind
?at sun.nio.ch.Net.bind(Native Method)
?at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
?at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
?at com.sterlingcommerce.perimeter.net.nio.ServerSocketChannelWrapper.bind(ServerSocketChannelWrapper.java:158)
?at com.sterlingcommerce.perimeter.dispatcher.ServerIPAgent.listen(ServerIPAgent.java:77)
?at com.sterlingcommerce.perimeter.physical.ServerBase$1.run(ServerBase.java:97)
?at com.sterlingcommerce.perimeter.api.scheduler.TaskNode.run(TaskNode.java:62)
?at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher.runTasks(AbstractDispatcher.java:440)
?at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher.doRun(AbstractDispatcher.java:405)
?at com.sterlingcommerce.perimeter.dispatcher.AbstractDispatcher$2.run(AbstractDispatcher.java:182)
?at java.lang.Thread.run(Unknown Source)
[2008-02-23 11:24:26.305] ERROR <Dispatcher> 000000000000 GLOBAL_SCOPE Bind failed for bind with id# 13480


Resolving the problem

Solution

Change the InstallPS.cmd for each perimeter server to point to the actual external IP Address.? For example:

rem ** The network interface this Perimeter Server will use to communicate with
rem ** trading partners.
set EXTERNAL_INTERFACE=172.25.254.15

Cycle GIS after updating the perimeter servers.??

The change?will direct the perimeter server to activate the service on only one IP Address.?

Cross reference information
SegmentProductComponentPlatformVersionEdition
CommerceSterling B2B IntegratorAdapters

Historical Number

TRB2776

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 October 2021

UID

ibm10765821