My Oracle Support Banner

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

Last updated on SEPTEMBER 24, 2020

Applies to:

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

Goal

After installing the agent, neither the agent or mysql instance appear in the dashboard and the agent error log will show an ERROR similar to:

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: myhostname:myhostname: Temporary failure in name resolution java.net.UnknownHostException: myhostname: myhostname Temporary failure in name resolution at java.net.InetAddress.getLocalHost(Unknown Source)

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.