I downloaded the Jasper Reports Server installer for Linux. I am on CentOS 6. When I run the installer, at the very end I get this error:
I opened the bitrock_installer.log file in my /tmp directory and this was at the verry end:
What's going on here? Can I ignore this error? If not, how do I fix it? Thanks!
Edit:
So I found that this may be realted to my hostname not set correctly. I originally had my /etc/hosts file like this:
The installation failed with this. I then changed my /etc/hosts file to this:
and the installation still failed with the same error mesasge.
- Log in or register to post comments
2 Answers:
There definitely seems to be an issue with resolving the hostname. I see in the installation.log:
Unable to set localhost. This prevents creation of a GUID. Cause was: dilx: dilx
java.net.UnknownHostException: dilx: dilx
at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
at net.sf.ehcache.Cache.(Cache.java:214)
Here is a similar issue based on googling around for the above error message:
stackoverflow.com/questions/4969156/error-java-net-unknownhostexception
So, perhaps try playing a bit more with the /etc/hosts file. And try adding the following (and rebooting too):
127.0.0.1 dilx localhost