Project

General

Profile

Actions

Task #4237

closed

smartgears refuses to start if the local IP and hostname aren't in /etc/hosts

Added by Andrea Dell'Amico about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Application
Target version:
Start date:
Jun 13, 2016
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Production

Description

When configuring the two smartgears nodes for the smartarea applications (see #4051 and #4052) I discovered that smartgears refuses to start if the local IP address isn't listed in /etc/hosts and the hostname isn't resolved by a DNS query.

I had to add the private IP and the hostname to /etc/hosts to make smartgears happy.
Is this the expected behaviour? If so, we'll need to manage /etc/hosts if the system don't do that for us.

Actions #1

Updated by Andrea Dell'Amico about 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

We found that the hostname needs to be resolved by the dns, or the host listed in /etc/hosts.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)