Troubleshooting
Problem
After installing IBM IoT MessageSight server component you cannot reach the AdminEndpoint and the below errors are seen in the logs:
imaserver ismutil.c:1700: Create thread AdminIOP: [TCP IO Processor] handle=0x7fbc517e2700 data=0x57c4e70 context=(nil) value=0 affinity=0xf priority=0
imaserver ssl.c:1444: Create TLS context for: endpoint=AdminEndpoint profileName=AdminDefaultSecProfile methodName=TLSv1.2 ciphers=AES128-GCM-SHA256:AES128:AESGCM:HIGH:!MD5:!SRP:!aNULL certFile=AdminDefaultCert.pem keyFile=AdminDefaultKey.pem isServer=1 sslopt=20972543 useClientCert=0
imaserver tcp.c:360: Set error " Unable to create the endpoint socket." (156)
imaserver CWLNA1102 E: Unable to start TCP endpoint: Endpoint="AdminEndpoint" Port=9089 Error="Unable to create the endpoint socket." RC=156 TcpError="Address family not supported by protocol" Errno=97.
imaserver tcp.c:360: Set error "Unable to create the endpoint socket." (156)
imaserver pluginAdmin.c:824: Start plug-in protocol: pluginTerminated=1
imaserver CWLNA1102 E: Unable to start TCP endpoint: Endpoint="!MQConnectivityEndpoint" Port=9081 Error="Unable to create the endpoint socket." RC=156 TcpError="Address family not supported by protocol" Errno=97.
Symptom
This is happening if IPv6 kernel module(s) are disabled or not being loaded in the kernel.
Cause
ipv6.disable=1 parameter is added in /etc/default/grub and IPv6 module cannot be loaded in kernel from the beginning
Diagnosing The Problem
Look error messages as below:
CWLNA1102 E: Unable to start TCP endpoint: Endpoint="!MQConnectivityEndpoint" Port=9081 Error="Unable to create the endpoint socket." RC=156 TcpError="Address family not supported by protocol" Errno=97.
Resolving The Problem
1) On your /etc/default/grub file you might have a similar line:
GRUB_CMDLINE_LINUX="nofb splash=quiet crashkernel=auto root.lvm.lv=rootvg/rootlv rd.lvm.lv=rootvg/swaplv rhgb quiet ipv6.disable=1 audit=1"
change it to:
GRUB_CMDLINE_LINUX="nofb splash=quiet crashkernel=auto root.lvm.lv=rootvg/rootlv rd.lvm.lv=rootvg/swaplv rhgb quiet audit=1"
Note: ipv6.disable=1 parameter was removed from the first line
2) Save changes
3) Run the below command to regenerate the grub file:
grub2-mkconfig -o /boot/grub2/grub.cfg
Note: If you run on UEFI the execute:
grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
4) Reboot the system and check if issue persist.
Was this topic helpful?
Document Information
Modified date:
04 February 2019
UID
ibm10793401