kfod.bin: No such file or directory

Symptom:

oracle@oraclevm01: /home/oracle % : asmcmd
/u01/app/oracle/product/12.1.0/db_1/bin/kfod: line 22: /home/oracle/%ORACLE_HOME%/bin/kfod.bin: No such file or directory
Use of uninitialized value $clus_mode in scalar chomp at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5002.
Use of uninitialized value $clus_mode in string eq at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5030.
Use of uninitialized value $clus_mode in string eq at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5079.
Use of uninitialized value $clus_mode in string eq at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5079.
Use of uninitialized value $clus_mode in string eq at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5079.
Use of uninitialized value $clus_mode in string eq at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5126.
Use of uninitialized value $clus_mode in string eq at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5160.
Use of uninitialized value $clus_mode in string eq at /u01/app/oracle/product/12.1.0/db_1/lib/asmcmdbase.pm line 5160.

Solution:

oracle@oraclevm01: /home/oracle % : source asm.env
export ORACLE_SID=+ASM
export ORACLE_HOME=/u01/app/grid/12.1.0
alias dba=’cd /home/oracle/dbascripts’
alias migrate=’cd /home/oracle/migrate’
oracle@oraclevm01: /home/oracle % : asmcmd
ASMCMD>

Leave a Reply

Your email address will not be published. Required fields are marked *