静默方式安装11.2.0.4 rac linux 遇到的问题


1、安装selinux 没有disable 导致执行 命令无权限


2、集群安装好,无法初始化ocr,错误报

017-06-20 00:49:25.850: [ CRSMAIN][2339768096] Checking the OCR device
2017-06-20 00:49:25.850: [ CRSMAIN][2339768096] Sync-up with OCR
2017-06-20 00:49:25.850: [ CRSMAIN][2339768096] Connecting to the CSS Daemon
2017-06-20 00:49:25.850: [ CRSMAIN][2339768096] Getting local node number
2017-06-20 00:49:25.851: [ CRSMAIN][2339768096] Initializing OCR
[   CLWAL][2339768096]clsw_Initialize: OLR initlevel [70000]
2017-06-20 00:49:25.893: [  OCRAPI][2339768096]clsu_get_private_ip_addresses: no ip addresses found.
[  OCRAPI][2339768096]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2017-06-20 00:49:26.097: [  OCRAPI][2339768096]a_init:13!: Clusterware init unsuccessful : [44]
2017-06-20 00:49:26.097: [  CRSOCR][2339768096] OCR context init failure.  Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2017-06-20 00:49:26.098: [    CRSD][2339768096] Created alert : (:CRSD00111:) :  Could not init OCR, error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2017-06-20 00:49:26.098: [    CRSD][2339768096][PANIC] CRSD exiting: Could not init OCR, code: 44
2017-06-20 00:49:26.098: [    CRSD][2339768096] Done.

看到blog上错误 子网掩码与网段地址不比配,导致问题发生,仔细检查了我自己的配置,静默安装的私网网段为10.10.10.0,私网网卡配置文件 netmask 为255.0.0.0,确定是这问题,修改网卡配置文件 255.255.255.0,然后重启 service network restart ,然后重新执行root.sh,终于看了初始化成功了CRS-4256: Updating the profileSuccessful addition of voting disk 310745e9e0914f45bf3f95acdec41c83.Successful addition of voting disk 4e11d55f25d94f71bf6ee1f196c20c74.Successful addition of voting disk 2cd844795e734f6bbf07281ce1abc855.Successfully replaced voting disk group with +votedisk.CRS-4256: Updating the profileCRS-4266: Voting file(s) successfully replaced## STATE File Universal Id File Name Disk group-- ----- ----------------- --------- --------- 1. ONLINE 310745e9e0914f45bf3f95acdec41c83 (/dev/raw/raw1) [VOTEDISK] 2. ONLINE 4e11d55f25d94f71bf6ee1f196c20c74 (/dev/raw/raw2) [VOTEDISK] 3. ONLINE 2cd844795e734f6bbf07281ce1abc855 (/dev/raw/raw3) [VOTEDISK]Located 3 voting disk(s).

网上一个朋友的11gr2 安装出现问题,crs无法启动

查看crsd的log如下

2010-06-08 22:56:33.127: [ GPnP][3085908288]clsgpnp_getCK: [at clsgpnp0.c:1965] Result: (0) CLSGPNP_OK. Get gpnp wallet - provider 1 of 2 (LSKP-FSW(1))
2010-06-08 22:56:33.127: [ GPnP][3085908288]clsgpnp_getCK: [at clsgpnp0.c:1982] Got gpnp security keys (wallet).>
2010-06-08 22:56:33.127: [ GPnP][3085908288]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=10307, tl=3, f=0
2010-06-08 22:56:33.144: [ OCRAPI][3085908288]clsu_get_private_ip_addresses: no ip addresses found.
2010-06-08 22:56:33.144: [GIPCXCPT][3085908288] gipcShutdownF: skipping shutdown, count 2, from [ clsinet.c : 1732], ret gipcretSuccess (0)
2010-06-08 22:56:33.148: [GIPCXCPT][3085908288] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021], ret gipcretSuccess (0)
[ OCRAPI][3085908288]a_init_clsss: failed to call clsu_get_private_ip_addr (7)
2010-06-08 22:56:33.151: [ OCRAPI][3085908288]a_init:13!: Clusterware init unsuccessful : [44]
2010-06-08 22:56:33.151: [ CRSOCR][3085908288] OCR context init failure. Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]
2010-06-08 22:56:33.151: [ CRSD][3085908288][PANIC] CRSD exiting: Could not init OCR, code: 44
2010-06-08 22:56:33.152: [ CRSD][3085908288] Done.

这里关键的错误时

OCR context init failure. Error: PROC-44: Error in network address and interface operations Network address and interface operations error [7]

可以看到是网络问题导致的。

查看/etc/hosts

并对其中的ip进行ping,没有异常,都可以ping通

用oifcfg查看发现端倪

[grid@rac1 ~]$ oifcfg iflist 
eth0 192.168.137.0
eth1 172.16.0.0

inter_connect的网段应该是172.16.10.0,而不是这里的172.16.0.0

route查看结果,

确实网段是172.16.0.0而不是应该的172.16.10.0

应该是网络配置的问题了。

仔细检查了eth1的配置/etc/sysconfig/network-scripts/ifcfg-eth1

发现错误的地方时其中配置文件中的

NETMASK=255.255.255.0

拼成了

NETMARK=255.255.255.0

导致错误

修改过了,在启动crs成功。

Oracle技术论坛 http://www.oraforum.net


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值