Jump to content
We've recently updated our Privacy Statement, available here ×
  • Auto Start/Stop with Bundled Tomcat and PostgreSQL (Linux)


    Dhiraj Pahlani
    • Product: JasperReports® Server

    Auto Start/Stop with Bundled Tomcat and PostgreSQL (Linux)

    Problem:

    Not able to configure the binary bundled installed JasperReports Server to auto-start after system reboot on a Linux OS.

    Cause:

    When trying to configure the binary bundled installed JasperReports Server to auto-start after system reboot by following the below Installation guide, we receive an error while executing sudo /sbin/chkconfig --add jasperserver. The error seen is -

    service jasperserver does not support chkconfig

    https://community.jaspersoft.com/documentation/tibco-jasperreports-server-installation-guide/v750/starting-and-stopping-jasperreports#:~:text=Auto%20Start/Stop%20with%20Bundled%20Tomcat%20and%20PostgreSQL

    As per the readme.txt file, this command - sudo /sbin/chkconfig --add jasperserver, adds a service to system startup. Since we are not able to execute this command, the jasperserver service is not getting auto-started with system reboot.


    Resolution:

    Try to add below 2 lines in the jasperserver script (both at <js-install>/scripts/linux/jasperserver and /etc/init.d/jasperserver), save the file, and then try to run the command, sudo /sbin/chkconfig --add jasperserver and sudo /sbin/chkconfig jasperserver on

    # chkconfig: 2 3 5
    # description: some startup description

    The readme.txt file and the jasperserver script can be found in the attachments section of this article for reference.

    readme_1.txt

    jasperserver.


    User Feedback

    Recommended Comments

    There are no comments to display.



    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...