cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gjandris
Level 5

Error when launching installers on UNIX

When launching the installers on a UNIX machine, we have been noticing that the installer output shows ./: !: not found

Is there a way to get rid of this?
Labels (1)
0 Kudos

(9) Replies
pv7721
Level 20

On what platform does this happen?
0 Kudos
gjandris
Level 5

This happens on Solaris. According to my QA, all the UNIX platforms they try to install on. HPUX, HP-Itanium, and Solaris.
0 Kudos
gjandris
Level 5

Also, we are using 2009 SP1.
0 Kudos
pv7721
Level 20

Any VM bundled? If yes, what's it's version?
0 Kudos
gjandris
Level 5

Yes bundled vm for Solaris 1.5.0_17
for HP and Itanium 1.5.0_14
0 Kudos
pv7721
Level 20

Would you please try to launch your setups like this: sh -x setup.bin maybe there will be clearer where's the offending !
0 Kudos
gjandris
Level 5

Here is the output from running with sh -x up to where the error shows up:
I have also found this doesn't seem to happen in 2009 without SP 1.

->sh -x xngsrv_sol.bin
PATH=/app/jdk1.5.0_17/bin:/build/ant/bin:/build/ant/lib:/usr/X/bin:/usr/local/bi
n:/app/oracle/product/10.2/bin:/app/oracle/product/10.2/lib:/usr/bin:/bin:/usr/b
in:/sbin:/usr/sbin:/usr/local/bin
BLOCKSIZE=32768
JRESTART=3
JREREALSIZE=53109977
ARCHSIZE=114
RESSIZE=659
RESREALSIZE=21583124
ARCHREALSIZE=3727588
LAX_NL_CURRENT_VM=jre/bin/java
LAX_INSTALLER_UNIX_INTERNAL_PROPERTY_0=bin/java
DEFAULTPERMS=002
INSTALLER_OVERRIDE_VMLIST=1.5+
INSTALLER_STDERR_REDIRECT=
INSTALLER_STDOUT_REDIRECT=
INSTALLER_HEAP_SIZE_INITIAL=16777216
INSTALLER_HEAP_SIZE_MAX=50331648
INSTALLER_OPTIONAL_ARGS=
RESOURCE_DIR=Solaris
DEFAULT_UI_MODE=GUI
GREP=grep
+ uname
+ [ SunOS = SunOS -a -x /usr/xpg4/bin/grep ]
GREP=/usr/xpg4/bin/grep
+ echo Preparing to install...
Preparing to install...
+ [ 3 ]
VM_INCLUDED=true
+ [ 659 ]
RESOURCEZIP_INCLUDED=true
OLD_LANG=
LANG=C
+ export LANG
USERENV=1
+ pwd
ORIG_PWD=/build/cronbld
+ tr [:upper:] [:lower:] + uname -s

OS_NAME=sunos
PATH=/usr/xpg4/bin:/app/jdk1.5.0_17/bin:/build/ant/bin:/build/ant/lib:/usr/X/bin
:/usr/local/bin:/app/oracle/product/10.2/bin:/app/oracle/product/10.2/lib:/usr/b
in:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
POSIXLY_CORRECT=1
+ export POSIXLY_CORRECT
OS_BLOCKSIZE=512
DF_AVAIL_COL=4
+ [ ]
DF_CMD=df -P
+ df -P /
+ [ ]
DF_CMD=POSIX_XPG_DF_CMD
+ [ ]
TAIL_CMD=tail -n 1 /dev/null
+ tail -n 1 /dev/null
TAILN1ARG=-n 1
+ [ ]
+ [ -x /bin/ls ]
lsCMD=/bin/ls
+ trap tmp_dir_cleanup 1 2 3 4 6 8 10 12 13 15
+ pwd -P
PWD=pwd -P
ARGZERO=xngsrv_sol.bin
+ grep ^/
+ echo xngsrv_sol.bin
+ [ -z ]
+ pwd -P
ARGZERO=/build/cronbld/xngsrv_sol.bin
+ echo /build/cronbld/xngsrv_sol.bin
+ sed s,//,/,g
+ sed s,\./,/,g
ARGZERO=/build/cronbld/xngsrv_sol.bin
+ resolveLink /build/cronbld/xngsrv_sol.bin
rl_linked=true
rl_operand=/build/cronbld/xngsrv_sol.bin
+ dirname /build/cronbld/xngsrv_sol.bin
rl_origDir=/build/cronbld
+ [ /build/cronbld = . ]
+ /bin/ls -l /build/cronbld/xngsrv_sol.bin
rl_ls=-rw-r--r-- 1 cronbld devel 78533908 Jul 20 02:52 /build/cronbld/xngs
rv_sol.bin
+ [ true = true ]
+ dirname /build/cronbld/xngsrv_sol.bin
rl_origDir=/build/cronbld
rl_prevOperand=/build/cronbld/xngsrv_sol.bin
+ /bin/ls -l /build/cronbld/xngsrv_sol.bin
rl_ls=-rw-r--r-- 1 cronbld devel 78533908 Jul 20 02:52 /build/cronbld/xngs
rv_sol.bin
+ set x -rw-r--r-- 1 cronbld devel 78533908 Jul 20 02:52 /build/cronbld/xngsrv_s
ol.bin
+ shift 9
rl_linked=false
rl_linkee=/build/cronbld/xngsrv_sol.bin
+ basename /build/cronbld/xngsrv_sol.bin
+ [ false = true -a xngsrv_sol.bin != ]
rl_resolvedLink=/build/cronbld/xngsrv_sol.bin
+ basename /build/cronbld/xngsrv_sol.bin
+ [ xngsrv_sol.bin = ]
+ [ false = true ]
+ sed s,/\./,/,
+ echo /build/cronbld/xngsrv_sol.bin
resolvedLink=/build/cronbld/xngsrv_sol.bin
SEA_LOC=/build/cronbld/xngsrv_sol.bin
+ [ ]
+ [ /build/cronbld/tmp ]
INSTBASE=/build/cronbld/tmp
+ [ ]
+ [ ! -d /build/cronbld/tmp ]
ZIPLOC=/build/cronbld/tmp/install.dir.10210
INSTALLER_DATA_DIR=/build/cronbld/tmp/install.dir.10210/InstallerData
INSTALL_ZIP=/build/cronbld/tmp/install.dir.10210/InstallerData/installer.zip
INSTALL_PADDED_ZIP=/build/cronbld/tmp/install.dir.10210/InstallerData/installer.
padded
DISK1_DIR=/build/cronbld/tmp/install.dir.10210/InstallerData/Disk1
INSTDATA_DIR=/build/cronbld/tmp/install.dir.10210/InstallerData/Disk1/InstData
RESOURCE_ZIP=/build/cronbld/tmp/install.dir.10210/InstallerData/Disk1/InstData/R
esource1.zip
ENV_PROPERTIES=/build/cronbld/tmp/install.dir.10210/env.properties
TMP_LAX=/build/cronbld/tmp/install.dir.10210/temp.lax
+ [ ]
+ mkdir /build/cronbld/tmp/install.dir.10210
+ [ 0 -ne 0 ]
+ [ ]
+ mkdir /build/cronbld/tmp/install.dir.10210/InstallerData
+ [ ]
EXTRA_SPACE=512
+ [ true = true ]
+ expr ( 3727588 + 53109977 + 21583124 )
BASE_SIZE=78420689
+ expr 78420689 * 2 + 78420689
BASE_SIZE=235262067
+ expr 235262067 / 512 + 512
NEEDED_SPACE=460008
+ [ ]
+ pwd
sePwd=/build/cronbld
+ cd /build/cronbld/tmp
+ POSIX_XPG_DF_CMD .
+ tail -n+ awk 1{print $4}

AVAIL_SPACE=127718802
+ ! isValidNumber 127718802
xngsrv_sol.bin: !: not found
+ [ ]
+ cd /build/cronbld
+ [ ]
+ [ ! ( -z 127718802 -o -z 460008 ) ]
0 Kudos
pv7721
Level 20

Maybe this indeed is a regression introduced by SP1. I suggest if it is possible to rollback to the 2009 version which seems to work correctly. And also if possible try to report the problem to the Acresso Suppport, maybe they'll acknowledge it (maybe it's already known, as being reported by someone else).
0 Kudos
gjandris
Level 5

Yes, I rolled back to the previous version. I will submit something to support and see what they say. This doesn't keep the installer from working, we just don't want our customers seeing it and submitting bug reports to us on it.
0 Kudos