SAP Knowledge Base Article - Preview

2022286 - System copy, export: java.io.IOException: Cannot run - Invalid program name *or* CreateProcess error=2

Symptom

The export of a database using MigMon - started manually - from Software Provisioning Manager (SWPM Tool SAP Note 1680045) fails with an error
The export monitor shows

UNIX based OS:

----------------------------------

export_monitor.sh

/<path to SAPJVM>/sapjvm_6/bin/java -Xmx2048m -cp

./.:./migmon.jar:./activation.jar:./mail.jar

com.sap.inst.lib.app.SecureStartup -Xmx2048m

com.sap.inst.migmon.exp.ExportMonitor -dbType ora

java.io.IOException: Cannot run - Invalid program name.

 at java.lang.UNIXProcess.forkAndExec(Native Method)

 at java.lang.UNIXProcess.access$500(UNIXProcess.java:20)

 at java.lang.UNIXProcess$1$1.run(UNIXProcess.java:109

 

Windows OS:

----------------------------------

D:\migtool>"D:\sapjvm_6\bin\java.exe" -Xmx1024m -

cp ".\.;.\migmon.jar;.\activation.jar;.\mail.jar" com.sap.inst.lib.app.

SecureStartup "-Xmx1024m" com.sap.inst.migmon.exp.ExportMonitor -

Djdk.lang.Process.allowAmbigousCommands=true -dbType o

ra -javaversion

java version: 1.6.0_75

java vendor: SAP AG

SAP AG(build 6.1.068 24.55-b13, Jun 22 2014 00:31:35 - 61_REL - optU -

windows amd64 - 6 - bas2:220276 (mixed mode))

java.io.IOException: CreateProcess error=2, The system cannot find the

file specified

at java.lang.ProcessImpl.create(Native Method)

at java.lang.ProcessImpl.<init>(ProcessImpl.java:277)

at java.lang.ProcessImpl.start(ProcessImpl.java:31)

at java.lang.ProcessBuilder.start(ProcessBuilder.java:455)

at java.lang.Runtime.exec(Runtime.java:593)

at com.sap.inst.lib.io.ProcessUtils.createProcess


Read more...

Environment

- All UNIX and Windows based operating system

- All SAP System based on SAP NetWeaver

Product

SAP NetWeaver 7.0 ; SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

System copy, export, IOException, invalid, export monitor, UNIXProcess, CreateProcess, SWPM, sapinst, migmon , KBA , BC-INS-SWPM , Installation with Software Provisioning Manager , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.