在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 不匹配。

问题 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

目录
相关文章
|
1月前
|
安全 Linux 网络安全
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
如何在 VM 虚拟机中安装 Red Hat Enterprise Linux 9.3 操作系统保姆级教程(附链接)
88 0
|
1月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC
|
2月前
|
Oracle 关系型数据库
oracle Hanganalyze no RAC
oracle Hanganalyze no RAC
15 0
|
2月前
|
Oracle 关系型数据库
oracle rac 手工安装补丁,不适用auto
oracle rac 手工安装补丁,不适用auto
25 3
|
6月前
|
Oracle 关系型数据库 Java
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
|
7月前
|
编解码 Java Linux
linux【redhat&ubuntu】下ffmpeg-3.1安装编译及视频转码
这篇是几年前整理的老文章了,当时在调研流视频推送及播放相关技术,并在项目中应用,使用到ffmpeg,所以整理了这篇文章,但并未发布。最近又有相关的技术需求,所以整理出来,作为一个新的开始。
173 0
|
8月前
|
关系型数据库 Linux 数据库
百度搜索:蓝易云【Redhat Linux9上安装DB2【详解】】
注意事项: - 安装过程中需要注意所选的软件包版本和系统依赖。 - 在创建 DB2 用户和组时,可以使用自己的用户名和组名,但需要与后续操作一致。 - 在配置环境变量时,需要注意所填写的路径是否正确,否则会导致启动 DB2 失败。 - 在启动 DB2 时,需要以 DB2 用户身份进行操作,否则会提示权限不足。
73 0
|
11月前
|
存储 Oracle 关系型数据库
|
存储 缓存 运维
运维 --- Nginx介绍和在CentOS/Redhat下安装
运维 --- Nginx介绍和在CentOS/Redhat下安装
运维 --- Nginx介绍和在CentOS/Redhat下安装
|
缓存 NoSQL Linux
Redis(一)-Redis的安装以及概述(以Red Hat为例)
Redis是一款开源的高性能 key-value 数据库。它被广泛应用于实际的开发中,高效的纯内存操作使得它可以用来做缓存。单进程单线程的操作使得它可以用来做分布式锁。
138 0
Redis(一)-Redis的安装以及概述(以Red Hat为例)