Install problems on Linux

0

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. 

Attachments: 
dizou's picture
32
Joined: Jan 11 2013 - 7:54am
Last seen: 6 years 7 months ago
could you please add the full build log file? Thanks.
mrcaffeine - 6 years 9 months ago
@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?
dizou - 6 years 9 months ago

2 Answers:

0

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

tkavanagh's picture
3303
Joined: Jul 7 2006 - 8:54am
Last seen: 5 years 1 month ago

I had something backwards in my hosts file. Thanks!

dizou - 6 years 9 months ago
0

Great to hear this worked :-)

tkavanagh's picture
3303
Joined: Jul 7 2006 - 8:54am
Last seen: 5 years 1 month ago
Feedback