Manual removal of managed module
search cancel

Manual removal of managed module

book

Article ID: 397070

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

When removing the a module using the "manage-module.sh" command, it would return with the following:

ERROR:  There is no installed module with '<module name>'.

WARNING: Check that such a module ID exists and is correctly spelled.


When running command "manage-modules.sh list" and grep from the module name, they've noticed there are multiple listings of the module with the same name of different Linux versions.

Environment

10.x M&R 

Resolution

To remove the module manually, you can delete the modules installation directory and module manager data using the following:

rm -rf /opt/APG/<function>/<module>/<instance>/
rm -rf /opt/APG/Tools/Module-Manager/<version>/data/<module>-<instance>

For example: To remove a smarts-listener module with instance name "rpe1":

rm -rf /opt/APG/Event-Processing/Smarts-Listener/rpe1/
rm -rf /opt/APG/Tools/Module-Manager/1.3/data/smarts-listener-rpe1/

Additional Information

Note: Please make sure you have a back up of the module before removing them.
Once the above procedure is done, one may decide if you want to keep a backup of it or delete it.