Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
VBhati1598264183
Contributor
Contributor

ERROR TalendJobServer - Address already in use for mq port : 8556

Hello Talend Team,

We are facing issues while running job on TAC - error FATAL error - can't connect to server

After checking the job log server file(Attached). Error found below

2020-12-30 16:37:22,078 INFO TalendJobServerMain - Starting the Talend Job server agent

2020-12-30 16:37:22,079 INFO TalendJobServerMain - 

!!--------------------------------------------------------------------------------------------------!!

!!                                                 !!

!!                   Talend Job server agent                   !!

!!           Version: 7.1.1 Compatible with versions: 6.0.1, 6.1.1           !!

!!                                                 !!

!!--------------------------------------------------------------------------------------------------!!

2020-12-30 16:37:22,079 INFO TalendJobServerMain - job server version while starting alone: 7.1.1

2020-12-30 16:37:22,143 ERROR TalendJobServer - Address already in use for mq port : 8556

java.net.BindException: Address already in use for mq port : 8556

at org.talend.remote.jobserver.server.publisher.ProcessExecutionPublisher.createPublisher(ProcessExecutionPublisher.java:147)

at org.talend.remote.jobserver.server.publisher.ProcessExecutionPublisher.start(ProcessExecutionPublisher.java:122)

at org.talend.remote.jobserver.server.TalendJobServer.startStatsLogsMQServer(TalendJobServer.java:332)

at org.talend.remote.jobserver.server.TalendJobServer.startOnly(TalendJobServer.java:190)

at org.talend.remote.jobserver.server.TalendJobServer.start(TalendJobServer.java:201)

at org.talend.remote.jobserver.server.TalendJobServerMain.main(TalendJobServerMain.java:61)

2020-12-30 16:37:22,147 ERROR TalendJobServer - >>> JobServer can't be started, see errors above...

2020-12-30 16:37:22,147 INFO TalendJobServer - Shutting down the Talend Job server agent...

2020-12-30 16:37:22,148 INFO ProcessExecutionPublisher - Stopping Publisher

2020-12-30 16:37:22,153 INFO TalendJobServer - Please wait a few seconds...

2020-12-30 16:38:26,471 WARN CommandServerSocket - Exception when trying to run job 20201230_163821_nLZZp (jb_error_001_interface_monitoring): Cannot run program "java" (in directory "/opt/app/talend/talend-7.1/jobserver/agent/./TalendJobServersFiles/repository/MS_CS_TSVS_ETL_jb_error_001_interface_monitoring_20201230_163821_nLZZp/jb_error_001_interface_monitoring"): error=2, No such file or directory

2020-12-30 16:38:26,473 ERROR MultiSocketServer - org.talend.remote.commons.exception.ClientServerException: java.io.IOException: Cannot run program "java" (in directory "/opt/app/talend/talend-7.1/jobserver/agent/./TalendJobServersFiles/repository/MS_CS_TSVS_ETL_jb_error_001_interface_monitoring_20201230_163821_nLZZp/jb_error_001_interface_monitoring"): error=2, No such file or directory

org.talend.remote.commons.exception.ClientServerException: org.talend.remote.commons.exception.ClientServerException: java.io.IOException: Cannot run program "java" (in directory "/opt/app/talend/talend-7.1/jobserver/agent/./TalendJobServersFiles/repository/MS_CS_TSVS_ETL_jb_error_001_interface_monitoring_20201230_163821_nLZZp/jb_error_001_interface_monitoring"): error=2, No such file or directory

at org.talend.remote.server.AbstractObjectServerSocket.readInputStream(AbstractObjectServerSocket.java:109)

at org.talend.remote.server.AbstractServerSocket.startReadInputStreamLoop(AbstractServerSocket.java:51)

at org.talend.remote.server.AbstractServerSocket.start(AbstractServerSocket.java:40)

at org.talend.remote.server.MultiSocketServer$3.run(MultiSocketServer.java:300)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

Labels (3)
1 Reply
RVP1
Employee
Employee

@Vanshika Bhati​ The error usually means that the port you are trying to open is being already used by another application. Try using netstat to see which ports are open and then use an available port.

 

Also check if you are binding to the right IP address. I assume it would be localhost.

 

> Check if an application is using your port 8556. If that application or process is another important one then you might want to use another port which is not used by any process/application.

 

Anyway you can stop the process which uses your port and let your application take it.

 

Command "netstat -tulpn" will enable one to find the process ID of that is using a particular port.

 

If it is linux environment try the below commands

 

Use netstat -tulpn to display the processes

kill <pid> This will terminate the process

 

If it is windows environment try the below command on cmd prompt

 

Use netstat -a -o -n to check for the port usages

Use taskkill /F /PID <pid> to kill that process

 

Please let me know how it goes. Thanks!