【翻译自mos文章】使用config.sh/config.bat来configureorre-configureGI(二)

2015-11-21 01:54:07 · 作者: · 浏览: 14
repancy, investigate for cause (different patches etc) and fix it .

Refer to note 1623645.1 if ORACLE_HOME_NAME is different on different nodes.

Bug 13409054 - OUI does not start with "Exception in thread "main" java.lang.UnsatisfiedLinkError: no oraInstaller in java.library.path"


This issue affects 11.2.0.3 on Solaris, it's fixed in 12.1 and the workaround is to modify /crs/config/config.pl

Replace the following:
sub setLdLibraryPath() {
my $osname=$^O;
$LD_LIBRARY_PATH = $ORACLE_HOME.$dirSep.'lib'.$pathSep.$OUI_LIBRARY_LOCATION;
$LD_LIBRARY_PATH .= $pathSep.$ORACLE_HOME.$dirSep.'bin';

$LD_LIBRARY_PATH .= $pathSep.$ENV{LD_LIBRARY_PATH} if (exists($ENV{LD_LIBRARY_PATH}));
$ENV{LD_LIBRARY_PATH} = $LD_LIBRARY_PATH;
}



With:
sub setLdLibraryPath() {
my $osname=$^O;
$LD_LIBRARY_PATH = $ORACLE_HOME.$dirSep.'lib'.$pathSep.$OUI_LIBRARY_LOCATION;
$LD_LIBRARY_PATH .= $pathSep.$ORACLE_HOME.$dirSep.'bin';

$LD_LIBRARY_PATH .= $pathSep.$ENV{LD_LIBRARY_PATH} if (exists($ENV{LD_LIBRARY_PATH}));
$ENV{LD_LIBRARY_PATH} = $LD_LIBRARY_PATH;

my $libpath = $ENV{LD_LIBRARY_PATH};
$ENV{LD_LIBRARY_PATH_64} = $libpath;
}