Open topic with navigation
Broker fails to start with
"Cannot resolve local host".
If networking is not correctly configured while Java is running on Linux, the NuoDB broker will fail to start. NuoDB generates an error message like the following if the NuoDB broker fails to start:
SEVERE: Failed to start up java.lang.IllegalStateException: Cannot resolve local host, cause: c117.test.nuodb.com: Name or service not known.
To resolve this situation, add a mapping from localhost to the hostname in the
agent.logfile and and look for the
SEVERE: Failed to start upsection to confirm that the startup failure is due to network configuration.
Manually edit your
/etc/hosts file to add an entry for the name of your host. For example, the first line often looks something like this:
If the name of your host is
my-host then change the line to this:
127.0.0.1 localhost my-host
See Deploying NuoDB with Amazon Web Services for an example of this error on AWS.