Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2127145.1
Update Date:2016-05-31
Keywords:

Solution Type  Problem Resolution Sure

Solution  2127145.1 :   ASMCMD Fails With 'kfod.bin: No such file or directory' After Patching Grid Home  


Related Items
  • Exadata X5-2 Quarter Rack
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>Oracle Exadata>DB: Exadata_EST
  •  


After GRID upgrade in Exadata- directories and binaries seem to have the wrong owner/group
Also- ASMCMD will fail with a KFOD error

Created from <SR 3-12283936151>

Applies to:

Exadata X5-2 Quarter Rack - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
$ asmcmd
/app/oragrid/product/12.1.0.2/grid/bin/kfod: line 22: /export/home/oragrid/%ORACLE_HOME%/bin/kfod.bin: No such file or directory
/app/oragrid/product/12.1.0.2/grid/bin/kfod: line 22: exec: /export/home/oragrid/%ORACLE_HOME%/bin/kfod.bin: cannot execute: No such file or directory
Use of uninitialized value $clus_mode in scalar chomp at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5015.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5043.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5092.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5092.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5092.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5139.

Symptoms

When accessing asmcmd, the following errors occur:

$ asmcmd
/app/oragrid/product/12.1.0.2/grid/bin/kfod: line 22: /export/home/oragrid/%ORACLE_HOME%/bin/kfod.bin: No such file or directory
/app/oragrid/product/12.1.0.2/grid/bin/kfod: line 22: exec: /export/home/oragrid/%ORACLE_HOME%/bin/kfod.bin: cannot execute: No such file or directory
Use of uninitialized value $clus_mode in scalar chomp at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5015.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5043.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5092.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5092.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5092.
Use of uninitialized value $clus_mode in string eq at /app/oragrid/product/12.1.0.2/grid/lib/asmcmdbase.pm line 5139.
ASMCMD

Changes

Recently upgraded the GRID_HOME software.

Cause

Unpublished Bug 22135419 - 12C GRID HOME PERMISSIONS NOT RESET, OCW PATCH PARTIALLY APPLIED AFTER POSTPATCH  

Solution

 This can be resolved by unlocking and relocking the GRID_HOME again.

# <GRID_HOME>/crs/install/rootcrs.pl -unlock
# <GRID_HOME>/crs/install/rootcrs.pl -patch

$ORACLE_HOME above is the GRID_HOME, and the commands need to be executed as root.

Note also that running rootcrs script above will cause the clusterware to shutdown and restart, so please plan accordingly.  The above will lock the grid home again

References

<BUG:22135419> - 12C GRID HOME PERMISSIONS NOT RESET, OCW PATCH PARTIALLY APPLIED AFTER POSTPATCH

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback