Error Starting MySQL Enterprise Monitor (MEM) Agent: "Unable to set localhost. This prevents creation of a GUID. Cause was: une-pmys01-01: une-pmys01 01: Temporary failure in name resolution" (Doc ID 2012029.1)

Last updated on NOVEMBER 21, 2016

Applies to:

MySQL Enterprise Monitor - Version 1.0 and later
Information in this document applies to any platform.

Goal

After installing the agent, the agent nor mysql instance appear in the dashboard and the agent error log shows:

2015-05-12 12:12:25,234 ERROR [main:net.sf.ehcache.Cache] Unable to set localhost. This prevents creation of a GUID. Cause was: une-pmys01-01: une-pmys01 01: Temporary failure in name resolution java.net.UnknownHostException: une-pmys01-01: une-pmys01-01: Temporary failure in name resolution at java.net.InetAddress.getLocalHost(Unknown Source)

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms