Even with a valid license, EM startup fails with "No valid license files were found."

Document ID : KB000030723
Last Modified Date : 30/03/2018
Show Technical Document Details

A previously working EM now fails with the error, "No valid license files were found" in the log. The license is found to be still valid.

When changing the log details level to "VERBOSE" or "DEBUG", entries similar to the following are seen:

1/1/15 01:10:01.001 PM EDT [INFO] [main] [Manager] Starting Introscope Enterprise Manager...

1/1/15 01:10:01.002 PM EDT [VERBOSE] [main] [Manager] Checking license file: /opt/wilyem/Introscope95/./license/

1/1/15 01:10:01.003 PM EDT [VERBOSE] [main] [Manager] Validating license now: /opt/wilyem/Introscope95/./license/

1/1/15 01:10:01.004 PM EDT [DEBUG] [main] [Manager] Host id error

java.net.UnknownHostException: myEMhostName: myEMhostName

at java.net.InetAddress.getLocalHost(Unknown Source)

at com.wily.introscope.license.ALicense.verifyHostIdentification(ALicense.java:229)

at com.wily.introscope.license.ALicense.enforceLicenseRestrictions(ALicense.java:207)





The debug message "Host id error", indicates that the EM is unable to match the host name to the expected IP Address. The simplest way to address this is by adding the server name and IP address to the /etc/hosts file (Linux/UNIX) or C:\Windows\System32\drivers\etc\hosts (Windows). This will guarantee that the expected IP Address is matched to the host name.