SAP Knowledge Base Article - Preview

2754218 - setuphadr failed with error: logical hostname 'Site2' is not valid - SRS HADR


  • setuphadr fails on Companion node with message "The logical hostname 'Site2' is not valid" when executing the sap_pre_setup_check command:

(SQL command) sap_pre_setup_check dr, Site1, Site2
------------ -------- ------------------------------------------
host_prim_nameDR Agent The logical hostname 'Site2' is not valid.
Error: Setup RMA...Fail

  • RMA error log shows the following messages:

[INFO ] [Thread-xxxx:xxxx][RMA] - [SetHost ] - Task Set Host - Action - Submitting the design changes for local host 'Site2' for server on host 'host_comp_name'.
Description: Unable to connect to host host_comp_name:4909

Caused by: : A connection to the Agent Container at host_comp_name:4909 could not be established due to an error: A connection to the Agent Container at host_comp_name:4909 could not be established because the RMI connection could not be made using service:jmx:rmi:///jndi/rmi://host_comp_name:7000/rsng or service:jmx:rmi:///jndi/rmi://host_comp_name:7000/rsng

  • Network connection to/from Primary and companion hosts show no signs of any issues. Ping ran successfully.

  • All RMA ports show as LISTENING on both machines from netstat -a output.



  • SAP Adaptive Server Enterprise (ASE) HADR 16.0 SP03 PL04
  • SAP Replication Server (SRS) 16.0 SP03 PL04
  • Linux Red Hat 7.5


SAP Adaptive Server Enterprise 16.0 ; SAP Replication Server 16.0


HADR, SYBASE, CR818403. CR#818403, 818403, host not valid, , KBA , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , BC-SYB-REP , Sybase Replication Server (standalone) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.