Cannot Export All Data(ZIP)/Summary Data(ZIP) from Viewpoint Portlet “Elastic Performance” in Teradata

Problem:

The website can not be reached Web page at http://viewpoint_url.se/ElasticCapacityPortlet/dataserver/export?context=_ElasticCapacity_2655_&systemId=5&timeStart=1605555500000&timeEnd=1604617188888&exportAs a permanent can be moved to a new address.

Solution:

Check the Viewpoint log file in location /var/opt/teradata/viewpoint/portal/logs and we can get more detail of the cause of the error:

2020-11-11 16:59:50,641 ERROR [http-nio-9080-exec-6] {context=/ElasticCapacityPortlet, user=User1} core.StandardWrapperValve.invoke(258) - Servlet.service() for servlet [dataserver] in context with path [/ElasticCapacityPortlet] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: Unable to resolve the system's host name!] with root cause

java.lang.RuntimeException: Unable to resolve the system's host name!

HOST5-1-21:~ # ping HOST5-1-21

ping: unknown host HOST5-1-21

Viewpoint hostname is HOST5-1-21 and bynet network IP is xx.xx.x.xx But in the /etc/hosts file it was wrong. After adding the correct hostname with IP it works fine.

Added in the /etc/hosts file:

xx.xx.x.xx HOST5-1-21