PRVG-2027 : Owner of file “filename” is inconsistent across nodes.

CVU (Cluster Verification Utility) logged multiple PRVG-2027 errors in CRS alret log. This environment was recently patched with latest PSU, which failed while applying changes to GMIR.

$GRID_HOME/bin/crsctl binary ownership should be root:dba.

db01:+ASM3:/u01/app/oracle>ls -al /u01/product/12.1.0.2/grid/bin/crsctl
-rwxr-xr-x 1 oracle dba 9545 Oct 27 07:05 /u01/product/12.1.0.2/grid/bin/crsctl
db02:+ASM4:/u01/app/oracle>ls -al /u01/product/12.1.0.2/grid/bin/crsctl
-rwxr-xr-x 1 root dba 9545 Oct 25 11:29 /u01/product/12.1.0.2/grid/bin/crsctl

List of patches and patch level on both nodes are same.

db01:+ASM3:>kfod op=patches
—————
List of Patches
===============
19769480
20299023
20831110
21359755
21436941
21948354
22291127
23054246
23854735
24006101
24007012
db01:+ASM3:>kfod op=patchlvl
——————-
Current Patch level
===================
1505651481
db02:+ASM4:>kfod op=patches
—————
List of Patches
===============
19769480
20299023
20831110
21359755
21436941
21948354
22291127
23054246
23854735
24006101
24007012
db02:+ASM4:>kfod op=patchlvl
——————-
Current Patch level
===================
1505651481

Node db01, I could see the enrty related to PREPATCH, but no entry for POSTPATCH.

Invoking “/u01/product/12.1.0.2/grid/bin/cluutil -ckpt -oraclebase /u01/app/oracle -writeckpt -name ROOTCRS_PREPATCH -state SUCCESS”

Node db02

Invoking “/u01/product/12.1.0.2/grid/bin/cluutil -ckpt -oraclebase /u01/app/oracle -writeckpt -name ROOTCRS_PREPATCH -state SUCCESS”
Invoking “/u01/product/12.1.0.2/grid/bin/cluutil -ckpt -oraclebase /u01/app/oracle -writeckpt -name ROOTCRS_POSTPATCH -state SUCCESS”

So ROOTCRS_POSTPATCH never got executed on db01, which explains difference in permissions

On db01

# crsctl stop crs
# $GRID_HOME/crs/install/rootcrs.sh -patch
db01:+ASM3:/u01/app/oracle>ls -al /u01/product/12.1.0.2/grid/bin/crsctl
-rwxr-xr-x 1 root dba 9545 Oct 27 07:05 /u01/product/12.1.0.2/grid/bin/crsctl
Advertisements
This entry was posted in Oracle Administration, Oracle OPatch and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s