Watch4Net: Cannot remove a module using manage-modules.sh
search cancel

Watch4Net: Cannot remove a module using manage-modules.sh

book

Article ID: 304665

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:




Cannot remove a module using Watch4net manage-modules.sh
The following error is seen when trying to remove a module using Watch4net manage-modules.sh:

/opt/APG/bin/manage-modules.sh remove <module name> <module instance>
Starting removal of <module name> <module instance>...
 * Gathering information...
 ! ERROR: java.lang.ClassNotFoundException: com.watch4net.apg.module.definition.GenericModule



Environment

VMware Smart Assurance - Watch4Net/M&R

Resolution

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

rm -rf /opt/APG/<function>/<module>/<instance>/

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

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/