Auto start Analytics Plus in Linux

Auto start Analytics Plus in Linux

Steps to auto start Analytics Plus in Linux environment:

 

 

1. Open "StartServer.sh" present in <AnalyticsPlus\bin>

    • Add  '#!/bin/sh' as the first line of the code.
    • Add  'cd <location to Analytics/bin>' before the line 'sh run.sh'  ex : cd /home/admin/AnalyticsPlus/bin/

 

2. Open "rc.local" present in <'/etc/'>

    • Make sure that '#!/bin/sh -e' is the first line, if not change it.
    • Add 'sh <path to StartServer.sh modified earlier>' ex : sh /home/admin/AnalyticsPlus/bin/StartServer.sh
    • Add 'exit 0' as the last line.

3. To make sure that etc/rc.local is executable, execute the following

    • sudo chown root /etc/rc.local
    • sudo chmod 755 /etc/rc.local

 

Now to check whether it is working properly execute  'sudo /etc/init.d/rc.local start'.

If it starts then autostart should just work fine when we restart.


                  New to ADSelfService Plus?

                    • Related Articles

                    • Move Analytics Plus from one Server/folder

                      Go to Start --> Services.msc and stop the ManageEngine Analytics Plus service. Take a backup of the entire <Analytics Plus_Home> directory and then move it to the new server.  On the new server, navigate to (similar path) <Analytics Plus_Home>\bin ...
                    • Steps to enable Google Analytics Connector

                      1. Stop the Analytics Plus services. 2. Modify the entry under <Analytics Plus home>/reports/conf/app.properties show.create.google.analytics.view=true Note: If the above property is missing, add them. By default the value will be set to 'false' 3.  ...
                    • Analytics Plus Inventory

                      Aim: To have the detailed list of all the Reports, Databases created in Analytics  Open Local & Cloud Databases and fill the entries password = Postgres and if any error occurs stating something like "check the DB connection" change the Port to ...
                    • Unable to install Analytics Plus in Linux VM's

                      During installation in console mode, most of the Linux(VM) users are experiencing issues with port check and they are unable to proceed. To avoid this, please use ISS or UI based installation option.  Error trace: Ports are occupied  Follow the below ...
                    • Unable to access Analytics Plus after installation

                      Issue:  Unable to access Analytics Plus after installation even though the wrapper logs are fine. Analysis: There is a space character after the port number in the URL construction. Log Traces: java.lang.IllegalArgumentException: Invalid uri ...