dizou Posted January 14, 2013 Share Posted January 14, 2013 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. Link to comment Share on other sites More sharing options...
mrcaffeine Posted January 15, 2013 Share Posted January 15, 2013 could you please add the full build log file? Thanks. Link to comment Share on other sites More sharing options...
dizou Posted January 15, 2013 Author Share Posted January 15, 2013 @mrcaffeine I added the installation.log file in my /opt/jasperreports-server-5.0.1/ directory. Do you want the bitrock_installer.log file as well? Link to comment Share on other sites More sharing options...
Solution tkavanagh Posted January 15, 2013 Solution Share Posted January 15, 2013 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-unknownhostexceptionSo, 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 Link to comment Share on other sites More sharing options...
dizou Posted January 16, 2013 Author Share Posted January 16, 2013 I had something backwards in my hosts file. Thanks! Link to comment Share on other sites More sharing options...
tkavanagh Posted January 17, 2013 Share Posted January 17, 2013 Great to hear this worked :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now