If your Linux server doesn't have proper hostname entries in the /etc/hosts file, you may get installer errors.
The installer carries out an import operation 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 error messages like these:
To fix the /etc/hosts file:
1. | Include entries that look like 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. | You can also 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.