oracle 11g RAC安裝節點二執行結果錯誤CRS-5005: IP Address: 192.168.1.24 is already in use in the network

來源:互聯網
上載者:User

標籤:style   blog   http   color   io   使用   ar   for   div   

[[email protected] ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory.Adding read,write permissions for group.Removing read,write,execute permissions for world.Changing groupname of /u01/app/oraInventory to oinstall.The execution of the script is complete.
[[email protected] ~]# /u01/app/11.2.0/grid/root.sh Performing root user operation for Oracle 11g The following environment variables are set as:    ORACLE_OWNER= grid    ORACLE_HOME=  /u01/app/11.2.0/gridEnter the full pathname of the local bin directory: [/usr/local/bin]:    Copying dbhome to /usr/local/bin ...   Copying oraenv to /usr/local/bin ...   Copying coraenv to /usr/local/bin ...Creating /etc/oratab file...Entries will be added to the /etc/oratab file as needed byDatabase Configuration Assistant when a database is createdFinished running generic part of root script.Now product-specific root actions will be performed.Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_paramsCreating trace directoryUser ignored Prerequisites during installationOLR initialization - successfulAdding Clusterware entries to inittabCRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘testdb11b‘CRS-2676: Start of ‘ora.mdnsd‘ on ‘testdb11b‘ succeededCRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘testdb11b‘CRS-2676: Start of ‘ora.gpnpd‘ on ‘testdb11b‘ succeededCRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘testdb11b‘CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘testdb11b‘CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘testdb11b‘ succeededCRS-2676: Start of ‘ora.gipcd‘ on ‘testdb11b‘ succeededCRS-2672: Attempting to start ‘ora.cssd‘ on ‘testdb11b‘CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘testdb11b‘CRS-2676: Start of ‘ora.diskmon‘ on ‘testdb11b‘ succeededCRS-2676: Start of ‘ora.cssd‘ on ‘testdb11b‘ succeededASM created and started successfully.Disk Group DATA created successfully.clscfg: -install mode specifiedSuccessfully accumulated necessary OCR keys.Creating OCR keys for user ‘root‘, privgrp ‘root‘..Operation successful.Successful addition of voting disk ad234a0219fa4f05bf03be9cf16122da.Successfully replaced voting disk group with +DATA.CRS-4266: Voting file(s) successfully replaced##  STATE    File Universal Id                File Name Disk group--  -----    -----------------                --------- --------- 1. ONLINE   ad234a0219fa4f05bf03be9cf16122da (/dev/raw/raw1) [DATA]Located 1 voting disk(s).CRS-2672: Attempting to start ‘ora.asm‘ on ‘testdb11b‘CRS-2676: Start of ‘ora.asm‘ on ‘testdb11b‘ succeededCRS-2672: Attempting to start ‘ora.DATA.dg‘ on ‘testdb11b‘CRS-2676: Start of ‘ora.DATA.dg‘ on ‘testdb11b‘ succeededPRCR-1079 : Failed to start resource ora.scan1.vipCRS-5017: The resource action "ora.scan1.vip start" encountered the following error: CRS-5005: IP Address: 192.168.1.24 is already in use in the network. For details refer to "(:CLSN00107:)" in "/u01/app/11.2.0/grid/log/testdb11b/agent/crsd/orarootagent_root/orarootagent_root.log".CRS-2674: Start of ‘ora.scan1.vip‘ on ‘testdb11b‘ failedCRS-2632: There are no more servers to try to place resource ‘ora.scan1.vip‘ on that would satisfy its placement policystart scan ... failedFirstNode configuration failed at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 9196./u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed

 解決:

第一種原因可能是DNS沒有配置,從11.2.0.2開始DNS是必須配置的。

配置DNS

卸載CRS,清理裸裝置,使用asmlib方式綁定磁碟

dd if=/dev/zero of=/dev/raw/raw1 bs=8192 count=12800dd if=/dev/zero of=/dev/raw/raw2 bs=8192 count=12800dd if=/dev/zero of=/dev/raw/raw3 bs=8192 count=12800dd if=/dev/zero of=/dev/raw/raw4 bs=8192 count=12800

 

[[email protected] ~]# oracleasm configure -iConfiguring the Oracle ASM library driver.This will configure the on-boot properties of the Oracle ASM librarydriver.  The following questions will determine whether the driver isloaded on boot and what permissions it will have.  The current valueswill be shown in brackets (‘[]‘).  Hitting <ENTER> without typing ananswer will keep that current value.  Ctrl-C will abort.Default user to own the driver interface []: gridDefault group to own the driver interface []: asmdbaStart Oracle ASM library driver on boot (y/n) [n]: yScan for Oracle ASM disks on boot (y/n) [y]: Writing Oracle ASM library driver configuration: done[[email protected] ~]# oracleasm initCreating /dev/oracleasm mount point: /dev/oracleasmLoading module "oracleasm": oracleasmMounting ASMlib driver filesystem: /dev/oracleasm[[email protected] ~]# /usr/sbin/oracleasm createdisk DISK1 /dev/sdb1Writing disk header: doneInstantiating disk: done[[email protected] ~]# /usr/sbin/oracleasm createdisk DISK2 /dev/sdc1Writing disk header: doneInstantiating disk: done[[email protected] ~]# /usr/sbin/oracleasm createdisk DISK3 /dev/sdd1Writing disk header: doneInstantiating disk: done[[email protected] ~]#  /usr/sbin/oracleasm createdisk DISK4 /dev/sde1Writing disk header: doneInstantiating disk: done[[email protected] ~]# /usr/sbin/oracleasm scandisksReloading disk partitions: doneCleaning any stale ASM disks...Scanning system for ASM disks...[[email protected] ~]# /usr/sbin/oracleasm listdisksDISK1DISK2DISK3DISK4

 

 然後重新安裝Grid Infrastructure。

(2)我的原因是:

重裝了好幾次,都是報這個錯誤,後來發現虛擬機器的磁碟紊亂了,本來第一塊二磁碟變成了第四塊,但是兩個虛擬機器的順序是一致的,後來把磁碟刪除了又重新加上後搞定了。

a 在設定中刪除並建立磁碟(vmware可以線上增刪磁碟)

b 作業系統刪除分區,並建立分區

c 重新綁定裸裝置

d 重新安裝Grid Infrastructure

清理方法詳見:Oracle 11g RAC 卸載CRS步驟

 

oracle 11g RAC安裝節點二執行結果錯誤CRS-5005: IP Address: 192.168.1.24 is already in use in the network

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.