Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to install TDI fixpack headless linux

172 views
Skip to first unread message

ChrisWorks

unread,
Jun 2, 2010, 2:26:31 AM6/2/10
to
Hello

I am trying to upgrade my base version of TDI 6.1.1 to fixpack 9, but
I am not able to run the GMI tool on my headless (no windows) ubuntu
server.

I have tried running the GMI tools in 2 modes: graphical and with -
console option.

Using the graphical option i have installed the x11 tools, and have an
x server running on the client machine - I can run the basic x11 apps
like xclock and xcalc successfully. However running the GMI tool
results in the following:

root@dbldap:/usr/ibm/common/ci/gmi/bin# ./gmi
java.lang.UnsatisfiedLinkError: /usr/ibm/common/acsi/jre/bin/
libawt.so: libXp.so.6: cannot open shared object file: No such file or
directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2144)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2004)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:
76)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:
287)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:81)
at java.awt.Color.<clinit>(Color.java:280)
at javax.swing.plaf.metal.MetalTheme.<clinit>(MetalTheme.java:61)
at
javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:
1374)
at
javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:
1306)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:
1313)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:425)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:455)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1118)
at javax.swing.UIManager.initialize(UIManager.java:1214)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1197)
at javax.swing.UIManager.getLookAndFeel(UIManager.java:393)
at run.monitorSwingOperation(Unknown Source)
at run$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:570)
Error in copying /tmp/ismp001/1005069/data/
a7390f9ecf6457bf3713f951c90b1bdb/1.0.0.0/resource.map there may not
be enough space on device
Error on inStream.readLine()
java.io.IOException: java: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:157)
at java.lang.ProcHelper.run(ProcHelper.java:60)
java.lang.NoClassDefFoundError: javax/swing/plaf/metal/
DefaultMetalTheme
at
javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:
1374)
at
javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:
1306)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:
1313)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:425)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:455)
at
com.installshield.boot.si.ui.swing.SwingSIBootUI.monitorOperation(Unknown
Source)
at com.installshield.si.commandline.SIResolveRuntime.execute(Unknown
Source)
at com.installshield.wizard.Wizard.executeStartupBeans(Unknown
Source)
at com.installshield.wizard.Wizard.startup(Unknown Source)
at com.installshield.boot.BootMain.bootstart(Unknown Source)
at com.installshield.boot.BootMain.executeBoot(Unknown Source)
at com.installshield.boot.si.SIBootMain.run(Unknown Source)
at java.lang.Thread.run(Thread.java:570)
WARNING: an unhandled error occurred during the processing of command
line option siinstall: java.lang.NoClassDefFoundError: javax/swing/
plaf/metal/DefaultMetalTheme
WARNING: an unhandled error occurred during the processing of startup
bean com.ibm.ci.gmi.issi.commandline.InitializeGmi:
java.lang.NoClassDefFoundError: org/eclipse/hyades/logging/events/cbe/
impl/EventFactoryImpl
(Jun 1, 2010 6:14:59 AM), Install,
com.installshield.wizard.StandardWizardListener, dbg,
java.lang.NoClassDefFoundError: javax/swing/plaf/metal/
DefaultMetalTheme
java.lang.NoClassDefFoundError: javax/swing/plaf/metal/
DefaultMetalTheme
at
javax.swing.plaf.metal.MetalLookAndFeel.getCurrentTheme(MetalLookAndFeel.java:
1374)
at
javax.swing.plaf.metal.MetalLookAndFeel.createDefaultTheme(MetalLookAndFeel.java:
1306)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:
1313)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:425)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:455)
at
com.installshield.wizard.swing.SwingWizardUI.switchToSystemLAF(Unknown
Source)
at com.installshield.wizard.swing.SwingWizardUI.initialize(Unknown
Source)
at
com.installshield.wizard.StandardWizardListener.wizardInitializing(Unknown
Source)
at com.installshield.wizard.Wizard
$WizardListenerInitializer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:570)
The installer is unable to run in graphical mode. Try running the
installer with the -console or -silent flag.
(Jun 1, 2010 6:14:59 AM), Install,
com.installshield.wizard.StandardWizardListener, err, could not
initialize interface swing
process return code = 1

If I run the the GMI tool with the -console options it breaks shortly
after the tool starts with a NullPointer exception:
root@dbldap:/usr/ibm/common/ci/gmi/bin# ./gmi -console
The FLEXnet Wizard is preparing the installation, please wait...
Error in copying /tmp/ismp001/8612419/data/
a7390f9ecf6457bf3713f951c90b1bdb/1.0.0.0/resource.map there may not
be enough space on device
The FLEXnet Wizard is preparing the installation, please wait...
The FLEXnet Wizard is preparing the installation, please wait...
Error on inStream.readLine()
java.io.IOException: java: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:157)
at java.lang.ProcHelper.run(ProcHelper.java:60)
The FLEXnet Wizard is preparing the installation, please wait...
java.io.IOException: File does not exist: /usr/ibm/common/acsi/jre/lib/
ext/svcdump.jar
at
com.installshield.boot.streamhandler.ISMPFileURLStreamHandler.openConnection(Unknown
Source)
at java.net.URL.openConnection(URL.java:925)
at
sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:
91)
at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:41)
at java.net.URL.openConnection(URL.java:925)
at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:644)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:609)
at sun.misc.URLClassPath$3.run(URLClassPath.java:387)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:
351)
at sun.misc.URLClassPath.getLoader(URLClassPath.java(Inlined Compiled
Code))
at sun.misc.URLClassPath.getLoader(URLClassPath.java(Compiled Code))
at sun.misc.URLClassPath.getResource(URLClassPath.java(Compiled
Code))
at java.net.URLClassLoader
$ClassFinder.run(URLClassLoader.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at
java.security.AccessController.doPrivileged(AccessController.java(Compiled
Code))
at java.net.URLClassLoader.findClass(URLClassLoader.java(Compiled
Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code))
at java.lang.ClassLoader.loadClass(ClassLoader.java:502)
at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1030)
at java.util.ResourceBundle.findBundle(ResourceBundle.java:907)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:732)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:532)
at com.installshield.util.LocalizedStringResolver.resolve(Unknown
Source)
at com.installshield.util.LocalizedStringResolver.resolve(Unknown
Source)
at com.ibm.ci.gmi.util.GmiConfig.setGmiDefaults(GmiConfig.java:147)
at com.ibm.ci.gmi.util.GmiConfig.getConfig(GmiConfig.java:97)
at
com.ibm.ci.gmi.issi.commandline.InitializeGmi.initializeLogging(InitializeGmi.java:
102)
at
com.ibm.ci.gmi.issi.commandline.InitializeGmi.execute(InitializeGmi.java:
85)
at com.installshield.wizard.Wizard.executeStartupBeans(Unknown
Source)
at com.installshield.wizard.Wizard.startup(Unknown Source)
at com.installshield.boot.BootMain.bootstart(Unknown Source)
at com.installshield.boot.BootMain.executeBoot(Unknown Source)
at com.installshield.boot.si.SIBootMain.run(Unknown Source)
at java.lang.Thread.run(Thread.java:570)

Update Installer

Welcome to the Update Installer:


The Update Installer applies fixes, fix packs, refresh packs and other
maintenance packages on your computer. It can also be used to remove
maintenance packages.


Select Next to continue.

Warning: This program is protected by copyright laws and international
treaties. Unauthorized reproduction or distribution of this program,
or any
portion of it, may result in severe civil prosecution.


Press 1 for Next, 3 to Cancel or 5 to Redisplay [1]

Update Installer

[X] 1 - Install maintenance packages such as fixes, fix packs or
refresh packs.
[ ] 2 - Uninstall maintenance packages such as fixes, fix packs or
refresh
packs.
To select an item enter its number, or 0 when you are finished: [0]


Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1]

Update Installer

Performing offering query, please wait...
java.lang.NullPointerException
at com.ibm.ci.gmi.issi.wizard.actions.OfferingQueryAction
$OfferingQueryOperation.performOfferingQuery(OfferingQueryAction.java:
168)
at com.ibm.ci.gmi.issi.wizard.actions.OfferingQueryAction
$OfferingQueryOperation.execute(OfferingQueryAction.java:243)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:570)


Does anyone know how to run the GMI tool on a headless linux ? or does
anyone know how to run the gmi tool in silent mode? Where you either
specify a response file or pass in all parameters on the command line?

ChrisWorks

unread,
Jun 2, 2010, 4:38:33 AM6/2/10
to
I was able to start the wizard using an xwindows manager after
installing libxp6, however I now get the same error as when using
console mode. It looks like updater is trying to query which products
are installed at which point it fails with:

Error in copying /tmp/ismp002/4766031/data/


a7390f9ecf6457bf3713f951c90b1bdb/1.0.0.0/resource.map there may not
be enough space on device

Jun 2, 2010 1:34:39 AM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.


Error on inStream.readLine()
java.io.IOException: java: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:157)
at java.lang.ProcHelper.run(ProcHelper.java:60)

java.lang.NullPointerException
at com.ibm.ci.gmi.issi.wizard.actions.OfferingQueryAction
$OfferingQueryOperation.performOfferingQuery(OfferingQueryAction.java:
168)
at com.ibm.ci.gmi.issi.wizard.actions.OfferingQueryAction
$OfferingQueryOperation.execute(OfferingQueryAction.java:243)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown
Source)

Any ideas?

There is plenty of free space -- approx 10gb

ChrisWorks

unread,
Jun 2, 2010, 4:55:10 AM6/2/10
to
I solved my problem.

I needed to run the

/usr/ibm/common/acsi/bin/acsisrv.sh -start

before running the wizard.

It still writes a few exceptions, but it worked.

Eddie Hartman

unread,
Jun 2, 2010, 6:10:37 AM6/2/10
to

Thanks for sharing that, Chris!

0 new messages