Hello again,
I'm doing some testes installing grid 11.2.0.3 32bits software on a OEL6 32bits (virtual box environment). The problem appeared where i ran root.sh script on node 1. The following error appeared to me:
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk af71b5224f924fecbfde971004a7d378.
Successfully replaced voting disk group with +DG_ORC.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE af71b5224f924fecbfde971004a7d378 (ORCL:ORCL_OCR_01) [DG_ORC]
Located 1 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'rac1'
CRS-2676: Start of 'ora.asm' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.DG_ORC.dg' on 'rac1'
CRS-2676: Start of 'ora.DG_ORC.dg' on 'rac1' succeeded
/opt/oracle/11.2.0/grid/bin/srvctl start nodeapps -n rac1 ... failed
FirstNode configuration failed at /opt/oracle/11.2.0/grid/crs/install/crsconfig_lib.pm line 9196.
/opt/oracle/11.2.0/grid/perl/bin/perl -I/opt/oracle/11.2.0/grid/perl/lib -I/opt/oracle/11.2.0/grid/crs/install /opt/oracle/11.2.0/grid/crs/install/rootcrs.pl execution failed
Doing some metalink researches, i found a post from a guy that solved this problem configuring properly his DNS. I checked my "/etc/resolv.conf" file, and i saw tha it is "empty" (see below)
# Generated by NetworkManager
search localdomain
# No nameservers found; try putting DNS servers into your
# ifcfg files in /etc/sysconfig/network-scripts like so:
#
# DNS1=xxx.xxx.xxx.xxx
# DNS2=xxx.xxx.xxx.xxx
# DOMAIN=lab.foo.com bar.foo.com
My question is: How do i setup my DNS? What informations do i need to put in the "/etc/resolv.conf" file? Below is my "/etc/hosts" ans some other informations:
### /etc/hosts
127.0.0.1 localhost.localdomain localhost
# Public
192.168.2.101 rac1.localdomain rac1
192.168.2.102 rac2.localdomain rac2
# Private
192.168.0.101 rac1-priv.localdomain rac1-priv
192.168.0.102 rac2-priv.localdomain rac2-priv
# Virtual
192.168.2.111 rac1-vip.localdomain rac1-vip
192.168.2.112 rac2-vip.localdomain rac2-vip
# SCAN
192.168.2.201 rac-scan.localdomain rac-scan
192.168.2.202 rac-scan.localdomain rac-scan
192.168.2.203 rac-scan.localdomain rac-scan
### ifconfig on node 1
[root@rac1 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:D8:D1:2E
inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:fed8:d12e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:872830 errors:0 dropped:0 overruns:0 frame:0
TX packets:2142067 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:59028689 (56.2 MiB) TX bytes:3198395040 (2.9 GiB)
eth1 Link encap:Ethernet HWaddr 08:00:27:AC:D3:A3
inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a00:27ff:feac:d3a3/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8489 errors:0 dropped:0 overruns:0 frame:0
TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:627732 (613.0 KiB) TX bytes:30988 (30.2 KiB)
eth1:1 Link encap:Ethernet HWaddr 08:00:27:AC:D3:A3
inet addr:169.254.239.49 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
### hostname from node 1
rac1.localdomain
[root@rac1 ~]#
Thanks in advance.