AIX: genclntsh fails with "0653-609 Cannot remove lib/clntsh.exp" after applied patch 13940331

(Doc ID 1934907.1)

Last updated on OCTOBER 19, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 to 11.2.0.3 [Release 11.2]
IBM AIX on POWER Systems (64-bit)

Symptoms

The patch 13940331 was applied to 11.2.0.3 GI.The genclntsh and genttsh are supposed to be executed after doing "rootcrs.pl -patch" according to the current readme description, but if doing so following errors will be raised when executing genclntsh.

$genclntsh
rm: 0653-609 Cannot remove /app/oragrid/product/11.2.0.3/lib/clntsh.exp.
The file access permissions do not allow the specified action.
rm: 0653-609 Cannot remove /app/oragrid/product/11.2.0.3/lib/libclntsh.a.
The file access permissions do not allow the specified action.
rm: 0653-609 Cannot remove /app/oragrid/product/11.2.0.3/lib/libclntsh.so.
The file access permissions do not allow the specified action.
rm: 0653-609 Cannot remove /app/oragrid/product/11.2.0.3/lib/clntsh.map.
The file access permissions do not allow the specified action.
ld: 0711-934 SEVERE ERROR: Cannot create the output file: /app/oragrid/product/11.2.0.3/lib/shr.o
ld:open() The file access permissions do not allow the specified action.
ar: A file or directory in the path name does not exist.
ar: 0707-117 The fopen system call failed on file /app/oragrid/product/11.2.0.3/lib/shr.o.
mv: 0653-401 Cannot rename /app/oragrid/product/11.2.0.3/lib/shr.o to libclntsh.so:
A file or directory in the path name does not exist.

  

Cause

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