Informix - Problem description
Problem IT11530 | Status: Closed |
LISTENER THREAD MAY NOT BE ABLE TO BIND TO PORT WHEN USING IPV6 ADDRESSES | |
product: | |
INFORMIX SERVER / 5725A3900 / C10 - IDS 12.10 | |
Problem description: | |
The listener thread may receive an OS error when trying to bind the port with an IPv6 address. This results in an AF similar to: Assert Warning: Unable to bind to the port (18105) on the host () for the server (server1). Stack for thread: 11 soctcplst (oninit) afstack (oninit) afhandler (oninit) afwarn_interface (oninit) listen_af_alarm (oninit) lisnsocket (oninit) tlListen (oninit) slSQIlisten (oninit) pfListen (oninit) cmListen (oninit) alListen (oninit) ASF_Call (oninit) sql_listener This may occur when using a specific IPv6 address other than the loopback address ::1. This problem may occur on releases of Linux where the option "myhostname" is permitted for the hosts entry in /etc/nsswitch.conf. The presence of this entry avoids the need to enter the host's specific IP address into /etc/hosts and will result in an IPv6 address being used by the listener thread if IPv6 has been configured for at least one network interface. Red Hat 7 is one such OS version where this option is available. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * informix user with IPv6 enabled * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to IBM Informix Server 12.10.xC6 * **************************************************************** | |
Local Fix: | |
The workaround is to allow the bind operation to use any of the available IPv6 addresses on the server by prefixing the hostname or address in column 3 of the sqlhosts file with an asterix "*". Alternatively if IPv6 is not required it may be disabled by setting the environment variable IFX_DISABLE_IPV6 or creating the empty file $INFORMIXDIR/etc/IFX_DISABLE_IPV6. | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 01.10.2015 30.12.2015 30.12.2015 |
Problem solved at the following versions (IBM BugInfos) | |
12.10.xC6 | |
Problem solved according to the fixlist(s) of the following version(s) | |
12.10.xC6 |