From version < 103.1 >
edited by Jonathan Rubiero
on 2018/05/25 13:11
To version < 104.1 >
edited by Jonathan Rubiero
on 2018/05/25 13:31
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -462,8 +462,42 @@
462 462  
463 463  ==== Ports opening ====
464 464  
465 -It may be possible that the agent does not start because the port it tries to use is currently closed on your system. In that case, agent
465 +It may be possible that the agent does not start because for few reasons :
466 466  
467 +* on the controller host, the **CONTROLLER_GRID_PORT **does not accept incoming connection
468 +* on the agent host, the **CONTROLLER_GRID_POR**T port does not accept outgoing connection
469 +
470 +In any case, the agent log will display the following error message :
471 +
472 +(% class="box" %)
473 +(((
474 +2018-05-25 15:10:52,362 ERROR [Timer-0] s.g.a.RegistrationClient [RegistrationClient.java:74] while registering tokens to **http:~/~/CONTROLLER_HOST:CONTROLLER_GRID_PORT**
475 +javax.ws.rs.ProcessingException: java.net.SocketTimeoutException: connect timed out
476 +)))
477 +
478 +In order to fix that issue, you need to :
479 +
480 +* make sure that no other process already use the **CONTROLLER_GRID_PORT **on the machines
481 +* open the machines firewall. For this, you can open a command prompt and execute the following command :
482 +** On the controller host
483 +*** (% class="box" %)
484 +(((
485 +Windows : netsh advfirewall firewall add rule name="**CONTROLLER_GRID_PORT**" dir=**in** action=**allow** protocol=**TCP** localport=**CONTROLLER_GRID_PORT**
486 +)))
487 +*** (% class="box" %)
488 +(((
489 +Linux : iptables -A **INPUT** -p **tcp** ~-~-dport **CONTROLLER_GRID_PORT** -s **CONTROLLER_HOST** -j **ACCEPT**
490 +)))
491 +** On the agent host :
492 +*** (% class="box" %)
493 +(((
494 +Windows : netsh advfirewall firewall add rule name="**AGENT_PORT**" dir=**out** action=**allow** protocol=**TCP** localport=**CONTROLLER_GRID_PORT**
495 +)))
496 +*** (% class="box" %)
497 +(((
498 +Linux : iptables -A OUTPUT -p** tcp** ~-~-sport **AGENT_PORT** -j ACCEPT
499 +)))
500 +
467 467  = Backup =
468 468  
469 469  ----
Copyright © exense GmbH
v1.0