61805: Acronis Backup Cloud: Manual registration fails with "Couldn't connect to host at localhost:43234" on Linux

use Google Translate

Operating Systems: 

This article applies to:

  • Acronis Backup Cloud
  • Acronis Backup 12.5 - Cloud Deployment

Symptoms

You faced an issue with the registration of the Agent during the automatic installation and try to use the instruction from the article 55244:Acronis Backup Cloud: Registering Backup Client Manually

The RegisterAgent tool gives you an error:

[root@CGJC012 RegisterAgentTool]# ./RegisterAgent -o register -t cloud -a https://cloud.acronis.com -u username -p password
Error 0x2470001: HTTP transfer error
| line: 0xcbd08862963188d2
| file: e:/271/enterprise/common/http/curl_transport.cpp:285
| function: PerformRequest
| requestType: POST
| uri: http://localhost/api/mms/registration
| port: 0xa8e2
| curlResult: 0x7
| $module: register_agent_lxa64_10790
|
| error 0x2260007: couldn't connect to host at localhost:43234
| line: 0xcbd08862963188d1
| file: e:/271/enterprise/common/http/curl_transport.cpp:284
| function: PerformRequest
| $module: register_agent_lxa64_10790

OR in Linux

The registration failed due to a problem on the Management Server. Either the backup service on this machine could not access the Management Server or the server returned an error response. Please make sure that the Management Server is accessible through the network and try again.

After you have received such error you have checked the points below:

1) Verify that the Acronis MMS and Agent are running:

service acronis_mms status

service acronis_agent status

2) Check that no crash event were registered in /var/log/messages for MMS/Agent.

 

3) Check that firewalld is stopped or there are no rules to block the port 43234

service firewalld status

4) Check if the port 43234 is not used by other processes

netstat -tulnp | grep 43234

5) Try to ping localhost and see if it succeeds.

 

If all the above points were checked, please try troubleshooting the localhost connection. Run the following commands:

telnet localhost 43234

telnet 127.0.0.1 43234

If the telnet connection to localhost is reported as refused, but the telnet connection on IP address is working -  the RegisterAgent tool will fail with the above error.

Solution

To resolve the issue please modify the /etc/hosts file to resolve the localhost to 127.0.0.1 address to resolve the issue.

Example:

$ vi /etc/hosts

127.0.0.1 localhost

After the change the file may look like below:

$ cat /etc/hosts

::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

127.0.0.1 localhost

You are reporting a typo in the following text:
Simply click the "Send typo report" button to complete the report. You can also include a comment.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
3 + 9 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.