cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rbotto
Level 3

Silent install failing

I'm trying to build a Merge Module, and testing it making a WebInstaller supporting a silent install.

When I run the installer in console mode in linux, with a properties file, it runs smooth and execute all the actions.

When I run the same installer with the same properties file in silent install, it only execute the pre-install actions, and nothing from the install actions.

I'm attaching a zip file containing the IA project, the error log with LAX_DEBUG=true in both modes, and the "Output Debug Information" results in both modes.

Also attaching properties file.

Thanks in advance
Labels (1)
0 Kudos
(9) Replies
srikanthk_1010
Level 3

I am also facing same kind of problem with my insatller can any one suggest a solution for this?? I am runnig my installer in unix and all the steps go fine but the installer folder is not created..debug mode output is same for silent as well as console mode instllation
0 Kudos
sandy_2008
Level 7

Can you guys share your silent properties file please?
0 Kudos
srikanthk_1010
Level 3

INSTALLER_UI=CONSOLE
USER_INSTALL_DIR=/appl/buildmgr/dprj/install/dprj200721_DF
ORACLE_TNS_ALIAS=SD21DB01
ORACLE_SYSTEM_USER=SYSTEM
ORACLE_SYSTEM_PASSWORD=SD21DB01
ORACLE_DATA_PATH=/oradata/sd21db01/user_data
ORACLE_SCHEMA_PREFIX=DPRJ200721_qa_
WEB_SERVER_PLATFORM_CHOICE=Apache_Tomcat
HTTPD_HOME=/chroot/apache2
CATALINA_HOME=/chroot/tomcat55
SMTP_HOST=10.100.100.103
SMTP_FROM=keystone@evant.com
REPORT_HOST=10.100.169.23
HTTPD_PORT=20721
CATALINA_JK2_PORT=20722
CATALINA_SHUTDOWN_PORT=20723
LDAP_ENABLED=false
WEBSPHERE_HOME=/appl/WebSphere/AppServer
WEBSPHERE_NODE_NAME=sfoqa1Node01
WEBSPHERE_SERVER_NAME=server1
WEBSPHERE_PROFILE_NAME=default

this is the installer properties file for silent instllation we specify INSTALLER_UI=silent or run the installer with -i silent commannd
0 Kudos
srikanthk_1010
Level 3

bash-3.00$ sh dprj200721.bin
Preparing to install...
Checking for POSIX df.
Found POSIX df.
Checking tail options...
Using tail -n 1.
True location of the self extractor: /chroot/dprj/install/binfiles/test/dprj200721.bin
Creating installer data directory: /tmp/install.dir.2187286
Creating installer data directory: /tmp/install.dir.2187286/InstallerData
Gathering free-space information...
Space needed to complete the self-extraction: 6802 blocks
Available space: 9398648 blocks
Available blocks: 9398648 Needed blocks: 6802 (block = 512 bytes)
This installation does not contain a VM.
Extracting the installation resources from the installer archive...
Extracting install.zip from dprj200721.bin to /tmp/install.dir.2187286/InstallerData/installer.zip ...
Extracting to padded done, exit code = 0
Extracting from padded to zip done, exit code = 0
Creating disk1 data directory: /tmp/install.dir.2187286/InstallerData/Disk1
Creating instdata data directory: /tmp/install.dir.2187286/InstallerData/Disk1/InstData
Extracting resources from dprj200721.bin to /tmp/install.dir.2187286/InstallerData/Disk1/InstData/Resource1.zip ...
Extracting done, exit code = 0
Configuring the installer for this system's environment...

========= Analyzing UNIX Environment =================================
Setting UNIX (aix) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.

========= Analyzing LAX ==============================================
LAX found............................ OK.
LAX properties read.................. OK.

========= Finding VM =================================================
Valid VM types.......................... J2
Expanded Valid VM types................. JRE_J2 JDK_J2
WARNING! No valid lax.nl.current.vm available.
/usr/xpg4/bin:/usr/java5_64/bin:/chroot/ant/bin:/appl/oracle/product/Ora10.2.0.3.0_AIX_5L/bin:/chroot/WebSphere/AppServer/bin:/:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/keystone/bin:/usr/bin/X11:/sbin:/usr/vac/bin:/usr/local/bin:.:/home/db2inst3/sqllib/bin:/home/db2inst3/sqllib/adm:/home/db2inst3/sqllib/misc:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
Searching for VMs in PATH:
Looking in:............................. /usr/xpg4/bin
Looking in:............................. /usr/java5_64/bin
Found VM:............................. /usr/java5_64/bin/java
Version:............................. 1.5.0
Looking in:............................. /chroot/ant/bin
Looking in:............................. /appl/oracle/product/Ora10.2.0.3.0_AIX_5L/bin
Looking in:............................. /chroot/WebSphere/AppServer/bin
Looking in:............................. /
Looking in:............................. /usr/bin
Looking in:............................. /etc
Looking in:............................. /usr/sbin
Looking in:............................. /usr/ucb
Looking in:............................. /home/keystone/bin
Looking in:............................. /usr/bin/X11
Looking in:............................. /sbin
Looking in:............................. /usr/vac/bin
Looking in:............................. /usr/local/bin
Looking in:............................. .
Looking in:............................. /home/db2inst3/sqllib/bin
Looking in:............................. /home/db2inst3/sqllib/adm
Looking in:............................. /home/db2inst3/sqllib/misc
Looking in:............................. /bin
Looking in:............................. /usr/bin
Looking in:............................. /sbin
Looking in:............................. /usr/sbin
Looking in:............................. /usr/local/bin
checking: "1.5.0" against "JRE_J2": failed (wrong version)
* Using VM:............................. /usr/java5_64/bin/java

========= Virtual Machine Options ====================================
LAX properties incorporated............. OK.
classpath............................... "/tmp/install.dir.2187286/InstallerData:/tmp/install.dir.2187286/InstallerData/installer.zip"
main class.............................. "com.zerog.ia.installer.Main"
.lax file path.......................... "/tmp/install.dir.2187286/temp.lax"
user directory.......................... "/tmp/install.dir.2187286"
stdout to............................... "console"
sterr to................................ "console"
install directory....................... ""
JIT..................................... none
option (verify)......................... off
option (verbosity)...................... none
option (garbage collection extent)...... none
option (garbage collection thread)...... none
option (native stack max size).......... none
option (java stack max size)............ none
option (java heap max size)............. 50331648
option (java heap initial size)......... 16777216
option (lax.nl.java.option.additional).. none

========= Display settings ===========================================
X display............................... not set
UI mode................................. console

Launching installer...

========= VM Command Line ============================================
options: -Djava.compiler=NONE -Xmx50331648 -Xms16777216
CLASSPATH:/tmp/install.dir.2187286/InstallerData:/tmp/install.dir.2187286/InstallerData/installer.zip:/home/db2inst3/sqllib/java/db2java.zip:/home/db2inst3/sqllib/java/db2jcc.jar:/home/db2inst3/sqllib/function:/home/db2inst3/sqllib/java/db2jcc_license_cu.jar:.

========= Forking JAVA =============================================
LAX Version = 8.0
IAResourceBundle: create resource bundle: en
IACommandLineParser:: ---starting---
IACommandLineParser:: ---ending---
__________________________________________________________________________

InstallAnywhere 8.0 Enterprise
__________________________________________________________________________

Wed Apr 23 18:24:02 CDT 2008

Free Memory: 11548 kB
Total Memory: 16384 kB

2 Command Line Args:
0: -m
1: CONSOLE

java.class.path:
/tmp/install.dir.2187286/InstallerData
/tmp/install.dir.2187286/InstallerData/installer.zip
/home/db2inst3/sqllib/java/db2java.zip
/home/db2inst3/sqllib/java/db2jcc.jar
/home/db2inst3/sqllib/function
/home/db2inst3/sqllib/java/db2jcc_license_cu.jar
.

ZGUtil.CLASS_PATH:
/tmp/install.dir.2187286/InstallerData
/tmp/install.dir.2187286/InstallerData/installer.zip
/home/db2inst3/sqllib/java/db2java.zip
/home/db2inst3/sqllib/java/db2jcc.jar
/home/db2inst3/sqllib/function
/home/db2inst3/sqllib/java/db2jcc_license_cu.jar
.

sun.boot.class.path:
/usr/java5_64/jre/lib/vm.jar
/usr/java5_64/jre/lib/core.jar
/usr/java5_64/jre/lib/charsets.jar
/usr/java5_64/jre/lib/graphics.jar
/usr/java5_64/jre/lib/security.jar
/usr/java5_64/jre/lib/ibmpkcs.jar
/usr/java5_64/jre/lib/ibmorb.jar
/usr/java5_64/jre/lib/ibmcfw.jar
/usr/java5_64/jre/lib/ibmorbapi.jar
/usr/java5_64/jre/lib/ibmjcefw.jar
/usr/java5_64/jre/lib/ibmjgssprovider.jar
/usr/java5_64/jre/lib/ibmjsseprovider2.jar
/usr/java5_64/jre/lib/ibmjaaslm.jar
/usr/java5_64/jre/lib/ibmcertpathprovider.jar
/usr/java5_64/jre/lib/server.jar
/usr/java5_64/jre/lib/xml.jar

java.ext.dirs:
/usr/java5_64/jre/lib/ext

java.version == 1.5.0 (Java 2+)
java.vm.name == IBM J9 VM
java.vm.vendor == IBM Corporation
java.vm.version == 2.3
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.5
java.vendor == IBM Corporation
java.vendor.url == http://www.ibm.com/
java.class.version == 49.0
java.compiler == NONE
java.home == /usr/java5_64/jre
java.io.tmpdir == /tmp/
os.name == AIX
os.arch == ppc64
os.version == 5.3
path.separator == :
file.separator == /
file.encoding == ISO8859-1
user.name == keystone
user.home == /home/keystone
user.dir == /tmp/install.dir.2187286
user.language == en
user.region == null
__________________________________________________________________________

Preparing SILENT Mode Installation...

Installer: InstallAnywhere 8.0 Enterprise Build 3063
__________________________________________________________________________

System's temporary directory = /tmp
Loading externalized properties
===============================================================================
dprj (created with InstallAnywhere by Macrovision)
-------------------------------------------------------------------------------

JumpAction: no Jump Label target specified
JumpAction: no Jump Label target specified
JumpAction: no Jump Label target specified
SHUTDOWN REQUESTED
(X) commiting registry
(X) shutting down service manager
(X) cleaning up temporary directories
cleanUp()
calling cleanUpUNIX()
Exiting with exit code: -1
0 Kudos
srikanthk_1010
Level 3

This i s my installer script
0 Kudos
rbotto
Level 3

The file o3rcp_linux.txt that is attached to my post is the installer.properties files i'm using. In the zip are the IA project file, and 2 folders, silent and console, containing the DebugOutput obtained running in either mode, an also de log obtained running with LAX_DEBUG=true
0 Kudos
ramalaks
Level 6

In silent mode, it is going to skip all the gui panel actions in the pre-install actions. pl make sure your USER_INSTALL_DIR is set properly. You must use the \\ for the path for USER_INSTALL_DIR in the properties. file.

i see in one the USER_INSTALL_DIR is using forward slash.
0 Kudos
rbotto
Level 3

I was working on Linux, \\ are needed even on linux?

BTW, I've downloaded a trial of 2008 VP1 and has the same behaviour as IA 8.
0 Kudos
ramalaks
Level 6

I had probelm with / in windows when setting USER_INSATALL_DIR as i had a set ia variable action to set to our default value.

sorry I am not sure about linux

BTW,
i have problem refering to $EXTRACTOR_DIR$ when running as merge module. any idea why. it works fine in gui mode. or silent mode when starting installer from the .exe
0 Kudos