Oracle Application DBA
Tuesday, March 7, 2017
Datapatch Fails with Error:”open2: IO::Pipe: Can’t spawn-NOWAIT: No such file or directory $ORACLE_HOME\\rdbms\admin/catcon.pm”
Error ::
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
Solution ::
Add path “c:\Windows\System32″ in 'PATH' environment variable.
set PATH=c:\windows\system32;%ORACLE_HOME%\perl\bin;%ORACLE_HOME%\bin;%PATH%
echo %PATH%
c:\windows\system32;D:\oracle\product\12.1.0.2\dbhome_1\bin;D:\oracle\product\12.1.0.2\dbhome_1\perl\bin
And then execute datapatch command
datapatch -verbose
1 comment:
srinu sharma
April 23, 2017 at 8:49 AM
Thanks bro..
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Thanks bro..
ReplyDelete