Help Center/ SAP Cloud/ Best Practices/ HUAWEI CLOUD SAP Business One on HANA Installation Best Practice/ FAQs/ What Should I Do If a SAP Application on an ECS Cannot Be Started?
Updated on 2023-05-29 GMT+08:00

What Should I Do If a SAP Application on an ECS Cannot Be Started?

Symptom

The /etc/hosts file contains "127.0.0.1 host name host name". As a result, the SAP application installed on the ECS cannot be started. You need to log in to the ECS where the SAP application is deployed to modify the configurations.

You only need to perform this operation on the ECS where the SAP application software is deployed.

Procedure

  1. Log in to the ECS where the SAP application software is deployed as user root.
  2. Comment out manage_etc_hosts: localhost in the configuration file.

    1. Run the following command to open the Cloud-Init configuration file /etc/cloud/cloud.cfg:

      vi /etc/cloud/cloud.cfg

    2. Comment out manage_etc_hosts: localhost in the configuration file and save the modification.

      Example: #manage_etc_hosts: localhost

  3. Delete "127.0.0.1 host name host name" from the /etc/hosts file.

    1. Run the following command to open the /etc/hosts file:

      vi /etc/hosts

    2. Delete "127.0.0.1 host name host name" from the /etc/hosts file and save the modification.

  4. Restart the SAP application on the ECS where the SAP application has been installed. If the SAP application has not been installed on the ECS, perform the preceding operations and install the SAP software.