SAP Knowledge Base Article - Preview

3468488 - Planned failover with saphostctrl failed with 'Host available failed for query' -SAP SRS


  • Planled failover with saphostctrl command failed with error below:
    Primary: Site1
    Standby: site2

    saphostctrl -user sapadm <sapadm_passwd> -function LiveDatabaseUpdate -dbname <SID> -dbtype syb -updatemethod Execute -updateoption TASK=FAILOVER -updateoption -updateoption FAILOVER_TIME=60

    Error: Command execution failed. : Host available failed for query: sap_host_available Site2. (fault code: 127)

    ----- Log messages ----
    Info: saphostcontrol: Executing LiveDatabaseUpdate
    Error: sapdbctrl: Host available failed for query: sap_host_available Site2.
    Error: saphostcontrol: LiveDatabaseUpdate failed (sapdbctrl exit code = 1)    

  • Checking the sap_status path, it shows that replication status remains same as before and failover was not happened.



  • SAP Adaptive Server Enterprise (ASE) 16.0 for Business Suite
  • SAP NetWeaver (NW) - All versions
  • High Availability Disaster Recovery (HADR)
  • SAP Replication Server (SRS) 16.0


SAP Replication Server 16.0


HADR, failover, saphostctrl, sap_host_available, 127, fault code, LiveDatabaseUpdate,  , KBA , BC-SYB-REP-SAP , Replication with SAP Suite / SAP BW , Problem

About this page

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

Search for additional results

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