My Oracle Support Banner

datapatch or upgrade on Windows Fails with Error:”open2: IO::Pipe: Can’t spawn-NOWAIT: No such file or directory $ORACLE_HOME\\rdbms\admin/catcon.pm” (Doc ID 1989321.1)

Last updated on OCTOBER 23, 2018

Applies to:

Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Microsoft Windows x64 (64-bit)

Symptoms

datapatch Fails with Error:”open2: IO::Pipe: Can’t spawn-NOWAIT: No such file or directory $ORACLE_HOME\\rdbms\admin/catcon.pm”

Example:
Executing Datapatch command for bundle patch 20315685 (12.1.0.2.2)  fails with error:

D:\oracle\product\12.1.0.2\dbhome_1\OPatch>datapatch -verbose
SQL Patching tool version 12.2.0.0.0 on Thu Feb 26 12:26:18 2015
Copyright (c) 2014, Oracle. All rights reserved.
Connecting to database…OK
catcon: ALL catcon-related output will be written to C:\temp/sqlpatch_catcon__catcon_10336.lst
catcon: See C:\temp/sqlpatch_catcon_*.log files for output generated by scripts
catcon: See C:\temp/sqlpatch_catcon__*.lst files for spool files, if any
open2: IO::Pipe: Can’t spawn-NOWAIT: No such file or directory at D:\oracle\product\12.1.0.2\dbhome_1\\rdbms\admin/catcon.pm line 470

 or

Database Upgrade fails with error:

%ORACLE_HOME%\rdbms\admin>dbupgrade

Can't spawn "cmd.exe": No such file or directory at F:\app\dbaadmin\product\12.2.0\dbhome_1\rdbms\admin\catctl.pl line 9666.

DERIVED ORACLE HOME catctl = [F:\app\dbaadmin\product\12.2.0\dbhome_1]

Can't spawn "cmd.exe": No such file or directory at %ORACLE_HOME%\rdbms\admin\catctl.pl line 9666.

Can't spawn "cmd.exe": No such file or directory at %ORACLE_HOME%\rdbms\admin\catctl.pl line 9666.

catctlGetOrabase = [C:\Users\dbaadmin\AppData\Local\Temp]

Analyzing file %ORACLE_HOME%\rdbms\admin\catupgrd.sql

Log file directory = [C:\Users\dbaadmin\AppData\Local\Temp\cfgtoollogs\upgrade20180912113238]

catcon: ALL catcon-related output will be written to [C:\Users\dbaadmin\AppData\Local\Temp\cfgtoollogs\upgrade20180912113238/catupgrd_catcon_3676.lst]

catcon: See [C:\Users\dbaadmin\AppData\Local\Temp\cfgtoollogs\upgrade20180912113238/catupgrd*.log] files for output generated by scripts

catcon: See [C:\Users\dbaadmin\AppData\Local\Temp\cfgtoollogs\upgrade20180912113238/catupgrd_*.lst] files for spool files, if any

Unexpected error encountered in catctlMain; Error Stack Below; exiting

open2: IO::Pipe: Can't spawn-NOWAIT: No such file or directory at %ORACLE_HOME%\rdbms\admin/catcon.pm line 653.

at %ORACLE_HOME%\perl\lib/IPC/Open3.pm line 336.

eval {...} called at %ORACLE_HOME%\perl\lib/IPC/Open3.pm line 335

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.