KBEA-00084 - ecagent.log contains "Failed to initialize the curl handle" messages and agents cannot connect to the CM

Article ID:360033190211
1 minute readKnowledge base

Summary

After Windows Server 2003 SP2 agents launch, they cannot connect to the target Cluster Manager. In ecagent.log there are a few "Failed to initialize the curl handle" messages. The curl executable also quits with exit code "2" in the command line.

This issue has been encountered by a few customers using non-English Windows Server 2003 SP2. The problem stems from the init_by_resolv_conf function in the curl library, which attempts to read the DNS name server in certain locations from the registry. The DNS settings on the failing machine is custom but empty (empty IP address), which makes the value in the registry empty as well, thus causing the function to fail.

Solution

Enter the correct DNS server IP address in the TCP/IP protocol properties under the network settings.

Applies to

  • Product versions: 4.x, 5.x

  • OS versions: Windows Server 2003 SP2