zoukankan      html  css  js  c++  java
  • 在RedHat AS 4下安装Oracle 10G RAC遇到的问题集

    问题 1:无法激活以太网设备。
    错误消息为“Cannot activate network device eth0!Device eth0 has different MAC address than expected, ignoring.”

    解决方法:
    “ifconfig”报告的 MAC 地址与 /etc/sysconfig/network-scripts/ifcfg-eth0 不匹配。您可以使用新的 MAC 地址更新文件,或者只需通过 system-config-network 工具探测新的 MAC 地址。


    问题 2:无法生成 OCFS2 配置文件。
    在尝试生成 OCFS2 配置文件时,出现错误消息“Could not start cluster stack.This must be resolved before any OCFS2 filesystem can be mounted”。

    解决方法:
    以 root 用户身份(而非 oracle 用户身份)执行 ocfs2console。


    问题 3:无法在远程节点上安装 Oracle 集群件或 Oracle 数据库软件。
    在 Oracle 集群件软件安装期间,出现错误消息“/bin/tar:. /inventory/Components21/oracle.ordim.server/10.2.0.1.0:time stamp 2006-11-04 06:24:04 is 25 s in the future”。

    解决方法:
    通过安装 VMware 工具来同步客户 OS 与主机 OS 的时间,并在 /boot/grub/grub.conf 中包含选项“clock=pit nosmp noapic nolapic”。请参阅第 3 部分,以获得更多信息。


    问题 4:无法挂载 OCFS2 文件系统。
    在尝试挂载 ocfs2 文件系统时,出现错误消息“mount.ocfs2:Transport endpoint is not connected while mounting”。

    解决方法:
    执行 /usr/bin/system-config-securitylevel 以禁用防火墙。


    问题 5:无法启动 ONS 资源。
    当 VIPCA 尝试启动 ONS 应用程序资源时,出现错误消息“CRS-0215:Could not start resource ‘ora.rac2.ons’”。

    解决方法:
    ONS 尝试访问本地主机,但无法解析 IP 地址。将以下项添加到 /etc/hosts 中。

    127.0.0.1 localhost

    问题 6:配置ocfs2 时出错, 不能ADD NODE

    # ocfs2console

    Configure Nodes --> Add --> 输入NODE名和IP --> OK --> Apply
    出现如下错误:
        o2cb_ctl: Unable to access cluster service while creating node
            Could not add node node1

    解决方法:
    将/etc/ocfs2/下的不正确的cluster.conf文件删掉,重新用ocfs2console 配置

    问题 7:Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]

    # /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.

    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.

     
    Default user to own the driver interface [oracle]: oracle
    Default group to own the driver interface [dba]: dba
    Start Oracle ASM library driver on boot (y/n) [y]: y
    Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: [ OK ]

    Loading module "oracleasm": Unable to load module "oracleasm"[FAILED]

    解决方法:

    出现这个问题可能有2方面的原因:


    1. 下载的asm和linux内核不一致,这时候需要下载相应的asm来安装,也可以升级linux内核
    2. 查询/lib/modules/2.6.9-22.ELsmp/kernel/drivers/addon/oracleasm下是否有oracleasm.ko,如果有,还出现这个问题需要修改/etc/SElinux/config文件里面的:
    SELINUX=enforcing -----> SELINUX=disabled
    或者:
    Applications -> System Settings -> Security Level -> Security Level Configuration -> SELinux tab
    and the unclick the 'Enabled' box.
    重启系统,OK

  • 相关阅读:
    纽约顶级富婆鄙视链:4星|《我是个妈妈,我需要铂金包:一个耶鲁人类学博士的上东区育儿战争》
    2星|陈春花《顺德40年》:各种官宣的汇编,内容太虚,新信息太少
    人们喜欢传播符合自己三观的新闻,不在乎真假:4星|《环球科学》2018年12月号
    营销相关21本书
    5星|《辩论:美国制宪会议记录》:200年前的会议纪要
    3星|《品牌物理学》:理论没有实际应用案例,有推销软件的嫌疑
    关于思考的思考12本书,5星2本,4星7本
    Chrome插件 postman的使用方法详解!最全面的教程
    postman发送json请求,使用案例
    SUSE Enterprise Server 12 SP3 64 设置防火墙开放8080端口
  • 原文地址:https://www.cnblogs.com/jimeper/p/1292025.html
Copyright © 2011-2022 走看看