Jump to content
We've recently updated our Privacy Statement, available here ×

dizou
Go to solution Solved by tkavanagh,

Recommended Posts

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:

jaspererror.PNG.b1e7c1658d12d950fdabc3961f9e471e.PNG

I opened the bitrock_installer.log file in my /tmp directory and this was at the verry end:

jaspererror2.PNG.3e7e8c4550400da5c055b6890a38d2c4.PNG

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:

hosts1.PNG.ea7512e4886a4019521b7a6e20ddf0f8.PNG

The installation failed with this. I then changed my /etc/hosts file to this:

hosts2.PNG.c495d546a7e039ed9d685fcc7ddac7e8.PNG

and the installation still failed with the same error mesasge. 

jaspererror2.PNG.f2cd1a437dc0246920d148b0235b3539.PNG

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...