The last error occurred when installing clusterware. When root. sh is executed on the last node, the following error occurs:
Oracle CRS stack installed and running under init (1 M)
Running vipca (silent) for processing nodeapps
/U01/app/oracle/product/10.2.0/crs_1/jdk/jre // bin/java: error while loading shared libraries: libpthread. so.0: cannot open shared object file: No such file or directory
Modify the vipca file on the two nodes according to the online method, and add
Unset LD_ASSUME_KERNEL
As follows:
Esac
Unset LD_ASSUME_KERNEL
ARGUMENTS = ""
NUMBER_OF_ARGUMENTS = #
If [$ NUMBER_OF_ARGUMENTS-gt 0]; then
ARGUMENTS = $ *
Fi
Then run./vipca
[Root @ rac2 bin] #./vipca
PRKH-1010: unable to communicate with CRS service.
[PRKH-1000: Unable to load srvm has shared library
[PRKN-1008: Unable to load shared library "srvmhas10"
Or slave database, from
LD_LIBRARY_PATH = "/u01/crs/oracle/product/10.2.0/crs/jdk/jre/lib/i386/client: /u01/crs/oracle/product/10.2.0/crs/jdk/jre/lib/i386:/u01/crs/oracle/product/10.2.0/crs/jdk/jre /.. /lib/i386:/u01/crs/oracle/product/10.2.0/crs/lib32:/u01/crs/oracle/product/10.2.0/crs/srvm/lib32: /u01/crs/oracle/product/10.2.0/crs/lib:/u01/crs/oracle/product/10.2.0/crs/srvm/lib :"
[Java. lang. UnsatisfiedLinkError:/u01/crs/oracle/product/10.2.0/crs/lib32/libsrvmhas10.so: libclntsh. so.10.1: wrong ELF class: ELFCLASS64]
PRKH-1010: unable to communicate with CRS service.
[PRKH-1000: Unable to load srvm has shared library
[PRKN-1008: Unable to load shared library "srvmhas10"
Or slave database, from
LD_LIBRARY_PATH = "/u01/crs/oracle/product/10.2.0/crs/jdk/jre/lib/i386/client: /u01/crs/oracle/product/10.2.0/crs/jdk/jre/lib/i386:/u01/crs/oracle/product/10.2.0/crs/jdk/jre /.. /lib/i386:/u01/crs/oracle/product/10.2.0/crs/lib32:/u01/crs/oracle/product/10.2.0/crs/srvm/lib32: /u01/crs/oracle/product/10.2.0/crs/lib:/u01/crs/oracle/product/10.2.0/crs/srvm/lib :"
[Java. lang. UnsatisfiedLinkError:/u01/crs/oracle/product/10.2.0/crs/lib32/libsrvmhas10.so: libclntsh. so.10.1: wrong ELF class: ELFCLASS64]
PRKH-1010: unable to communicate with CRS service.
[PRKH-1000: Unable to load srvm has shared library
[PRKN-1008: Unable to load shared library "srvmhas10"
Or slave database, from
LD_LIBRARY_PATH = "/u01/crs/oracle/product/10.2.0/crs/jdk/jre/lib/i386/client: /u01/crs/oracle/product/10.2.0/crs/jdk/jre/lib/i386:/u01/crs/oracle/product/10.2.0/crs/jdk/jre /.. /lib/i386:/u01/crs/oracle/product/10.2.0/crs/lib32:/u01/crs/oracle/product/10.2.0/crs/srvm/lib32: /u01/crs/oracle/product/10.2.0/crs/lib:/u01/crs/oracle/product/10.2.0/crs/srvm/lib :"
[Java. lang. UnsatisfiedLinkError:/u01/crs/oracle/product/10.2.0/crs/lib32/libsrvmhas10.so: libclntsh. so.10.1: wrong ELF class: ELFCLASS64]
According to the above error, 32 and i386 numbers are frequently displayed. I suspect that some 32-bit packages are not installed. When I first installed the rpm package, I am still struggling with this problem, I have 32-bit and 64-bit data. Do I have 32-bit data? Then there was no 32-bit package. This is also the reason for searching for such information on the Internet.
Install the 32-bit rpm package and reinstall clusterware...
This time I encountered a problem. I don't know why I had to restart rac1 for no reason and failed to find a solution. I had to recreate rac1.
At this time
Oracle CRS stack installed and running under init (1 M)
Running vipca (silent) for processing nodeapps
/U01/app/oracle/product/10.2.0/crs_1/jdk/jre // bin/java: error while loading shared libraries: libpthread. so.0: cannot open shared object file: No such file or directory
Modify vipca this time, solve the problem of adding unset LD_ASSUME_KERNEL, and finally confirm that clusterware is successfully installed:
[Root @ rac1 bin] #./crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
[Root @ rac1 bin] #./crs_stat-t-v
Please refer to the following link for more information: R/ra f/FT.
----------------------------------------------------------------------
Ora. rac1.gsd application 0/5 0/0 ONLINE rac1
Ora. rac1.ons application 0/3 0/0 ONLINE rac1
Ora. rac1.vip application 0/0 0/0 ONLINE rac1
Ora. rac2.gsd application 0/5 0/0 ONLINE rac2
Ora. rac2.ons application 0/3 0/0 ONLINE rac2
Ora. rac2.vip application 0/0 0/0 ONLINE rac2
From Laughing