Re: coding issue

  • From: Tanel Poder <tanel@xxxxxxxxxxxxxx>
  • To: Andrew Kerber <andrew.kerber@xxxxxxxxx>
  • Date: Thu, 15 Nov 2018 18:35:32 -0500

Not exactly the same thing, but some time ago I hit the bug 20513257
( kfod.bin: No such file or directory error on Linux )

Solution, open <GridHome>/bin/kfod in an editor and change:

    OHOME=%ORACLE_HOME%

To:
    OHOME=$ORACLE_HOME

*On Linux!*

I wonder what kind of automated tests would pass on Linux when some
critical environment variable values go missing... but perhaps the
hardcoded paths elsewhere in the script explain why the tests pass ... as
long as your grid home *happens to be *the hardcoded one, it's all good...

--
Tanel Poder
https://blog.tanelpoder.com/seminar/


On Wed, Nov 14, 2018 at 11:10 AM Andrew Kerber <andrew.kerber@xxxxxxxxx>
wrote:

So I ran into something strange the other day when I was installing an
oracle 18c home.  I looked at the file, and found this gem hardcoded into
kfod in the GI home zip file:

OHOME=/u01/app/18.0.0/grid
ORACLE_HOME=${OHOME}
export ORACLE_HOME

exec $OHOME/bin/kfod.bin "$@"

Perhaps Oracle should work on their coding just a bit.

--
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'

Other related posts: