Messages "can't create socket: Address family not supported by protocol" In Node Manager Trace File (Doc ID 2067730.1)

Last updated on AUGUST 18, 2016

Applies to:

Oracle API Gateway - Version 11.1.2 and later
Information in this document applies to any platform.

Symptoms

Oracle API Gateway (OAG) 11.1.2.2.x or 11.1.2.3.0.
The problem can Show up on both Linux and Solaris.


When OAG Manager is used, many
"can't create socket: Address family not supported by protocol"
errors show up in the Node Manager trace file, like this:

ERROR   10/Jul/2015:10:39:05.349 [24104700]     can't create socket: Address family not supported by protocol
ERROR   10/Jul/2015:10:39:05.388 [ee31700]     can't create socket: Address family not supported by protocol
ERROR   10/Jul/2015:10:39:05.397 [fb3e700]     can't create socket: Address family not supported by protocol

When the problem occurs, there typically are 6-12 such messages in the Node Manager trace file approximately every 20 seconds.



The problem shows up only in certain incomplete network configurations, such as

The main point is an IPv6 style localhost entry being there even with IPv6 disabled.

Changes

The problem shows up only when "getent hosts" returns a ::1 entry for localhost, but IPv6 is actually not working.

The problem may also show up if /etc/hosts is set up correctly, but DNS is configured as a naming service, and gives a ::1 entry for localhost.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms