首页 > 代码库 > error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
安装rac10g,出现如下错误:
[root@rac2 oracle]# /u01/product/crs/root.sh WARNING: directory '/u01/product' is not owned by rootChecking to see if Oracle CRS stack is already configured/etc/oracle does not exist. Creating it now.Setting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory '/u01/product' is not owned by rootclscfg: EXISTING configuration version 3 detected.clscfg: version 3 is 10G Release 2.Successfully accumulated necessary OCR keys.Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.node <nodenumber>: <nodename> <private interconnect name> <hostname>node 1: rac1 rac1-priv rac1node 2: rac2 rac2-priv rac2clscfg: Arguments check out successfully.NO KEYS WERE WRITTEN. Supply -force parameter to override.-force is destructive and will destroy any previous clusterconfiguration.Oracle Cluster Registry for cluster has already been initializedStartup will be queued to init within 90 seconds.Adding daemons to inittabExpecting the CRS daemons to be up within 600 seconds.CSS is active on these nodes. rac1 rac2CSS is active on all nodes.Waiting for the Oracle CRSD and EVMD to startWaiting for the Oracle CRSD and EVMD to startOracle CRS stack installed and running under init(1M)Running vipca(silent) for configuring nodeapps/u01/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
处理办法:
1、添加unset LD_ASSUME_KERNEL <<<== Line to be added
操作如下:
/u01/product/crs/binvi vipcaif [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]then LD_ASSUME_KERNEL=2.4.19 export LD_ASSUME_KERNELfiunset LD_ASSUME_KERNEL <<<== Line to be added
2、设置ip:
root@rac2 bin]# ./oifcfg getif[root@rac2 bin]# ./oifcfg setif -global eth0/192.168.10.0:public[root@rac2 bin]# ./oifcfg setif -global eth1/192.168.20.0:cluster_interconnect[root@rac2 bin]# ./oifcfg getifeth0 192.168.10.0 global publiceth1 192.168.20.0 global cluster_interconnect
在oui执行vipca命令,(注意在root下)
[root@rac2 bin]# ./vipca
需要把两个节点都添加进去,然后填写vip地址
./crs_stat -t
error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。