The following errors are found during discovery. Please examine the error messages and the targets being discovered if any.cause:This is a known bug in the kfod wrapper script: Unpublished BUG 19682778 - 121021GIPSU: KFOD FILE IN RAC HOME NOT CORRECT AFTER APPLYING GIPSUDiscoveryWarning: kfod returns status 126. Please check the OSSCONF environment variable and make sure that cellinit.ora and cellip.ora are readable by the EM agent. DiscoveryWarning: /u01/app/oracle/product/12.2.0.1/dbhome_1/bin/kfod: line 22: /u01/agent12c/agent12c/sysman/emd/%ORACLE_HOME%/bin/kfod.bin: No such file or directory /u01/app/oracle/product/12.2.0.1/dbhome_1/bin/kfod: line 22: exec: /u01/agent12c/agent12c/sysman/emd/%ORACLE_HOME%/bin/kfod.bin: cannot execute: No such file or directory
Workaround:
- Change the first line in the kfod wrapper script "$OHOME/bin/kfod.bin"
OHOME=%ORACLE_HOME%
to
OHOME=<DB_Home> Eg. OHOME=/u01/app/oracle/product/12.2.0.1/dbhome_1
Your kfod file must look like this:
cd $ORACLE_HOME
pwd
/u01/app/oracle/product/12.2.0.1/dbhome_1
cd bin/
cat kfod
#!/bin/sh
#
# $Header: opsm/utl/kfod.sbs
#
# kfod
#
# Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
#
# NAME
# kfod - KFOD utility
#
# DESCRIPTION
# This is a script which is a wrapper on top of kfod.bin
# This script is only shipped to the DATABASE home
#
# MODIFIED (MM/DD/YY)
# samjo 05/21/14 - Creation
OHOME=/u01/app/oracle/product/12.2.0.1/dbhome_1
ORACLE_HOME=${OHOME}
export ORACLE_HOME
exec $OHOME/bin/kfod.bin "$@"