Kbase P128294: fmconfig -enable fails to install SonicMQ on AIX - ERROR: Process exit code: 255
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  26/05/2010 |
|
Status: Verified
SYMPTOM(s):
fmconfig -enable fails to install SonicMQ on AIX
fmconfig -enable fails to install SonicMQ on Linux
SonicMQ 5 installations fails with:
ERROR: Creation of new SonicMQDB failed.
ERROR: Tailoring of SonicMQ failed.
SonicMQ 5 debug installation fails with:
Calling SonicMQ config tool.
ERROR: Failed to start JVM for SonicMQ config dbtool_create.
java.io.IOException: A file or directory in the path name does not exist
Using -debug installation fails with:
ERROR: Process exit code: 255
ERROR: JVM process exit code [ 255 ].
ERROR: Install of SonicMQ failed.
Process exit value unknown, process still running.
ERROR: Process exit code: 1
ERROR: JVM process exit code: 1
Standalone SonicMQ 6 installation from command line fails with:
java.lang.NoClassDefFoundError: java/awt/Container
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java:180)
ldd JREHOME/bin/libawt.so shows several missing libraries from X11 subsystem
FACT(s) (Environment):
Using correct version of java
Installing OpenEdge service pack does not help
Removing Sonic installation files and starting over does not solve the problem
Removing vpd.properties file does not help
OpenEdge 10.1B
OpenEdge Management 10.1B
OpenEdge 10.2x
UNIX
Linux
CAUSE:
The OS is missing X11.* libraries. Since SonicMQ install uses java awt libraries and they depend on X11 OS libraries, the installation fails.
FIX:
From a proenv session issue the following cmds:
proenv> . slib_env
proenv> . java_env
proenv> cd /usr/java/j2sdk1.4.2_08/jre/lib/i386
proenv> ldd ./libawt.so
The output of ldd will give the list of missing libraries
Example given for linux:
linux-gate.so.1 => (0xffffe000)
libmlib_image.so => /usr/java/j2sdk1.4.2_08/jre/lib/i386/libmlib_image.so (0xf7c9d000)
libjvm.so => /usr/java/j2sdk1.4.2_08/jre/lib/i386/client/libjvm.so (0xf7869000)
libXp.so.6 => not found
libXt.so.6 => not found
libXext.so.6 => not found
libXtst.so.6 => not found
libX11.so.6 => not found
libm.so.6 => /lib/tls/libm.so.6 (0xf783b000)
libdl.so.2 => /lib/libdl.so.2 (0xf7837000)
libjava.so => /usr/java/j2sdk1.4.2_08/jre/lib/i386/libjava.so (0xf7814000)
libc.so.6 => /lib/tls/libc.so.6 (0xf76e9000)
libnsl.so.1 => /lib/libnsl.so.1 (0xf76d3000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf76c1000)
/lib/ld-linux.so.2 (0x56555000)
libverify.so => /usr/java/j2sdk1.4.2_08/jre/lib/i386/libverify.so (0xf76af000)
On AIX the library name is typically libawt.a.
Install X11 libraries for AIX (subsystem of Graphics bundle in smitty):
This above example was resolved by installing following rpm packages: X11.base.lib, X11.motif.lib and X11.base.rte; xorg-x11-deprecated-libs, xorg-x11-libs