Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..
381 views

How to restore BSM / APM deleted files

Hi,

Hope you are doing fine.

Actually issue is I was trying to install APM and after errors while installation I have deleted its directories now it is not allowing me to uninstall need your help in uninstalling kindly suggest a solution.

Best Regards

0 Likes
12 Replies
Micro Focus Expert
Micro Focus Expert

Re: How to restore BSM / APM deleted files

Did you try to uninstall using the "APM uninstall tool" available at the support site?


0 Likes
Micro Focus Expert
Micro Focus Expert

Re: How to restore BSM / APM deleted files

Hi MikeAlpha,

tough luck!

Windows? Linux?
BSM 9.2x? APM 9.3x?

You can try the BSM Uninstall tool available from SSO via
KM01997174 - BSM 9.2x Uninstall / Uninstallation Tool
-> BAC_00897 - BSM 9.2x Uninstall tool for Linux
-> BAC_00898 - BSM 9.2x Uninstall tool for Windows

or the Microsoft Windows Installer Clean Up, check out
KM00205170 - BSM 9.20 - Upgrade from BSM 9.13 fails with "Error: A Previous version of BSM exists on this machine"
The article is dated, but you can search the Internet for Windows Uninstallation tools. There are many available, even from Microsoft, for example
https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed
or check for msizap.exe 

Even if you are using APM 9.30 or newer, you might wanna give it a try.

If all this doesn't work, other options are
- reinstallation of the OS (might sound tough, but is amatter of minutes in case you are running on a virtual environment)
- delete all APM/BSM files you can find on the box
manually go through the registry and delete all references to BSM/APM as installed application
- setup the same product version on another box and copy all the files under <HPBSM> from the new to the old system,
restart the old one and try to uninstall

Greetings
Siggi

Customer Support
Micro Focus

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..

Re: How to restore BSM / APM deleted files

Hi siggi,

Thank you so much for your feedback.

Actually i am facing below mentioned error:

Java clone
Finalize action for com.hp.ov.installer.ovapp.core.ActionRunner@217ed287
/bin/bash: module: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `BASH_FUNC_module'
cp: cannot stat ‘/opt/HP//JRE/bin/java’: No such file or directory
cp: cannot stat ‘/opt/HP//JRE64/bin/java’: No such file or directory

INFO: (javaClone.sh) Cloning java x32 to: data_marking
INFO: (javaClone.sh) Cloning java x64 to: data_marking
INFO: (javaClone.sh) Cloning java x32 to: DCSniffer
INFO: (javaClone.sh) Cloning java x64 to: DCSniffer
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_analytics_dc
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_analytics_dc
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_analytics_loader
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_analytics_loader
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_basel_engine
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_basel_engine
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_data_upgrade
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_data_upgrade
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_db_loader
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_db_loader
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_loader
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_loader
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_matcher
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_matcher
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_supervisor
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_supervisor
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_worker_1
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_worker_1
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_worker_2
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_worker_2
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_worker_3
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_worker_3
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_offline_engine
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_offline_engine
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_pi_engine
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_pi_engine
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_upgrade_wizard
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_upgrade_wizard
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_wde
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_wde
INFO: (javaClone.sh) Cloning java x32 to: schedulergw
INFO: (javaClone.sh) Cloning java x64 to: schedulergw
INFO: (javaClone.sh) Cloning java x32 to: schedulerpr
INFO: (javaClone.sh) Cloning java x64 to: schedulerpr
INFO: (javaClone.sh) Cloning java x32 to: HornetQ
INFO: (javaClone.sh) Cloning java x64 to: HornetQ
INFO: (javaClone.sh) Cloning java x32 to: Jboss
INFO: (javaClone.sh) Cloning java x64 to: Jboss
INFO: (javaClone.sh) Cloning java x32 to: topaz_dv
INFO: (javaClone.sh) Cloning java x64 to: topaz_dv
INFO: (javaClone.sh) Cloning java x32 to: nannyManager
INFO: (javaClone.sh) Cloning java x64 to: nannyManager
INFO: (javaClone.sh) Cloning java x32 to: MercuryAS
INFO: (javaClone.sh) Cloning java x64 to: MercuryAS
INFO: (javaClone.sh) Cloning java x32 to: mercury_wizard
INFO: (javaClone.sh) Cloning java x64 to: mercury_wizard
INFO: (javaClone.sh) Cloning java x32 to: hpbsmd
INFO: (javaClone.sh) Cloning java x64 to: hpbsmd
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_RTSM
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_RTSM
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_pmanager
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_pmanager
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_bizImpact
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_bizImpact
INFO: (javaClone.sh) Cloning java x32 to: DomainManager
INFO: (javaClone.sh) Cloning java x64 to: DomainManager
INFO: (javaClone.sh) Cloning java x32 to: hpbsmsdr
INFO: (javaClone.sh) Cloning java x64 to: hpbsmsdr
ERROR: Java clone failed

Kindly HELP.

Best Regards

0 Likes
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..

Re: How to restore BSM / APM deleted files

Hi siggi,

OS Linux
APM 9.5

Regards

0 Likes
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..

Re: How to restore BSM / APM deleted files

Hi siggi,

Thank you so much for your response.

The issue i am facing is mentioned below kindly have a look.

Java clone
Finalize action for com.hp.ov.installer.ovapp.core.ActionRunner@5ea36939
/bin/bash: module: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `BASH_FUNC_module'
cp: cannot stat ‘/opt/HP//JRE/bin/java’: No such file or directory
cp: cannot stat ‘/opt/HP//JRE64/bin/java’: No such file or directory

INFO: (javaClone.sh) Cloning java x32 to: data_marking
INFO: (javaClone.sh) Cloning java x64 to: data_marking
INFO: (javaClone.sh) Cloning java x32 to: DCSniffer
INFO: (javaClone.sh) Cloning java x64 to: DCSniffer
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_analytics_dc
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_analytics_dc
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_analytics_loader
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_analytics_loader
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_basel_engine
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_basel_engine
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_data_upgrade
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_data_upgrade
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_db_loader
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_db_loader
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_loader
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_loader
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_matcher
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_matcher
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_supervisor
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_supervisor
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_worker_1
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_worker_1
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_worker_2
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_worker_2
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_marble_worker_3
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_marble_worker_3
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_offline_engine
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_offline_engine
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_pi_engine
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_pi_engine
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_upgrade_wizard
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_upgrade_wizard
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_wde
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_wde
INFO: (javaClone.sh) Cloning java x32 to: schedulergw
INFO: (javaClone.sh) Cloning java x64 to: schedulergw
INFO: (javaClone.sh) Cloning java x32 to: schedulerpr
INFO: (javaClone.sh) Cloning java x64 to: schedulerpr
INFO: (javaClone.sh) Cloning java x32 to: HornetQ
INFO: (javaClone.sh) Cloning java x64 to: HornetQ
INFO: (javaClone.sh) Cloning java x32 to: Jboss
INFO: (javaClone.sh) Cloning java x64 to: Jboss
INFO: (javaClone.sh) Cloning java x32 to: topaz_dv
INFO: (javaClone.sh) Cloning java x64 to: topaz_dv
INFO: (javaClone.sh) Cloning java x32 to: nannyManager
INFO: (javaClone.sh) Cloning java x64 to: nannyManager
INFO: (javaClone.sh) Cloning java x32 to: MercuryAS
INFO: (javaClone.sh) Cloning java x64 to: MercuryAS
INFO: (javaClone.sh) Cloning java x32 to: mercury_wizard
INFO: (javaClone.sh) Cloning java x64 to: mercury_wizard
INFO: (javaClone.sh) Cloning java x32 to: hpbsmd
INFO: (javaClone.sh) Cloning java x64 to: hpbsmd
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_RTSM
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_RTSM
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_pmanager
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_pmanager
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_bizImpact
INFO: (javaClone.sh) Cloning java x64 to: hpbsm_bizImpact
INFO: (javaClone.sh) Cloning java x32 to: DomainManager
INFO: (javaClone.sh) Cloning java x64 to: DomainManager
INFO: (javaClone.sh) Cloning java x32 to: hpbsmsdr
INFO: (javaClone.sh) Cloning java x64 to: hpbsmsdr
ERROR: Java clone failed

Kindly Help

Best Regards

0 Likes
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..

Re: How to restore BSM / APM deleted files

Hi Siggi,

Basically, I am having that error in the end of installation.

Java clone
Finalize action for com.hp.ov.installer.ovapp.core.ActionRunner@5ea36939
/bin/bash: module: line 1: syntax error: unexpected end of file
/bin/bash: error importing function definition for `BASH_FUNC_module'

cp: cannot stat ‘/opt/HP//JRE/bin/java’: No such file or directory
cp: cannot stat ‘/opt/HP//JRE64/bin/java’: No such file or directory
INFO: (javaClone.sh) Cloning java x32 to: data_marking
INFO: (javaClone.sh) Cloning java x64 to: data_marking
INFO: (javaClone.sh) Cloning java x32 to: DCSniffer
INFO: (javaClone.sh) Cloning java x64 to: DCSniffer
INFO: (javaClone.sh) Cloning java x32 to: hpbsm_analytics_dc
ERROR: Java clone failed

Kindly Help

Best Regards

0 Likes
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..

Re: How to restore BSM / APM deleted files

Hi siggi,

Thank you for feedback. i really appreciate that.

How would i know about all the packages i have to remove? Is there any list of these packages?

Regards 

0 Likes
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..

Re: How to restore BSM / APM deleted files

Hi asaf,

Thank you so much.

No, i don't know about the tool. kindly share the link of tool so i can download it. As i am using APM 9.50. it is giving java clone failed error.

Regards

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: How to restore BSM / APM deleted files

Kindly search for it in support site.


0 Likes
Honored Contributor.. MikeAlpha Honored Contributor..
Honored Contributor..

Re: How to restore BSM / APM deleted files

Hi asaf,

I tried but i am not able to find uninstall tool for apm 9.5.

kindly help.

Regards

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: How to restore BSM / APM deleted files

Instead of giving you the fish I will try to teach you how to fish:

1) Go to support site, select "patches": https://softwaresupport.softwaregrp.com/document?doctype=patches

2) Select product "Application Performance Management"

3) Search "uninstall"

4) The latest one is for 9.30 but it will also work for 9.50.



Asaf


0 Likes
Micro Focus Expert
Micro Focus Expert

Re: How to restore BSM / APM deleted files

@asaf,

teaching to fish is the right way to go,
however here the fish is not in the see / lake / river, please see below!

@ MikeAlpha,

the tool Asaf refers to is
  KM02670337 / BAC_00909 - BSM Uninstall tool for Linux

The issue is that it is supposed to work with BSM / AM 9.30 9.26 9.25 9.24 9.23 9.22 9.21 9.20 and higher,
but I found one support case where it caused a deseaster on an APM 9.40 installation.
The tool has been updated and tested for APM 9.40, but I cannot tell if it works for APM 9.50.
I attached it here, please use it at your own risk.

It does exactly the same as described below, but automated:

use rpm to retrieve the list of packages and remove them via rpm one by one

# rpm -qa

This is the list of packages taken from the installation file

Application_Performance_Management_9.50_Linux_Setup_APM_9.50_Linux_Setup.zip\packages\

HPEAPMRTSMCom-11.00.025-Linux2.6_64.rpm
HPEAPMRTSMGw-11.00.025-Linux2.6_64.rpm
HPEAPMRTSMProc-11.00.025-Linux2.6_64.rpm
HPEApmAppsCom-9.50.081-Linux2.6_64.rpm
HPEApmAppsGw1-9.50.081-Linux2.6_64.rpm
HPEApmAppsGw2-9.50.081-Linux2.6_64.rpm
HPEApmAppsProc-9.50.081-Linux2.6_64.rpm
HPEApmDocs-9.50.111-Linux2.6_64.rpm
HPEApmHQWebConsoleProc-9.50.081-Linux2.6_64.rpm
HPEApmJRE-1.08.072-Linux2.6_64.rpm
HPEApmPltCom1-9.50.081-Linux2.6_64.rpm
HPEApmPltCom2-9.50.081-Linux2.6_64.rpm
HPEApmPltDPS-9.50.081-Linux2.6_64.rpm
HPEApmPltGW1-9.50.081-Linux2.6_64.rpm
HPEApmPltGW2-9.50.081-Linux2.6_64.rpm
HPEApmPltGW3-9.50.081-Linux2.6_64.rpm
HPEApmSDR-9.50.081-Linux2.6_64.rpm
HPEApmTiles0to6Folders-9.30.160-Linux2.6_64.rpm
HPEApmTiles7folder1-9.30.160-Linux2.6_64.rpm
HPEApmTiles7folder2-9.30.160-Linux2.6_64.rpm
HPEApmTiles8folder1-9.30.160-Linux2.6_64.rpm
HPEApmTiles8folder2-9.30.160-Linux2.6_64.rpm
HPEApmTiles8folder3-9.30.160-Linux2.6_64.rpm
HPEApmTiles8folder4-9.30.160-Linux2.6_64.rpm
HPEApmTiles8folder5-9.30.160-Linux2.6_64.rpm
HPEApmTiles8folder6-9.30.160-Linux2.6_64.rpm
HPEApmTiles8folder7-9.30.160-Linux2.6_64.rpm
HPEApmWebAppGw-9.50.081-Linux2.6_64.rpm
HPEDiagInt-9.50.081-Linux2.6_64.rpm
HPEEumCom-9.50.081-Linux2.6_64.rpm
HPEEumGw-9.50.081-Linux2.6_64.rpm
HPEEumProc-9.50.081-Linux2.6_64.rpm
HPOvBbc-12.06.007-Linux2.6_64-release.rpm
HPOvGC-09.45.013-Linux2.6_64-release.rpm
HPOvGC_BSM-09.45.013-Linux2.6_64-release.rpm
HPOvJbbc-12.06.007-Linux2.6_64-release.rpm
HPOvJsec-12.06.007-Linux2.6_64-release.rpm
HPOvJxpl-12.06.007-Linux2.6_64-release.rpm
HPOvSecCC-12.06.007-Linux2.6_64-release.rpm
HPOvSecCS-12.06.007-Linux2.6_64-release.rpm
HPOvSecCo-12.06.007-Linux2.6_64-release.rpm
HPOvXpl-12.06.007-Linux2.6_64-release.rpm

If you have the list, remove the stuff one by one, for example

rpm -e HPEAPMRTSMCom-11.00.025-Linux2.6_64.rpm

If you get a message like

# rpm -e HPBsmSonic-9.12.140-1
error: Failed dependencies:
HPBsmSonic >= 9.12.140 is needed by (installed) HPBsmSonicSP2-9.12.140-1.i386

you need to first uninstall the package which requires the package you wanna uninstall:

# rpm -e HPBsmSonicSP2-9.12.140-1
# rpm -e HPBsmSonic-9.12.140-1

Greetings
Siggi

Customer Support
Micro Focus

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.