Wednesday, November 2, 2011

11.5.10.2 Installation Errors on RHEL 4

Error :1

RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for Train instance

afmkinit.sh exiting with status 127

.end std out.
cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory

.end err out.
****************************************************

Check log files @ O_H/appsutil/log/dbInstancecfg.log and installation log(11020548.log)

Sol:

1. Edit the <9i RDBMS_ORACLE_HOME>/appsutil/bin/adgetlnxver.sh file as below

2. Alter by replacing all occurrences of LD_ASSUME_KERNEL with XD_ASSUME_KERNEL

3. Press the retry button in rapidwiz screen

Below MOS Note Explains cleary about this issue:




---------------------------


Error 2:

There was an error while running the command - su orauser1 -c /u01/oracle/db/traindb/9.2.0/temp/Train_dba1/adrun9i.sh APPS APPS
/u01/oracle/db/traindb/9.2.0/appsutil/install/adlnkoh.sh: line 198: /u01/oracle/db/traindb/9.2.0/bin/sqlplus: No such file or directory
RW-50010: Error: - script has returned an error: 1
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for Train instance

Observed below error in make.log @ RDBMS_O_H/install/make.log


/usr/bin/gcc: line 22: /usr/bin/gcc32: No such file or directory
/usr/bin/gcc: line 22: exec: /usr/bin/gcc32: cannot execute: No such file or directory
make: [

Sol:

Check below cmd:

$ gcc -v
/usr/bin/gcc: line 22: /usr/bin/gcc32: No such file or directory
/usr/bin/gcc: line 22: exec: /usr/bin/gcc32: cannot execute: No such file or directory

Actual o/p should be :

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47.3)


Installed compat-gcc-32-c++-3.2.3-47.3 & compat-oracle-rhel4-1.0-3 rpms