关于在RHEL5上安装crs的错误

2008-06-04 | 4:36 pm分类:工作日志, 数据库 | 101 views

关于在RHEL5上安装crs的错误
1、在RHEL5上配置安装oracle10g crs时运行到最后一步,需要启动配置vipca时系统抱错。WARNING: directory ‘/app/oracle/product/10.2.0′ is not owned by root
WARNING: directory ‘/app/oracle/product’ is not owned by root
WARNING: directory ‘/app/oracle’ is not owned by root
WARNING: directory ‘/app’ is not owned by root
/app/oracle/product/10.2.0/crs/bin/crsctl.bin: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
这个问题是新版的glibc和10g的java有不兼容的地方。按照官方文档要在运行root.sh之前修改vipca脚本。这样就可以安装了。即将该脚本中arch=‘’uname -m‘以下4行注释掉
arch=`uname -m`
#if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
#then
# LD_ASSUME_KERNEL=2.4.19
# export LD_ASSUME_KERNEL
#fi
#End workaround
这样就不会出现错误了。

2、另外RHEL5及相应发行版,包括enterprise linux(oracle),中文字体极差。建议安装时将默认会话指定为英文。export=LANG即可

3、 另外虽然crs已经安装好了。运行crs_stat也没有问题。但是netca后集群linster无法配置,提示crs_stat丢失文件。而且安装 db后无法启动dbca图形界面,java报错。启动netmgr倒是可以,但点击项目时后台也报了一堆java错误。此前只是在安装jdk1.6是在 /etc/profile中将java_home指向了新的javahome。没有做其他设置。允许java –version也还是指显示旧版本。为1.4.2。不能启动图形化界面和crs——listener不能配置是什么问题呢?在rhel4及相应版本上 还没有这个问题。看来要等待。

在rac2(remote机器运行root.sh)是最容易出问题的,问题有:
1) /home/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

解决方法:
a.修改$CRS_HOME/bin/vipca文件
注释掉以下几行,注释后效果如下:
arch=`uname -m`
#if [ "$arch" = "i686" -o "$arch" = "ia64" ]
#then
#     LD_ASSUME_KERNEL=2.4.19
#     export LD_ASSUME_KERNEL
#fi
#End workaround

b.注释$CRS_HOME/bin/srvctl文件和$ORACLE_HOME/bin/srvctl文件
注释掉以下几行,注释后效果如下:
#Remove this workaround when the bug 3937317 is fixed
#LD_ASSUME_KERNEL=2.4.19
#export LD_ASSUME_KERNEL

2) The given interface(s), “eth0″ is not public. Public interfaces should be used to configure virtual IPs.
解决方法:
图形界面上运行$CRS_HOME/bin/vipca,手工重新配置rac1-vip和rac2-vip。
su - oracle
su root
vipca

3) Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]

解决方法:
重新运行sh root.sh
step1: rm -rf /var/tmp/.oracle
step2: cd /etc/oracle/scls_scr/rac2/oracle/
rm -rf cssfatal
step3: re-run sh root.sh
step4: 如果还不成功的话,基本就是共享磁盘有问题。

Sorry, comments for this entry are closed at this time.