When issuing a command-line to uninstall IM, you get the following error:

[root@localhost uninstall]# pwd

/var/ibm/InstallationManager/uninstall

[root@localhost uninstall]# ./uninstall

00:01.17 ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory safeLogged

Application error

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]

at org.eclipse.swt.SWT.error(SWT.java:4387)

at org.eclipse.swt.widgets.Display.createDisplay(Display.java:913)

at org.eclipse.swt.widgets.Display.create(Display.java:899)

at org.eclipse.swt.graphics.Device.<init>(Device.java:156)


Uninstall:

An error has occurred. See the log file

/opt/IBM/InstallationManager/eclipse/configuration/1424819093119.log.

[root@localhost uninstall]# cat /opt/IBM/InstallationManager/eclipse/configuration/1424819093119.log.

cat: /opt/IBM/InstallationManager/eclipse/configuration/1424819093119.log.: No such file or directory

[root@localhost uninstall]# cat /opt/IBM/InstallationManager/eclipse/configuration/1424819093119.log

!SESSION 2015-02-24 23:04:52.417 ———————————————–

eclipse.buildId=unknown

java.fullversion=JRE 1.7.0 IBM J9 2.6 Linux amd64-64 Compressed References 20140627_204598 (JIT enabled, AOT enabled)

J9VM – R26_Java726_SR7_20140627_0924_B204598

JIT – r11.b06_20140409_61252.04

GC – R26_Java726_SR7_20140627_0924_B204598_CMPRSS

J9CL – 20140627_204598

BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_GB

Framework arguments: -accessRights admin -toolId uninstall input /var/ibm/InstallationManager/uninstall/uninstall.xml

Command-line arguments: -os linux -ws gtk -arch x86_64 -accessRights admin -toolId uninstall input /var/ibm/InstallationManager/uninstall/uninstall.xml

 

!ENTRY org.eclipse.osgi 4 0 2015-02-24 23:04:56.327

!MESSAGE Application error

!STACK 1

org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]

at org.eclipse.swt.SWT.error(SWT.java:4387)

at org.eclipse.swt.widgets.Display.createDisplay(Display.java:913)

at org.eclipse.swt.widgets.Display.create(Display.java:899)

at org.eclipse.swt.graphics.Device.<init>(Device.java:156)

at org.eclipse.swt.widgets.Display.<init>(Display.java:497)

at org.eclipse.swt.widgets.Display.<init>(Display.java:488)

at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:673)

at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)

at com.ibm.cic.agent.internal.ui.AgentUIApplication.initDisplay(AgentUIApplication.java:157)

at com.ibm.cic.agent.internal.ui.AgentUIApplication.launch(AgentUIApplication.java:193)

at com.ibm.cic.agent.internal.ui.AgentUIApplication.start(AgentUIApplication.java:86)

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:353)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)

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

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)

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

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

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

Reason:

You are using the uinstall (which required a GUI) command as opposed to the command line version uninstall

  • Run the following command example to uninstall IM
[root@localhost uninstall]# ./uninstallc

Uninstalled com.ibm.cic.agent_1.8.1000.20141126_2002 from the /opt/IBM/InstallationManager/eclipse directory.

Facebooktwittergoogle_plusredditpinterestlinkedinmail

Leave a Reply