If a Linux server does not have proper hostname entries in the /etc/hosts file, it is possible to get installer errors.
The installer carries out an import operation in order to load the core, minimal data into the repository database. This import operation can fail if the host is not configured.
If the import operation fails during installation, the installation will also fail. However, there should be an installation.log in the root of the installation folder to help debug the problem. The installation.log is located here:
<js-install>/installation.log
An improperly configured hosts file typically causes the log, or error messages displayed on the console, to contain error messages such as these:
To fix the /etc/hosts file:
1. | Include entries that look similar to these: |
127.0.0.1 localhost.localdomain
172.17.5.0 myhost.mydomain.com myhost
For instance:
127.0.0.1 localhost.localdomain localhost
172.17.5.0 myhost.jaspersoft.com myhost
2. | Also, you can double check the file /etc/sysconfig/network (if it exists). |
In this file it would be similar to the following:
HOSTNAME=myhost
3. | After fixing the /etc/hosts file, reinstall JasperReports Server. |
Recommended Comments
There are no comments to display.