# Uninstallation

# Uninstalling through the Windows Installer Interface

  1. Run the openit_[version]_client_windows_[architecture].msi installer file.

  2. A setup wizard will be displayed. Click Next.

    Uninstall: Uninstall Wizard

    Uninstall: Uninstall Wizard

  3. Click Remove then Next to remove the Open iT Core Client from the computer.

    Uninstall: Uninstall Selection

    Uninstall: Uninstall Selection

  4. Click Remove to uninstall the software.

    Uninstall: Uninstall Remove

    Uninstall: Uninstall Remove

  5. Click Finish to complete the uninstallation process.

    Uninstall: Uninstall Complete

    Uninstall: Uninstall Complete


# Uninstalling through the Command Line

To uninstall the Open iT Windows Core Client, go to the absolute path of the installer and run:

msiexec /x openit_[version]_client_windows_[architecture].msi

# Uninstalling through the Control Panel

  1. Go to the Control Panel.

  2. Under Program, click Uninstall a program.

    Uninstall: Control Panel

    Uninstall: Control Panel

  3. In the list of programs, select Open iT Client.

  4. Click Uninstall at the upper left of the list or right-click the item and click Uninstall.

    Uninstall: Control Panel Program List

    Uninstall: Control Panel Program List

  5. Wait for Windows to configure the Open iT Core Server.

    Uninstall: Wait

    Uninstall: Wait

  6. A confirmation will appear stating that the server was successfully uninstalled. Click OK to complete the process.

    Uninstall: Success

    Uninstall: Success

# Uninstalling the Software Manually

  1. Go to dist folder or to /opt/openit/bin.

  2. Execute the uninstall script.

    ./uninstall

    Or execute the uninstall script directly from the directory.

    /opt/openit/bin/uninstall
    dist/uninstall
  3. Press y and Enter until the uninstall process finish.

               Open iT Uninstallation
               ======================
    
    This script will remove all installed Open iT software.
    
    Host 'your-hostname' has installed:
    
        Open iT Base
    
    Continue uninstall of Open iT? [n] : y
    Checking if an openit process is running with root privilege...
    
    ---------- Note on pacct status file ---------------
    The Pacct status file /var/opt/openit/etc/Pact_Already_Runs
    does not exist. This script will not change the pacct status.
    You may, if necessary, manually change it.
    
    The following scripts will be removed:
    (Scripts to be removed should be listed here.)
    Proceed [n]: y
    Continue removing Open iT software and configuration? [n]: y
        * Killing monips: 94856..............done
    
        * Killing monips: 94889..............done
    
        * Killing openit_scheduler: 14201....done
    
        * Removing installed files...........done
    
    Uninstall done. There seems to be some Open iT processes still running.
    Please kill them exclusively and verify that there are no more Open iT
    processes running on your system, before you proceed with further operations

    To uninstall Open iT without prompts, run:

    ./uninstall -b -n

    For more information regarding the arguments, type in:

    ./uninstall --help

    This shows the manual page for the uninstall script:

    Usage: uninstall [ -b ] [ -n ]
    -b batch uninstall (without user input)
    -n don't transfer client data to server before uninstall

# Removing the Software Manually

  1. Disable automatic (re)starting of Open iT. Remove the start up scripts in the directory, or equivalent, of the system (/etc/rc../) during installation. It can be done the same way other files are removed from the system.

    If crontab entries are installed to check that Open iT daemons are running, these entries should also be removed.

    Example of crontab entry:

    34 * * * * su - openit -c "/opt/openit/bin/check_daemon logger"  # Open iT
  2. Stop Open iT processes. Ensure to back up data before proceeding.

    Stop all the Open iT processes by running:

    /opt/openit/bin/openit-all stop

    To stop each process individually:

    • If the client is configured to run with an Open iT logger, stop it with:
    • /opt/openit/bin/openit-logger stop
    • To stop the process scheduler:
    • /opt/openit/bin/openit-scheduler stop

  1. Remove Open iT files and directory containing the installation:

    rm -rf /opt/openit
    rm -rf /var/opt/openit
    rm -rf /etc/opt/openit

    To uninstall Open iT without prompts, run:

    ./uninstall -b -n

    For more information regarding the arguments, type in:

    ./uninstall --help

    This shows the manual page for the uninstall script:

    Usage: uninstall [ -b ] [ -n ]
    -b batch uninstall (without user input)
    -n don't transfer client data to server before uninstall

  1. Open a terminal.

  2. Run the following to uninstall Open iT:

    sudo /usr/local/openit/bin/uninstall
  3. Type in Y, then press Enter when asked to continue.


We value your feedback!

Please take a few minutes to complete our survey and share your thoughts on your recent experience with our documentation.

Take survey

Close