OPatch Apply Fails with Invalid Argument on IBM AIX on POWER Systems (64-bit) when patch files stored on NFS

(Doc ID 1921786.1)

Last updated on OCTOBER 04, 2016

Applies to:

Oracle Database - Enterprise Edition - Version and later
IBM AIX on POWER Systems (64-bit)


 When trying to apply a patch with opatch apply it fails with the following message:

[ Error during Patch conflict detection for apply patch Phase]. Detail: OPatch failed: ApplySession failed but Oracle Home has not been modified.Invalid argument

Using OPATCH_DEBUG=TRUE with the opatch apply command showed that it was failing with the following:

SystemCall::copyFile() failed, Invalid argument

Manual copies of the file involved worked successfully.

To determine if there was an issue with the patch file a checksum was perfomed with csum -h and it also failed with the following:

csum: shmat(): Invalid argument


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms