The ping to localhost works, but the tibemsadmin tool fails to connect with localhost.

The ping to localhost works, but the tibemsadmin tool fails to connect with localhost.

book

Article ID: KB0082428

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Description:
On a Linux machine, the /etc/hosts has the following entry:

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4

The ping to localhost works, but the tibemsadmin tool fails to connect with localhost.

Issue/Introduction

The ping to localhost works, but the tibemsadmin tool fails to connect with localhost.

Environment

Linux

Resolution

From EMS 6.3 onwards, EMS supports IPv6. KB 43287 explains why the connection fails. This KB addresses how to workaround on Linux machines to disable the IPv6 in the Linux Kernel and make the tibemsadmin tool connect to localhost.

To resolve the problem:

1. Edit /etc/sysctl.conf

Change:

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

To:

net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
If the above entry is not in /etc/sysctl.conf, then create one.


2. Restart network service: #/sbin/service network restart

3. Restart the EMS server.

4. Connect with the tibemsadmin tool.