#
Uninstallation
#
Uninstalling through the Windows Installer Interface
Run the
openit_[version]_client_windows_[architecture].msi
installer file.A setup wizard will be displayed. Click Next.
Uninstall: Uninstall Wizard
Click Remove then Next to remove the Open iT Core Client from the computer.
Uninstall: Uninstall Selection
Click Remove to uninstall the software.
Uninstall: Uninstall Remove
Click Finish to complete the uninstallation process.
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
Go to the Control Panel.
Under Program, click Uninstall a program.
Uninstall: Control Panel
In the list of programs, select Open iT Client.
Click Uninstall at the upper left of the list or right-click the item and click Uninstall.
Uninstall: Control Panel Program List
Wait for Windows to configure the Open iT Core Server.
Uninstall: Wait
A confirmation will appear stating that the server was successfully uninstalled. Click OK to complete the process.
Uninstall: Success
#
Uninstalling the Software Manually
Go to dist folder or to
/opt/openit/bin
.Execute the uninstall script.
./uninstall
Or execute the uninstall script directly from the directory.
/opt/openit/bin/uninstall
dist/uninstall
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
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
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:
- To stop the process scheduler:
/opt/openit/bin/openit-logger stop
/opt/openit/bin/openit-scheduler stop
Remove Open iT files and directory containing the installation:
rm -rf /opt/openit rm -rf /var/opt/openit rm -rf /etc/opt/openit
If the installation is not created in the default destination
(/opt/openit)
, remove the link from/opt/openit
in the installation directory.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
Open a terminal.
Run the following to uninstall Open iT:
sudo /usr/local/openit/bin/uninstall
Type in Y, then press Enter when asked to continue.
The contents of the
/usr/local/openit/temp
will be backed up to/var/openitdata
.