AlwaysOn listener creation failed

Asharaf Pattarathil 0 Reputation points
2025-02-18T00:29:05.64+00:00

Hi,

I have a cluster span across multiple subnets. When I try to add listener (two IPs from different subnet), I get the below error.

I verified if the IP address going to use for listener configuration already in use, confirmed it is not in use.

Can some help me on this?

The Windows Server Failover Clustering (WSFC) resource control API returned error code 5057. If this is a WSFC availability group, the WSFC service may not be running or may not be accessible in its current state, or the specified arguments are invalid. Otherwise, contact your primary support provider. For information about this error code, see "System Error Codes" in the Windows Development documentation.

The attempt to create the network name and IP address for the listener failed. If this is a WSFC availability group, the WSFC service may not be running or may be inaccessible in its current state, or the values provided for the network name and IP address may be incorrect. Check the state of the WSFC cluster and validate the network name and IP address with the network administrator. Otherwise, contact your primary support provider.

The attempt to create the network name and IP address for the listener failed. If this is `a WSFC availability group, the WSFC service may not be running or may be inaccessible in its current state, or the values provided for the network name and IP address may be incorrect. Check the state of the WSFC cluster and validate the network name and IP address with the network administrator. Otherwise, contact your primary support provider. (Microsoft SQL Server, Error: 41009).

Thanks,

Ashru

Windows for business | Windows Server | User experience | Other
SQL Server | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vrushali Gil 0 Reputation points
    2025-09-23T08:58:41.2833333+00:00

    Try using different IP addresses that is not mentioned in Azure Network Interface(NIC). And also make sure they are not used anywhere using this powershell command - Test-Connection <YourIPAddress> -count 2. This command output should be negative.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.