cancel
Showing results for 
Search instead for 
Did you mean: 

HANA DBMS: uninstall.sh fails

tombo_larsen
Active Participant
0 Kudos

Hi Guys

We are trying to uninstall a SAP HANA system (revision level 41) but the un-installation fails. The last part of the setup.glf installation log file is shown below:

**********

#TRACE#com.sap.lm.decl.isdk.constraints.SystemAlreadyInstalledConstraint#main#Validating if 'BP1' is already installed:

TargetSid: BP1 / SID: [sid], isAlreadyInstalled: null (AllSids: [{[sid]

=false}])

Is given SID 'BP1' ok for installation?: true

|

2013 05 06

22:43:24#+0200#DEBUG#com.sap.lm.decl.os.PasswordAuthenticationBase#main#Trying to authenticate at shell password based...|

2013 05 06

22:43:24#+0200#DEBUG#com.sap.lm.services.shell.local.impl.LocalShellImpl#main#Executing command '/usr/sap/hostctrl/exe/lssap -P -c '|

2013 05 06

22:43:29#+0200#DEBUG#com.sap.lm.services.shell.local.impl.LocalShellImpl#main#Executed command with return code 0|

2013 05 06

22:43:30#+0200#ERROR#com.sap.lm.decl.batch.AbstractBatchModelController#main#Execution failed

java.lang.IllegalArgumentException: Error:Required field, must not be

empty

at com.sap.lm.decl.core.types.StringParameter.setValue

(StringParameter.java:213)

at com.sap.lm.hana.hana.HANAPlatformSystemBase.setSapmntPath

(HANAPlatformSystemBase.java:133)

at

com.sap.lm.hana.hana.uninstall.UninstallHanaSystemDetector.detect

(UninstallHanaSystemDetector.java:81)

at

com.sap.lm.decl.detector.impl.MODetectionRegistryImpl.detectManagedObjects(MODetectionRegistryImpl.java:35)

at

com.sap.lm.decl.batch.NGAPUninstallBatchModelController.detectRootManagedObject(NGAPUninstallBatchModelController.java:51)

at

com.sap.lm.decl.batch.BasicUninstallBatchModelController.getRootManagedObject(BasicUninstallBatchModelController.java:42)

at com.sap.lm.decl.batch.AbstractBatchModelController.execute

(AbstractBatchModelController.java:152)

at com.sap.lm.decl.application.Application._start

(Application.java:42)

at com.sap.lm.decl.application.Application.start

(Application.java:28)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run

(EclipseAppHandle.java:196)

at

org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at

org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start

(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run

(EclipseStarter.java:369)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run

(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke

(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke

(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.eclipse.equinox.launcher.Main.invokeFramework

(Main.java:619)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

at org.eclipse.equinox.launcher.Main.main(Main.java:1383)|

2013 05 06

22:43:30#+0200#DEBUG#com.sap.core.js.logging.bridge.LoggingServiceTracker#main#Inside LoggingServiceTracker.removedService

com.sap.core.log.providers_0.8.8 [4]|

2013 05 06

22:43:30#+0200#TRACE#com.sap.core.js.logging.mbeans.MBeanManager#main#unregisterMBean : objectName [com.sap.js:name=Logging,type=Logging].|

**********

The un-installation is being performed with the uninstall script from installation medium with revision 46, running the command as root:  "./uninstall  <TMPDIR>  <SID>"

Anyone else who has experienced similar problems or has any ideas of how to proceed.

Br

Tom Bo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tom,

We ar efacing the same issue can you please let us know how can overcome this issue.

Thanks in advance

Meharkiran

AtulKumarJain
Active Contributor
0 Kudos

Hi ,

Could you please provide log for uninstalationn with screen shot.

BR

Atul