Cloning activity for the Release 12.1 on RHEL 5 on a new server gives the following error while running the adcfgclone.pl :
adlnktools.sh started
Log file located at /d01/inst/apps/DEV_uat/logs/ora/10.1.2/install/make_08241118.log
Error while running adlnktools.sh.
return code = .46
Please check logfile located at /d01/inst/apps/DEV_uat/logs/ora/10.1.2/install/make_08241118.log
Log file located at /d01/inst/apps/DEV_uat/logs/ora/10.1.2/install/make_08241118.log
Error while running adlnktools.sh.
return code = .46
Please check logfile located at /d01/inst/apps/DEV_uat/logs/ora/10.1.2/install/make_08241118.log
Further investigating the error in the logfile:
adrelink.sh fails with the following error:
usr/lib/libXtst.so.6: undefined reference to `__stack_chk_fail@GLIBC_2.4'
/usr/lib/libXtst.so.6: undefined reference to `__fprintf_chk@GLIBC_2.3.4'
/usr/lib/libXtst.so.6: undefined reference to `__sprintf_chk@GLIBC_2.3.4'
collect2: ld returned 1 exit status
/usr/lib/libXtst.so.6: undefined reference to `__fprintf_chk@GLIBC_2.3.4'
/usr/lib/libXtst.so.6: undefined reference to `__sprintf_chk@GLIBC_2.3.4'
collect2: ld returned 1 exit status
This error can occur only on OEL5 or RHEL 5 and to resolve please use the following steps:
ls -l /usr/lib/libXtst.so.6
lrwxrwxrwx 1 root root /usr/lib/libXtst.so.6 -> libXtst.so.6.1.0
lrwxrwxrwx 1 root root /usr/lib/libXtst.so.6 -> libXtst.so.6.1.0
unlink /usr/lib/libXtst.so.6
ln -s /usr/X11R6/lib/libXtst.so.6.1
/usr/lib/libXtst.so.6
ls -l /usr/lib/libXtst.so.6
lrwxrwxrwx 1 root root /usr/lib/libXtst.so.6 ->
/usr/X11R6/lib/libXtst.so.6.1
Rerun to the apps user login and execute the following script to verify the adrelink.sh is successfully running with the above fix or not.
$ORACLE_HOME/appsutil/clone/adlnktools.sh
If it is completed successfully, then rerun the adcfgclone.pl script to complete rest of the process.
1 comment:
Thanks for this sharing..
Post a Comment