IP complaints from Resin on Red Hat Linux

IP complaints from Resin on Red Hat Linux

book

Article ID: KB0085730

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
Red Hat Linux does not, by default, add the correct IP address to your /etc/hosts file, which Resin reads as part of its initialization. If you've correctly configured your network interface and you get a message like:

    01/07/04 16:54:27.214 Info: MiscUtils says InetAddress is returning 127.0.0.1 as the local IP address. We will try to obtain an alternate address later, but if no alternate address is available the system may not function.

when you run server.sh, ensure that your /etc/hosts file looks like:

127.0.0.1               localhost.localdomain
w.x.y.z                 myhost.mydomain

where w.x.y.z is the real IP address (perhaps as reported by a utility such as ifconfig) for the host myhost.mydomain. After editing /etc/hosts, replace your the conf/resin.conf file in your install directory with a clean copy from the installation package before running server.sh again.

Issue/Introduction

IP complaints from Resin on Red Hat Linux