How to uninstall the EventLog Analyzer service

How to uninstall the EventLog Analyzer service

Objective 

This article provides step by step instructions to uninstall the EventLog Analyzer service.

Prerequisites 

Access to EventLog Analyzer as an Admin/sudo user is required to execute .bat or .sh files

Steps to follow 

Step 1: Access EventLog Analyzer server.
Step 2: Stop EventLog Analyzer: Perform the following steps based on operating system to stop EventLog Analyzer service.
  1. For Windows:
    • If running as Service, press Windows + R to open Run and type services.msc and click OK. Choose the ManageEngine EventLog Analyzer service and select Stop the service.
    • If running as application, open CMD as administrator and navigate to <EventLog Analyzer Home>\bin directory and execute the shutdown.bat command to stop the application.
  1. For Linux:
    • If running as Service, navigate to <EventLog Analyzer Home>\bin and execute the sh configureAsService.sh -t command.
    • If running as an application, navigate to <EventLog Analyzer Home>\bin directory and execute the shutdown.sh file in the terminal.
Step 3: Ensure clean shutdown: Execute the following files based on operating system from <EventLog Analyzer Home>\bin folder
  1. For Windows: shutdown.bat, stopDB.bat and stopSEC.bat
  2. For Linux: shutdown.sh, stopDB.sh and stopSEC.sh
Step 4: Use the following commands based on the operating system to uninstall the service.
  1. Windows: Execute services.bat -r from <EventLog Analyzer Home>\bin to uninstall service
  2. Linux: Execute sh configureAsService.sh -e from <EventLog Analyzer Home>\bin to uninstall service
Step 5: EventLog Analyzer is now uninstalled as service.

Tips 

  • Open the CMD or terminal with elevated permission (Administrator or root/sudo user) while executing .bat or .sh files.
  • Ensure the background process is stopped while uninstalling the service.

                  New to ADSelfService Plus?