redhat6安装10g rac过程中的报错

问题描述:redhat 6 来安装oracle10.2.0.1的集群,坑太多了,不建议这样安装,即使安装成功,在升级过程中也会有各种报错。redhat5安装还比较顺利,6就一路坑

1.缺少依赖 libX11.so.6 is needed by xorg-x11-deprecated-libs-6.8.2-31.i386

[root@10g-rac1 oracle]# rpm -ivh xorg-x11-deprecated-libs-6.8.2-31.i386.rpm 
warning: xorg-x11-deprecated-libs-6.8.2-31.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 4f2a6fd2: NOKEY
error: Failed dependencies:
    libX11.so.6 is needed by xorg-x11-deprecated-libs-6.8.2-31.i386
    libXext.so.6 is needed by xorg-x11-deprecated-libs-6.8.2-31.i386

rpm下载地址:https://vault.centos.org/5.11/os/x86_64/CentOS/  

 

 2.安装xorg-x11-deprecated-libs-6.8.2-31.i386 之前还缺少两个依赖,还是网站搜索直接下载

[root@10g-rac1 oracle]# yum  install   libXext.i686
[root@10g-rac1 oracle]# yum install glibc.i686
[root@10g-rac1 oracle]# rpm -ivh xorg-x11-deprecated-libs-6.8.2-31.i386.rpm 
warning: xorg-x11-deprecated-libs-6.8.2-31.i386.rpm: Header V3 DSA/SHA1 Signature, key ID 4f2a6fd2: NOKEY
Preparing...                ########################################### [100%]
   1:xorg-x11-deprecated-lib########################################### [100%]

 

 

 

安装执行脚本

[root@10g-rac1 oracle]# sh /home/oracle/clusterware/rootpre/rootpre.sh

 

3.弹出图形安装界面报错,继续安装依赖

[oracle@10g-rac1 clusterware]$ ./runInstaller 
********************************************************************************

Please run the script rootpre.sh as root on all machines/nodes. The script can be found at the toplevel of the CD or stage-area. Once you have run the script, please type Y to proceed

Answer 'y' if root has run 'rootpre.sh' so you can proceed with Oracle Clusterware installation.
Answer 'n' to abort installation and then ask root to run 'rootpre.sh'.

********************************************************************************

Has 'rootpre.sh' been run by root? [y/n] (n)
y

Starting Oracle Universal Installer...

Checking installer requirements...

Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1, asianux-2 or redhat-6
                                      Passed


All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-12-30_10-18-57AM. Please wait ...[oracle@10g-rac1 clusterware]$ Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.

Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2021-12-30_10-18-57AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..
java.lang.UnsatisfiedLinkError: /tmp/OraInstall2021-12-30_10-18-57AM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.<clinit>(Unknown Source)
    at java.awt.Component.<clinit>(Unknown Source)
    at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
    at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
    at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
    at oracle.sysman.oii.oiic.OiicInstaller.getInterfaceManager(OiicInstaller.java:436)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:926)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)
Exception in thread "main" java.lang.NoClassDefFoundError
    at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:222)
    at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:193)
    at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:202)
    at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:151)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:984)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:866)

 

 

yum install -y glibc-kernheaders
yum install libXp-devel
libXp-1.0.2-2.1.el6.x86_64

yum install -y libXp.so.6
yum install -y libXt.so.6
yum install -y libXtst.so.6
报错
Protected multilib versions: libXtst-1.2.3-1.el6.i686 != libXtst-1.2.2-2.1.el6.x86_64
yum install -y libXtst.so.6 --setopt=protected_multilib=false

 

4.重复安装提示CRS已经存在

[root@10g-rac1 ~]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
Oracle CRS stack is already configured and will be running under init(1M)

解决方案

[root@10g-rac1 ~]# rm /etc/oracle/scls_scr/10g-rac1/oracle/cssfatal
rm: remove regular file `/etc/oracle/scls_scr/10g-rac1/oracle/cssfatal'? y

 

5.执行root.sh脚本时在600秒安装失败

 Failure at final check of Oracle CRS stack

10

 解决方案:在到600秒时,执行下面三个脚本,然后加入开机自启动

 

 

根据文档:http://blog.chinaunix.net/uid-20687159-id-5841336.html  可以解决

 

 

 

推荐这些文章:

oracle 11g手工建数据库过程

环境采样

oracle@prd:/home/oracle$cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
  oracle@prd:/home/oracle$uname -r  3.10.0-327.el7.x86_64
  oracle:Release 11.2.0.4.0 Production,单机版

步骤一、指定新的SID

oracle@prd:/home/oracle$cat .bash_profile //查看下环境变量设置情况
# .bash_profile ...

Docker具体安装过程

 
【Windows安装Docker】
1、下载安装包
地址:https://www.docker.com/get-started
点击:Download for Windows
2、安装
双击 Docker Desktop Installer.exe
不勾选 Enable Hyper-V Windows Features,不然会报错,不知道怎么回事,去掉就对了
提示 Installation succeeded 安装成功
3、启动如果提示
An err...

oracle rac 添加SCAN IP

环境:OS:Centos 7DB:19.3.0.0 2节点RAC
 
1.查看scan的配置信息[grid@rac01 ~]$ srvctl config scanSCAN name: rac-scan, Network: 1Subnet IPv4: 192.168.56.0/255.255.255.0/enp0s3, staticSubnet IPv6: SCAN 1 IPv4 VIP: 192.168.56.199SCAN VIP is enabled.2.查看scan的状态以及scan ip所处节点[grid@rac01 ~]$ srvctl status scanSCAN ...

centos7.7 oracle 12c RAC 部署安装记录

 
centos7.7 oracle 12c RAC 安装教程
 
0.安装openfiler(密码:123456)
eth0:192.168.2.100(web控制台登录IP,账号:openfiler,密码:password)
eth1:192.168.2.101
子网:255.255.255.0
 
#修改主机名为openfiler
vi /etc/sysconfig/network  
 
#设置完openfiler 控制台中的Volume、Systems、services 后
vi /etc/initiators.deny 注释iqn...

Annotation(注释) _Override _ Deprecated _ SuppressWarnings

 
 
 
 
 
 Deprecated

 
 
 
 SuppressWarnings

 
 
 
 
 
 
 
元注解
 
 

...

oracle RAC使用service管理连接

一、  service连接介绍
1.1传统连接方式
 RAC利用vip或者scan ip漂移实现数据库故障转移的高可用性,应用连接到数据库通常是连接vip(10g)或者scan ip(11g)并指定服务名为db_unique_name,连接会根据负载均衡自动分配到RAC集群的任一节点,某节点出现故障时vip漂移,实现应用连接透明切换。
这种连接方式的好处是在节点间实现负载均衡,将数据库压力分摊,不会导致某个节点因为连接过多而出现压力过载的问题。而缺点则是会增大节点间的通信和传输压力。
RAC架构实现数据一致性需要在节点间同步缓存,称为缓存融合。例如在节点1插入的数据,在节...

centos8安装过程

centos7安装教程+centos8安装教程,以及问题解决
为了方便查找文章,做了备份,所以转自
https://blog.csdn.net/weixin_29807369/article/details/116815927?share_token=2af5e87d-e936-46e6-bc2b-a7402d5f5b30    u盘linux选uefi,U盘UEFI+GPT模式安装CentOS7.X系统
制作CentOS7安装盘
还是老套路,开局先制作安装盘,UltraISO软碟通,上图
(1) 打开UltraISO软件,选择“文件”->“打开”选择li...

文章标题:redhat6安装10g rac过程中的报错
文章链接:https://www.dianjilingqu.com/4482.html
本文章来源于网络,版权归原作者所有,如果本站文章侵犯了您的权益,请联系我们删除,联系邮箱:saisai#email.cn,感谢支持理解。
THE END
< <上一篇
下一篇>>