Solve the libpthread. so.0 problem in Oracle 10gRAC Installation
I. Problem
The CRS of 10.2.0.1 encounters the same problem in the following situations on linux5:
1. root
Oracle CRS stack installed and running under init (1 M)
Running vipca (silent) for processing nodeapps
/Oracle/product/10.2.0/crs/jdk/jre // bin/java: error while loading shared libraries: libpthread. so.0: cannot open shared object file: No such file or directory
Vipca is called above. If srvctl is called at the time of root, the same error will be reported.
2. When srvctl is run separately:
O10n2-> srvctl stop nodeapps-n o10n2
/Oracle/product/10.2.0/crs/jdk/jre/bin/java: error while loading shared libraries: libpthread. so.0: cannot open shared object file: No such file or directory
II. Solution Process:
1. Check that the package has been installed.
O10n2-> ldd/oracle/product/10.2.0/crs/jdk/jre/bin/java
Linux-gate.so.1 => (0xf77a2000)
Libpthread. so.0 =>/lib/libpthread. so.0 (0x4a087000)
Libdl. so.2 =>/lib/libdl. so.2 (0x4a0a2000)
Libc. so.6 =>/lib/libc. so.6 (0x49f2c000)
/Lib/ld-linux.so.2 (0x49f0d000)
2. Try to install the relevant rpm package again
[Root @ o10n2 media] # yum install glibc-2.5-58.i686
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
ULN support will be disabled.
Cdrom | 1.1 kB
Setting up Install Process
Package glibc-2.5-58.i686 already installed and latest version
You are also prompted that you have installed
3. The path cannot be found.
[Root @ o10n2 bin] # vi/etc/ld. so. conf
Added:
/Lib
/Usr/local/lib
[Root @ o10n2 bin] #/sbin/ldconfig-v
The problem persists.
3. Solution
After searching on the internet, you only need to find the srvctl and vipca files
LD_ASSUME_KERNEL = 2.4.19
Export LD_ASSUME_KERNEL
Add the following line.
Unset LD_ASSUME_KERNEL
After the above adjustments, the problem is solved.