Actions
Task #4237
closedsmartgears refuses to start if the local IP and hostname aren't in /etc/hosts
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.
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