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?

                    • Related Articles

                    • How to uninstall EventLog Analyzer Windows agent via UI

                      Objective This article provides detailed information on how to uninstall a Windows agent from the user interface of EventLog Analyzer. Prerequisites Ensure the required network ports are open: Port 135 Port 139 Port 445 Dynamic RPC port range ...
                    • How to deploy EventLog Analyzer as a service?

                      EventLog Analyzer as a service can be deployed in two ways:   Via the command prompt: Establish a remote connection with the server where EventLog Analyzer is installed. Open the command prompt with Admin privileges. Navigate to ...
                    • How to upgrade the EventLog Analyzer Agent?

                      Usually, an agent upgrade would happen automatically if the credentials provided for agents under the "Manage agents" section are valid or has the appropriate rights for accessing services or logs in the agent machine. However, in recent builds ...
                    • How to install EventLog Analyzer as service in Linux OS?

                      Objective This article offers step-by-step instructions to install EventLog Analyzer as service in Linux OS. Prerequisites Ensure access to EventLog Analyzer as Admin/sudo user to execute .bat or .sh files. Steps to follow Step 1: Access EventLog ...
                    • How to install EventLog Analyzer as a Windows service

                      Objective Installing EventLog Analyzer as a Windows service ensures the application starts automatically with the operating system and runs continuously in the background. This setup is essential for uninterrupted log collection, alerting, and ...