oracle 10g rac 包root.sh报错,Oracle 10g RAC安装过程中,运行root.sh报错error while loading shared libraries: libpt...

OS:Redhat Linux AS5

在节点2上运行root.sh报错,红色字部分

[root@rac2 crs]# /u01/crs/oracle/product/10.2.0/crs/root.sh

WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/crs/oracle/product' is not owned by root

WARNING: directory '/u01/crs/oracle' is not owned by root

WARNING: directory '/u01/crs' is not owned by root

WARNING: directory '/u01' is not owned by root

Checking to see if Oracle CRS stack is already configured

/etc/oracle does not exist. Creating it now.

Setting the permissions on OCR backup directory

Setting up NS directories

Oracle Cluster Registry configuration upgraded successfully

WARNING: directory '/u01/crs/oracle/product/10.2.0' is not owned by root

WARNING: directory '/u01/crs/oracle/product' is not owned by root

WARNING: directory '/u01/crs/oracle' is not owned by root

WARNING: directory '/u01/crs' is not owned by root

WARNING: directory '/u01' is not owned by root

clscfg: EXISTING configuration version 3 detected.

clscfg: version 3 is 10G Release 2.

assigning default hostname rac1 for node 1.

assigning default hostname rac2 for node 2.

Successfully accumulated necessary OCR keys.

Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.

node :

node 1: rac1 rac1-priv rac1

node 2: rac2 rac2-priv rac2

clscfg: Arguments check out successfully.

NO KEYS WERE WRITTEN. Supply -force parameter to override.

-force is destructive and will destroy any previous cluster

configuration.

Oracle Cluster Registry for cluster has already been initialized

Startup will be queued to init within 90 seconds.

Adding daemons to inittab

Expecting the CRS daemons to be up within 600 seconds.

CSS is active on these nodes.

rac1

rac2

CSS is active on all nodes.

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Waiting for the Oracle CRSD and EVMD to start

Oracle CRS stack installed and running under init(1M)

Running vipca(silent) for configuring nodeapps

/u01/crs/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

提示说没有libpthread.so.0这个文件。

但在系统中用find / -name libpthread.so.0却可以找到。

解决这个问题,需要三个步骤来完成:

1、在每个节点上,修改$CRS_HOME/bin目录下的srvctl和vipca文件,在vipca文件ARGUMENTS=""行之前和srvctl文件的export LD_ASSUME_KERNEL行之后增加 unset LD_ASSUME_KERNEL语句

2、使用$CRS_HOME/bin目录下的oifcfg工具配置pub ip和pri ip

[root@rac1 bin]# ./oifcfg setif -global eth0/192.168.0.0:public

[root@rac1 bin]# ./oifcfg setif -global eth1/172.16.0.0:cluster_interconnect

[root@rac1 bin]# ./oifcfg getif

eth0 192.168.0.0 global public

eth1 172.16.0.0 global cluster_interconnect

[root@rac1 bin]#./oifcfg iflist

3、在任意一个节点上,用root用户,手动运行vipca,配置完正确的prvip和vip 信息之后,crs就可以安装完成。

记录一下[@more@]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值