Thursday, December 27, 2012

CRS-5005: IP Address: is already in use in the network

After a change in ASM process parameter i restared the crs stack.
Everything went fine... almost the following resource are offline

ora.srvtst01.vip
ora.LISTENER.lsnr
ora.srvtst01.LISTENER_SRVTST01.LSNR

when i tried start the ora.srvtst01.vip i got the following error
$ crsctl start res ora.srvtst01.vip
CRS-2672: Attempting to start 'ora.srvtst01.vip' on 'srvtst01'
CRS-5017: The resource action "ora.srvtst01.vip start" encountered the following error:
CRS-5005: IP Address: 10.110.140.173 is already in use in the network
 CRS-2674: Start of 'ora.srvtst01.vip' on 'srvtst01' failed
CRS-2679: Attempting to clean 'ora.srvtst01.vip' on 'srvtst01'
CRS-2681: Clean of 'ora.srvtst01.vip' on 'srvtst01' succeeded
CRS-2632: There are no more servers to try to place resource 'ora.srvtst01.vip' on that would satisfy its placement policy
CRS-4000: Command Start failed, or completed with errors.
That is strange the vip ip address should not be in use off course
$ nslookup srvtst01
Server:         145.72.247.10
Address:        145.72.247.10#53

Name:   srvtst01.italie.nl
Address: 10.110.140.73

root@oesv7040:CRS:/root
$ nslookup srvtst01-vip.italie.nl.
Server:         145.72.247.10
Address:        145.72.247.10#53

Name:   srvtst01-vip.italie.nl
Address: 10.110.140.173

As you see the ip address for the host and vip are different. When a do a SSH whith the vip ip 10.110.140.173  i  connect to the host srvtst01 what is good.When i look with ifconfig command i don't see the  IP address of the vip.
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:70:40:01
          inet addr:10.110.140.73  Bcast:10.233.240.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43716169 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10090483 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8036689632 (7.4 GiB)  TX bytes:98860268867 (92.0 GiB)

eth1      Link encap:Ethernet  HWaddr 00:16:3E:70:40:02
          inet addr:172.29.96.64  Bcast:172.29.96.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19477710 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9399 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2589277692 (2.4 GiB)  TX bytes:9266153 (8.8 MiB)

eth1:1    Link encap:Ethernet  HWaddr 00:16:3E:70:40:02
          inet addr:169.254.168.11  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:25295206 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25295206 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:37308951844 (34.7 GiB)  TX bytes:37308951844 (34.7 GiB)
  As you see i'm missing the vip ip address. I only see the host ip address.
To correct this i've to make a network alias and adjust it to ETH0 as it shoud be.

$ ifconfig eth0:1 10.110.140.173 up
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:70:40:01
          inet addr:10.233.240.73  Bcast:10.233.240.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43718610 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10090883 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8036957710 (7.4 GiB)  TX bytes:98860318155 (92.0 GiB)

eth0:1    Link encap:Ethernet  HWaddr 00:16:3E:70:40:01
          inet addr:10.110.140.173  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

As you see there is now a eth0:1 with the ip address of the vip.
Now i start the vip
$ crsctl start res ora.srvtst01.vip
CRS-2672: Attempting to start 'ora.srvtst.vip' on 'srvtst01'
CRS-2676: Start of 'ora.srvtst01.vip' on 'srvtst7040' succeeded
Why O why the eth0:1 was missing is still a ridle.

Thats it

2 comments:

  1. Hi,
    what is this "root@srvtst01:CRS:/root"

    ReplyDelete
  2. One important step that many people fail to make is changing the admin password. It is very easy to look up the default password for a certain brand of router. 192.168.0.1.1

    ReplyDelete