nanda_p_kumar Posted December 9, 2013 Share Posted December 9, 2013 Hi,I am trying to install Jasperreports server 5.5 on an RHEL 6 system. If the installation is done as root user, it completes without any issues. But if the same is done with a non root user, it fails with issues regarding permission. I have checked on the forum for such cases, but they have had issues with the host names. But my /etc/hosts results as "127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4". I am pretty sure, host name is not the issue in my case. I have tried the custom installation where I used the bundled tomcat and postgres but did not install the sample db and reportsand it fails with this message:Total time: 14 secondsProblem running post-install step. Installation may not complete correctly Error running /home/mviva/jasperreports-server-5.5/apache-ant/bin/ant import-minimal-pro : BUILD FAILED/home/mviva/jasperreports-server-5.5/buildomatic/bin/import-export.xml:269: The following error occurred while executing this line:/home/mviva/jasperreports-server-5.5/buildomatic/bin/import-export.xml:158: Java returned: 255I also tried default install. It also fails with this message:Problem running post-install step. Installation may not complete correctly Error running /home/mviva/jaspersoft/apache-ant/bin/ant import -DimportFile=install_resources/export/js-catalog : BUILD FAILED/home/mviva/jaspersoft/buildomatic/bin/import-export.xml:240: The following error occurred while executing this line:/home/mviva/jaspersoft/buildomatic/bin/import-export.xml:158: Java returned: 255 Link to comment Share on other sites More sharing options...
marianol Posted December 10, 2013 Share Posted December 10, 2013 The bundle installer needs to be root user or sudo(ed) to be able to perform the full instalation. If you need to install as a non root user you will have to use the WAR file instalation see Chapter 5 of the Jasperserver Install Guide Link to comment Share on other sites More sharing options...
nanda_p_kumar Posted December 11, 2013 Author Share Posted December 11, 2013 Thank you Marianol. I would like to know, if I install as root user/sudoer, is there a way to start jasperreports server as non root user? Could you also please let me know if I would be able to import and export the jasperreports server repo if I install using the war file? Thanks Nanda<<<<<< This comment was blocked and unpublished because Project Honeypot indicates it came from a suspicious IP address. Link to comment Share on other sites More sharing options...
nanda_p_kumar Posted December 11, 2013 Author Share Posted December 11, 2013 Thank you Marianol. If I install using root/sudoer, is there any way to start the Jasperreports server as a non root user/without sudo? Could you also let me know, if in the war file installation, would I be able to import/export the Jasperreports server repo? Thanks & Regards, Nanda Link to comment Share on other sites More sharing options...
nanda_p_kumar Posted December 12, 2013 Author Share Posted December 12, 2013 Hi, I tried installing using the war file distribution. It completed successfully. I used the minimal install. But now, when I start the tomcat, I get an error saying " Cannot find tenant by ID : organizations". Why does this happen? I got this same problem even during the bundled installer.<<<<<< This comment was blocked and unpublished because Project Honeypot indicates it came from a suspicious IP address. Link to comment Share on other sites More sharing options...
jeffb.collab Posted December 24, 2013 Share Posted December 24, 2013 @Marianol -- the following Jaspersoft community article explains that the bundle install can be done as non-root, and has specific instructions to do so [http://community.jaspersoft.com/wiki/install-bundled-package-jasperreports-server-and-run-application-non-root-user]. We have installed the bundle as non-root successfully -- as one user -- but with a different user we are getting the same error as shown above. Still investigating.==> Update: Now all non-root users work correctly when installing the bundle (as of Dec 26). No special permissions or sudo are required. See update comment below for more info. Link to comment Share on other sites More sharing options...
jeffb.collab Posted December 27, 2013 Share Posted December 27, 2013 Yes, non-root bundle install does consistently work fine. The problem we had was that certain directories in /tmp must be deleted prior to install even though they do not appear to belong to Jaspersoft. Fyi /tmp/main/ was the most elusive for us (since it looked rather generic). 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