You should try running this setup.exe without STAF and see if it works (or 
gives you an error message).  For example:

C:\STAF\data\STAF\tmp\TIAT\Job25\ESE\image>setup.exe /u 
"C::\STAF\data\STAF\tmp\TIAT\Job25\Response.rsp" /l 
"C:\STAF\data\STAF\tmp\TIAT\Job25_DB2.log"

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:   Sharon Lucas/Austin/IBM@IBMUS
To:     Ahmed Mostafa <eng.ahmed2...@gmail.com>
Cc:     Botrous Thalouth <botr...@eg.ibm.com>, STAF 
<staf-users@lists.sourceforge.net>
Date:   05/31/2011 10:20 AM
Subject:        Re: [staf-users] Process Start error: CreateProcess failed 
with OS RC 216: Invalid working directory



The Windows system error code you are getting is 216.  Windows system 
error code 216 (as described at 
http://msdn.microsoft.com/en-us/library/ms681382%28v=vs.85%29.aspx) means: 


ERROR_EXE_MACHINE_TYPE_MISMATCH 
216 (0xD8) 
The version of %1 is not compatible with the version you're running. Check 
your computer's system information to see whether you need a x86 (32-bit) 
or x64 (64-bit) version of the program, and then contact the software 
publisher. 

So, I'm wondering if the setup.exe executable that you are trying to run 
is is not compatible with the Windows operating system that is installed. 
For example, is the setup.exe in this ESE\image directory a x64 (64-bit) 
version of the program, but are you running a x86 (32-bit) version of the 
Windows operatiing system of this machine?  That would explain why it 
works on other Windows machines if they are running 64-bit Windows, for 
example. 

You can tell what version of the Windows operating system you are running 
by checking if an environment variable named PROCESSOR_ARCHITECTURE exists 
and if it doesn't then a x86 (32-bit) version of the Windows operating 
system is installed.  If this environment variable exists and it's value 
is AMD64, then a x64 (64-bit) version of Windows is installed. 

As to what version of ESE\setup.exe is installed, you need to check 
whatever was used to install that executable. 

Also, which STAF installation file did you use to install STAF on this 
machine (one for 32-bit Windows or one for 64-bit Windows)?  Running this 
following command provides this information: 

STAF local MISC LIST PROPERTIES 

Also, what version of Windows is running on this machine?  For example: 
Windows 7, Windows Server 2008 R2, Windows XP, Windows Vista, etc. Running 
the following command provides this information: 

STAF local VAR RESOLVE STRING {STAF/Config/OS/Name} 

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313




From:        Ahmed Mostafa <eng.ahmed2...@gmail.com> 
To:        STAF <staf-users@lists.sourceforge.net> 
Cc:        Botrous Thalouth <botr...@eg.ibm.com> 
Date:        05/31/2011 09:48 AM 
Subject:        [staf-users] Process Start error: CreateProcess failed 
with OS RC 216: Invalid working directory 



Hello,

When I submit the following Process Start request from command line or 
STAX I get the following error: 
C:\>staf local PROCESS Start Command 
C:\STAF\data\STAF\tmp\TIAT\Job25\ESE\image\setup.exe Parms /u 
"C:\STAF\data\STAF\tmp\TIAT\Job25\Response.rsp" /l 
"C:\STAF\data\STAF\tmp\TIAT\Job25_DB2.log" WorkDir 
C:\STAF\data\STAF\tmp\TIAT\Job25\ESE\image Wait  ReturnStdOut ReturnStdErr
Error submitting request, RC: 10
Additional info
---------------
Error starting the process. CreateProcess failed with OS RC 216
Invalid working directory: C:\STAF\data\STAF\tmp\TIAT\Job25\ESE\image\ 

While the directory exists and contains setup.exe: 
C:\>dir C:\STAF\data\STAF\tmp\TIAT\Job25\ESE\image
 Volume in drive C has no label.
 Volume Serial Number is 34CE-B5A0

 Directory of C:\STAF\data\STAF\tmp\TIAT\Job25\ESE\image

05/31/2011  06:28 PM    <DIR>          .
05/31/2011  06:28 PM    <DIR>          ..
05/26/2011  04:56 AM                27 autorun.inf
05/31/2011  06:27 PM    <DIR>          db2
05/26/2011  04:56 AM           381,675 db2NewRegHKLM.txt
05/26/2011  08:57 AM            83,304 db2prereqcheck.exe
05/20/2011  05:20 AM           228,864 db2unins
05/26/2011  11:45 AM             2,009 db2unins.bat
05/31/2011  06:28 PM    <DIR>          doc
05/31/2011  06:28 PM    <DIR>          readmefirst
05/26/2011  05:25 AM             1,503 readmefirst.htm
05/26/2011  05:25 AM               693 readmefirst.txt
05/26/2011  12:56 PM           118,632 setup.exe
               8 File(s)        816,707 bytes
               5 Dir(s)  39,561,740,288 bytes free 

Although the same STAX job works on other Windows machines.
What can be the cause of the problem?

Thank you
-- 
Ahmed Mostafa Abdel-Baky
Associate Software Engineer
Cairo Technology Development Center
IBM Egypt
Mobile: 0110887370
Office: +202-35361735
E-mail: ab...@eg.ibm.com 
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with 
vRanger. 
Installation's a snap, and flexible recovery options mean your data is 
safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with 
vRanger. 
Installation's a snap, and flexible recovery options mean your data is 
safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to