Troubleshooting
Problem
You run #./install or #./IBMIM to start IBM Installation Manager. The # prompt returns. Installation Manager is not started. There are no error messages.
Cause
This issue occurs when there are required system libraries that cannot be located. Installation Manager cannot start without these libraries. In some cases, the graphical environment (GTK) is not installed on the system, or the missing library is in an inaccessible location.
Resolving The Problem
To work around this issue:
1. Open the .log file:
- Log file used when installing Installation Manager:
<user_home_directory>/IBM/InstallationManagerInstaller/pluginState/.metadata/.log
- Log file used by Installation Manager:
/var/ibm/InstallationManager/pluginState/.metadata/.log
3. Search for the library on the file system.
4. Use
ldd
to determine why the library is not loaded.
Example of locating a missing library
1. Find the .log file in /var/ibm/InstallationManager/pluginState/.metadata/.log
2. View the contents of the file using the command:
#more /var/ibm/InstallationManager/pluginState/.metadata/.log
Example content from the log file:
java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3346 or swt-pi-gtk in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display<clinit>(Display.java:128)
at org.eclipse.ui.internal.Workbeanch.createDisplay(Workbench.java:482)
at.org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at com.ibm.cic.agent.internal.ui.AgentUIApplication.launch(AgentUIApplication.java:105)
This log entry indicates that the
swt-pi-gtk-3346
library cannot be found or loaded. 3. Search for the library on the file system using the command:
#find / -name *swt-pi-gtk-3346*
The
swt-pi-gtk-3346
library is distributed with Installation Manager and is listed in an Installation Manager installation directory:bash-2.03# pwd
/opt/rational/agent.installer.solaris-20080606_1527
bash-2.03# find . -name *swt-pi-gtk-3346*
./configuration/org.eclipse.osgi/bundles/285/1/.cp/libswt-pi-gtk-3346.so
bash-2.03#
4. Use
ldd
to determine why the library is not loaded:bash-2.03# pwd <Enter>
/opt/rational/agent.installer.solaris-20080606_1527
bash-2.03# ldd ./configuration/org.eclipse.osgi/bundles/285/1/.cp/libswt-pi-gtk-3346.so <Enter>
libgtk-x11-2.0.so.0 => (file not found)
libgthread-2.0.so.0 => (file not found)
libXtst.so.1 => /usr/openwin/lib/libXtst.so.1
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libX11.so.4 => /usr/openwin/lib/libX11.so.4
libc.so.1 => /usr/lib/libc.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1
bash-2.03#
In the example, there are two libraries missing:
libgtk-x11-2.0.so.0
and libgthread-2.0.so.0
.
- You must have the correct version of GTK/Motif installed on your system to run Installation Manager in UI mode. Contact your system administrator for help.
- Try to find the missing .so files on the file system by using the following command:
#find / -name <library file name> 2>&-
If you find the files, you can use:#export LD_LIBRARY_PATH=<the directory with the libraries>
If you do not have the GTK libraries available, you can install and use Installation Manager silently.
To install Installation Manager in silently, run the command:
Administrator:
#./install --launcher.ini silent-install.ini
Nonadministrator:
$./userinst --launcher.ini silent-user-install.ini
Was this topic helpful?
Document Information
Modified date:
25 October 2021
UID
swg21438774