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

install.bin ! not found

Hi ,

I have a installer bundled with vm for a solaris sparc machine,
as soon i start the installer process, ./install.bin - f
I have a console message "./install.bin not found" , but the subsequent message
indicates that installer is unpacking jre, and storing in /tmp directory,
even the installation is successful.
but i did not quite understand why the message "./install.bin not found"
occured.

in the IA project settings configuration states to use a jvm 1.4+.
in my sparc solaris machine, i have java version 1.5
I am using IA 2009 Enterprise edition. :confused:
Labels (1)
0 Kudos
(10) Replies
pv7721
Level 20

From your post, it looks like there is a space between - and f, it should have been

./install.bin -f 
0 Kudos
schinta
Level 3

Hi vlad,

while posting the message i accidentally added the space, on a sparc solaris
I am not putting any spaces, the properties from the file are being picked up
by IA
properly.


Regards,
srikanth
0 Kudos
pv7721
Level 20

Try launching the installer like this:

sh -x ./install.bin -f installer.properties


and see what exactly produces the error message you mentioned!
0 Kudos
schinta
Level 3

Sun Microsystems Inc. SunOS 5.10 Generic January 2005
$ bash
bash-3.00$ cd cs/Solaris/Disk1/InstData/VM/
bash-3.00$ sh -x install.bin
PATH=/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/export/home/artman2/Application/install/ImageMagick/ImageMagick-6.4.4/bin:/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/u11/app/oracle/bin:/u11/app/oracle/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
BLOCKSIZE=32768
JRESTART=3
JREREALSIZE=52082651
ARCHSIZE=182
RESREALSIZE=0
ARCHREALSIZE=5956401
LAX_NL_CURRENT_VM=jre/bin/java
LAX_INSTALLER_UNIX_INTERNAL_PROPERTY_0=bin/java
DEFAULTPERMS=002
INSTALLER_OVERRIDE_VMLIST=1.4+
INSTALLER_STDERR_REDIRECT=console
INSTALLER_STDOUT_REDIRECT=console
INSTALLER_HEAP_SIZE_INITIAL=536870912
INSTALLER_HEAP_SIZE_MAX=1073741824
INSTALLER_OPTIONAL_ARGS=-Xms64m -Xmx256m
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
+ [ ]
RESOURCEZIP_INCLUDED=false
OLD_LANG=C
LANG=C
+ export LANG
USERENV=1
+ pwd
ORIG_PWD=/export/home/artman2/cs/Solaris/Disk1/InstData/VM
+ uname -s
+ tr [:upper:] [:lower:]
OS_NAME=sunos
PATH=/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/export/home/artman2/Application/install/ImageMagick/ImageMagick-6.4.4/bin:/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/u11/app/oracle/bin:/u11/app/oracle/ctx/bin::.:/export/home/artman2/Application/java/bin:/export/home/artman2/Application:/export/home/artman2/Application/bin:/export/home/artman2/Application/Search/Bin:/export/home/artman2/Application/alchemy:/export/home/artman2/Application/lib/inso:/export/home/artman2/Application/xpdf/bin:/export/home/artman2/Application/ant/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ucb:/u11/app/oracle/bin:/u11/app/oracle/bin:/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=install.bin
+ echo install.bin
+ grep ^/
+ [ -z ]
+ pwd -P
ARGZERO=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ echo /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ sed s,//,/,g
+ sed s,\./,/,g
ARGZERO=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ resolveLink /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
rl_linked=true
rl_operand=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ dirname /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
rl_origDir=/export/home/artman2/cs/Solaris/Disk1/InstData/VM
+ [ /export/home/artman2/cs/Solaris/Disk1/InstData/VM = . ]
+ /bin/ls -l /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
rl_ls=-rwxrwxrwx 1 artman1 other 58155825 Mar 8 09:58 /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ [ true = true ]
+ dirname /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
rl_origDir=/export/home/artman2/cs/Solaris/Disk1/InstData/VM
rl_prevOperand=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ /bin/ls -l /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
rl_ls=-rwxrwxrwx 1 artman1 other 58155825 Mar 8 09:58 /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ set x -rwxrwxrwx 1 artman1 other 58155825 Mar 8 09:58 /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ shift 9
rl_linked=false
rl_linkee=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ basename /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ [ false = true -a install.bin != ]
rl_resolvedLink=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ basename /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ [ install.bin = ]
+ [ false = true ]
+ echo /export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ sed s,/\./,/,
resolvedLink=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
SEA_LOC=/export/home/artman2/cs/Solaris/Disk1/InstData/VM/install.bin
+ [ ]
+ [ ]
+ [ -d /tmp ]
INSTBASE=/tmp
ZIPLOC=/tmp/install.dir.14994
INSTALLER_DATA_DIR=/tmp/install.dir.14994/InstallerData
INSTALL_ZIP=/tmp/install.dir.14994/InstallerData/installer.zip
INSTALL_PADDED_ZIP=/tmp/install.dir.14994/InstallerData/installer.padded
DISK1_DIR=/tmp/install.dir.14994/InstallerData/Disk1
INSTDATA_DIR=/tmp/install.dir.14994/InstallerData/Disk1/InstData
RESOURCE_ZIP=/tmp/install.dir.14994/InstallerData/Disk1/InstData/Resource1.zip
ENV_PROPERTIES=/tmp/install.dir.14994/env.properties
TMP_LAX=/tmp/install.dir.14994/temp.lax
+ [ ]
+ mkdir /tmp/install.dir.14994
+ [ 0 -ne 0 ]
+ [ ]
+ mkdir /tmp/install.dir.14994/InstallerData
+ [ ]
EXTRA_SPACE=512
+ [ true = true ]
+ expr ( 5956401 + 52082651 + 0 )
BASE_SIZE=58039052
+ expr 58039052 * 2 + 58039052
BASE_SIZE=174117156
+ expr 174117156 / 512 + 512
NEEDED_SPACE=340584
+ [ ]
+ pwd
sePwd=/export/home/artman2/cs/Solaris/Disk1/InstData/VM
+ cd /tmp
+ POSIX_XPG_DF_CMD .
+ awk {print $4}
+ tail -n 1
AVAIL_SPACE=3087536
+ ! isValidNumber 3087536
install.bin: !: not found ____________>>>>:confused:
+ [ ]
+ cd /export/home/artman2/cs/Solaris/Disk1/InstData/VM
+ [ ]
+ [ ! ( -z 3087536 -o -z 340584 ) ]
+ [ 3087536 -lt 340584 ]
+ [ true = true ]
RESOURCE_PATH=/tmp/install.dir.14994/Solaris/resource
JRE_PADDED=/tmp/install.dir.14994/Solaris/resource/jre_padded
JRE_TARZ=/tmp/install.dir.14994/Solaris/resource/vm.tar.Z
JRE_TAR=/tmp/install.dir.14994/Solaris/resource/vm.tar
+ expr 52082651 / 32768
JRE_BLOCKS=1589
+ expr 52082651 % 32768
JRE_REMAINDER=14299
+ [ 14299 -gt 0 ]
+ expr 1589 + 1
JRE_BLOCKS=1590
+ [ ]
+ pwd
sePwd=/export/home/artman2/cs/Solaris/Disk1/InstData/VM
+ cd /tmp/install.dir.14994
+ mkdir Solaris
+ cd Solaris
+ mkdir resource
+ cd /export/home/artman2/cs/Solaris/Disk1/InstData/VM
+ echo Extracting the JRE from the installer archive...
Extracting the JRE from the installer archive...
+ [ ]
+ dd if=install.bin of=/tmp/install.dir.14994/Solaris/resource/jre_padded bs=32768 skip=3 count=1590
R1=0
+ [ ]
+ [ ]
+ dd if=/tmp/install.dir.14994/Solaris/resource/jre_padded of=/tmp/install.dir.14994/Solaris/resource/vm.tar.Z bs=52082651 count=1
R2=0
+ [ ]
+ rm -f /tmp/install.dir.14994/Solaris/resource/jre_padded
+ cksum /tmp/install.dir.14994/Solaris/resource/vm.tar.Z
+ awk { print $2 }
JRE_TARZ_SIZE=52082651
+ [ 52082651 -ne 52082651 -o 0 -ne 0 -o 0 -ne 0 ]
+ pwd
pre_unpack_pwd=/export/home/artman2/cs/Solaris/Disk1/InstData/VM
+ cd /tmp/install.dir.14994/Solaris/resource
+ echo Unpacking the JRE...
Unpacking the JRE...
+ [ ]
JRE_EXPANDED=false
+ [ ]
+ type gzip
+ [ 0 -eq 0 ]
+ gzip -d /tmp/install.dir.14994/Solaris/resource/vm.tar.Z
+ [ 0 -eq 0 ]
JRE_EXPANDED=true
+ [ ]
+ [ true = false ]
+ [ true = false ]
+ [ true = true ]
+ tar xf /tmp/install.dir.14994/Solaris/resource/vm.tar
0 Kudos
schinta
Level 3

Hi ,

Is the script trying to find the value of any expression ???

Regards
srikanth
0 Kudos
pv7721
Level 20

Well, it looks like the self-extractor code (that is nothing but a shell script) has a quirk on Solaris (most likely it's the Solaris that's not behaving like the rest of the Unices 🙂 so it's something in the calculation of the available disk space returns the escape character...

I've taken a look into the IA 2009 installation folder, in the resource/self_extractors/unix/use.sh file. There is this test:

if ! isValidNumber "$AVAIL_SPACE"; then
echo "DF output not POSIX standard"

AVAIL_SPACE=`$DF_CMD . 2>/dev/null | awk -F: '{ print $2 }' | awk '{ print $1 }' | tail $TAILN1ARG`

if ! isValidNumber "$AVAIL_SPACE"; then
unset $AVAIL_SPACE
fi
fi


If I'm not mistaken, the test should have read

[CODE]if [! isValidNumber "$AVAIL_SPACE"] then[/CODE]

while /bin/sh tolerates the missing [ ] on most unices (as nowadays /bin/sh is a link to /bin/bash on Linuxes, this might not be the case on Solaris.

What you may want to try, is to make a backup of the file, and try to correct the above, then to rebuild the installer and see if the error goes away. Be aware that modifying that file will affect all your future installers AND that Flexera Software does not support or encourage user modifications of the file (but if that fixes your issue you may want to point out a bug in their script and they might fix it for future versions (the issue seems to be present in IA 2010 too!)
0 Kudos
AdamMiller
Level 2

pv7721 wrote:

If I'm not mistaken, the test should have read

[CODE]if [! isValidNumber "$AVAIL_SPACE"] then[/CODE]


This won't work. [ is a program ('man test' if you're interested). [! is not a program. You'll just get a "[!: command not found". Try this pattern.
[CODE]
isValidNumber "$AVAIL_SPACE"
if [ $? -ne 0 ] # the space after [ is very important
doThings
fi
[/CODE]

$? holds the exit status of the last command in the pipe. In this case that's the return value of the isValidNumber function. If $? is not equal to 0, then perform the instructions inside the if.
0 Kudos
Vinay_Gaur
Level 2

I am also face the same problem on solaris:

install.bin ! not found

but, I am not able to resolve this till now. I think this is not an issue of script related.
0 Kudos
pv7721
Level 20

You will need to give a little more information about your issue: on what platform does this happen? What's the exact error message?
0 Kudos
pv7721
Level 20

It seems that this issue has just been fixed in the first Service Pack for IA 2010:
http://www.flexerasoftware.com/webdocuments/PDF/IA2010_ReleaseNotes.pdf

IOA-000050487 When launching an installer on Solaris 10, the following error message was written to the console: !: not found. This issue has been addressed, and installers now launch properly on Solaris 10.
0 Kudos