[INS-40996] Installer has detected that the Oracle home (/home/grid) is not empty in the following nodes: [rac2] --求助帖?

问题描述:12c安装grid的时候,一直再报一个[INS-40996] Installer has detected that the Oracle home (/home/grid) is not empty in the following nodes: [rac2] 的问题,但是发现不了怎么回事?同样的配置,换成11.2.0.4的这一步就没有问题!!!

环境:oracle 12.2.0.1

            rhel6.8

 

求助贴?

在网上和mos找不到相关的文档,如果直接yes的话,后边添加不上rac2节点。

 

 

如果按照报错的字面意思,rac2 的/home/grid 目录不为空,但是rac2 目录下什么也没有?

 

 

前面环境检查:

[grid@rac1 ~]$ ./runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose

Verifying Physical Memory ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          8.1106GB (8504556.0KB)    8GB (8388608.0KB)         passed    
  rac1          .0KB)         passed    
Verifying Physical Memory ...PASSED
Verifying Available Physical Memory ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------7.9599GB (8346560.0KB)    50MB (51200.0KB)          passed    
  rac1          7.7822GB (8160252.0KB)    50MB (.0KB)          passed    
Verifying Available Physical Memory ...PASSED
Verifying Swap Size ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          4GB (4194300.0KB)         8504556.0KB)    Failed    
  rac1          4GB (.0KB)    Failed    
Verifying Swap Size ...Failed (PRVF-7573)
Verifying Free Space: rac2:/usr,rac2:/var,rac2:/etc,rac2:/sbin,1)">tmp ...
  Path              Node Name     Mount point   Available     required      Status      
  ----------------  ------------  ------------  ------------  ------------  ------------
  /usr              rac2          /             25.5GB        25MB          passed      
  /var              rac2          /             .5GB        5MB           passed      
  /etc              rac2          /             .5GB        25MB          passed      
  /sbin             rac2          /             .5GB        10MB          passed      
  /tmp              rac2          /             .5GB        1GB           passed      
Verifying Free Space: rac2:/usr,1)">tmp ...PASSED
Verifying Free Space: rac1:/usr,rac1:/tmp ...
  Path              Node Name     Mount point   Available     required      Status      
  ----------------  ------------  ------------  ------------  ------------  ------------
  /usr              rac1          /             10.2058GB     25MB          passed      
  /var              rac1          /             .2058GB     5MB           passed      
  /etc              rac1          /             .2058GB     25MB          passed      
  /sbin             rac1          /             .2058GB     10MB          passed      
  /tmp              rac1          /             .2058GB     1GB           passed      
Verifying Free Space: rac1:/usr,1)">tmp ...PASSED
Verifying User Existence: grid ...
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    exists(1301)            
  rac1          passed                    exists()            

  Verifying Users With Same UID:  ...PASSED
Verifying User Existence: grid ...PASSED
Verifying Group Existence: asmadmin ...
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    exists                  
  rac1          passed                    exists                  
Verifying Group Existence: asmadmin ...PASSED
Verifying Group Existence: asmdba ...
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    exists                  
  rac1          passed                    exists                  
Verifying Group Existence: asmdba ...PASSED
Verifying Group Existence: oinstall ...
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    exists                  
  rac1          passed                    exists                  
Verifying Group Existence: oinstall ...PASSED
Verifying Group Membership: asmdba ...
  Node Name         User Exists   Group Exists  User in Group  Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              yes           yes           yes           passed          
  rac1              yes           yes           yes           passed          
Verifying Group Membership: asmdba ...PASSED
Verifying Group Membership: asmadmin ...
  Node Name         User Exists   Group Exists  User 
  rac2              yes           yes           yes           passed          
  rac1              yes           yes           yes           passed          
Verifying Group Membership: asmadmin ...PASSED
Verifying Group Membership: oinstall(Primary) ...
  Node Name         User Exists   Group Exists  User  Group  Primary       Status      
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac2              yes           yes           yes           yes           passed      
  rac1              yes           yes           yes           yes           passed      
Verifying Group Membership: oinstall(Primary) ...PASSED
Verifying Run Level ...
  Node Name     run level                 required                  Status    
  ------------  ------------------------  ------------------------  ----------5                         3,5                       passed    
  rac1                                 passed    
Verifying Run Level ...PASSED
Verifying Hard Limit: maximum open file descriptors ...
  Node Name         Type          Available     required      Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              hard          65536         65536         passed          
  rac1              hard                   passed          
Verifying Hard Limit: maximum open file descriptors ...PASSED
Verifying Soft Limit: maximum open file descriptors ...
  Node Name         Type          Available     required      Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              soft          1024          1024          passed          
  rac1              soft                    passed          
Verifying Soft Limit: maximum open file descriptors ...PASSED
Verifying Hard Limit: maximum user processes ...
  Node Name         Type          Available     required      Status          
  ----------------  ------------  ------------  ------------  ----------------16384         16384         passed          
Verifying Hard Limit: maximum user processes ...PASSED
Verifying Soft Limit: maximum user processes ...
  Node Name         Type          Available     required      Status          
  ----------------  ------------  ------------  ------------  ----------------2047          2047          passed          
Verifying Soft Limit: maximum user processes ...PASSED
Verifying Soft Limit: maximum stack size ...
  Node Name         Type          Available     required      Status          
  ----------------  ------------  ------------  ------------  ----------------10240         10240         passed          
  rac1              soft                   passed          
Verifying Soft Limit: maximum stack size ...PASSED
Verifying Architecture ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          x86_64                    x86_64                    passed    
  rac1          x86_64                    x86_64                    passed    
Verifying Architecture ...PASSED
Verifying OS Kernel Version ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------4.1.12-37.4.1.el6uek.x86_64  2.6.39-400.211.1          passed    
  rac1                    passed    
Verifying OS Kernel Version ...PASSED
Verifying OS Kernel Parameter: semmsl ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac1              250           250           passed          
  rac2                         passed          
Verifying OS Kernel Parameter: semmsl ...PASSED
Verifying OS Kernel Parameter: semmns ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------32000         32000         passed          
  rac2                       passed          
Verifying OS Kernel Parameter: semmns ...PASSED
Verifying OS Kernel Parameter: semopm ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------100           100           passed          
Verifying OS Kernel Parameter: semopm ...PASSED
Verifying OS Kernel Parameter: semmni ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------128           128           passed          
Verifying OS Kernel Parameter: semmni ...PASSED
Verifying OS Kernel Parameter: shmmax ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------43543326720   4354332672    passed          
  rac2                  passed          
Verifying OS Kernel Parameter: shmmax ...PASSED
Verifying OS Kernel Parameter: shmmni ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------4096          4096          passed          
  rac2                        passed          
Verifying OS Kernel Parameter: shmmni ...PASSED
Verifying OS Kernel Parameter: shmall ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------2097152       850455        passed          
  rac2                      passed          
Verifying OS Kernel Parameter: shmall ...PASSED
Verifying OS Kernel Parameter: file-max ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------6815744       6815744       passed          
  rac2                     passed          
Verifying OS Kernel Parameter: file-max ...PASSED
Verifying OS Kernel Parameter: ip_local_port_range ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac1              between 9000 & 65500  between 65535  passed          
  rac2              between   passed          
Verifying OS Kernel Parameter: ip_local_port_range ...PASSED
Verifying OS Kernel Parameter: rmem_default ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------262144        262144        passed          
Verifying OS Kernel Parameter: rmem_default ...PASSED
Verifying OS Kernel Parameter: rmem_max ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------4194304       4194304       passed          
Verifying OS Kernel Parameter: rmem_max ...PASSED
Verifying OS Kernel Parameter: wmem_default ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------        passed          
Verifying OS Kernel Parameter: wmem_default ...PASSED
Verifying OS Kernel Parameter: wmem_max ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------1048576       1048576       passed          
Verifying OS Kernel Parameter: wmem_max ...PASSED
Verifying OS Kernel Parameter: aio-max-nr ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------       passed          
Verifying OS Kernel Parameter: aio-max-nr ...PASSED
Verifying OS Kernel Parameter: panic_on_oops ...
  Node Name         Current       Configured    required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------1             undefined                  passed          
  rac2                           passed          
Verifying OS Kernel Parameter: panic_on_oops ...PASSED
Verifying Package: binutils-2.20.51.0.2 ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          binutils-2-5.44.el6  binutils-      passed    
  rac1          binutils-      passed    
Verifying Package: binutils- ...PASSED
Verifying Package: compat-libcap1-1.10
  rac2          compat-libcap1-1.10-1     compat-libcap1-       passed    
  rac1          compat-libcap1-       passed    
Verifying Package: compat-libcap1- ...PASSED
Verifying Package: compat-libstdc++-33-3.2.3 (x86_64) ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          compat-libstdc++-33(x86_64)-3-69.el6  compat-libstdc++-  passed    
  rac1          compat-libstdc++-  passed    
Verifying Package: compat-libstdc++- (x86_64) ...PASSED
Verifying Package: libgcc-4.4.7
  rac2          libgcc(x86_64)-7-23.0.1.el6  libgcc(x86_64)-      passed    
  rac1          libgcc(x86_64)-      passed    
Verifying Package: libgcc- (x86_64) ...PASSED
Verifying Package: libstdc++-
  rac2          libstdc++(x86_64)-1.el6  libstdc++(x86_64)-   passed    
  rac1          libstdc++(x86_64)-   passed    
Verifying Package: libstdc++- (x86_64) ...PASSED
Verifying Package: libstdc++-devel-
  rac2          libstdc++-devel(x86_64)-1.el6  libstdc++-devel(x86_64)-  passed    
  rac1          libstdc++-devel(x86_64)-  passed    
Verifying Package: libstdc++-devel- (x86_64) ...PASSED
Verifying Package: sysstat-9.0.4
  rac2          sysstat-4-33.0.1.el6_9.1  sysstat-             passed    
  rac1          sysstat-             passed    
Verifying Package: sysstat- ...PASSED
Verifying Package: ksh ...
  Node Name     Available                 required                  Status    
  ------------  ------------------------  ------------------------  ----------
  rac2          ksh                       ksh                       passed    
  rac1          ksh                       ksh                       passed    
Verifying Package: ksh ...PASSED
Verifying Package: make-3.81
  rac2          make-3.81-23.el6          make-                 passed    
  rac1          make-                 passed    
Verifying Package: make- ...PASSED
Verifying Package: glibc-2.12
  rac2          glibc(x86_64)-2.12-1.212.0.3.el6_10.3  glibc(x86_64)-        passed    
  rac1          glibc(x86_64)-        passed    
Verifying Package: glibc- (x86_64) ...PASSED
Verifying Package: glibc-devel-
  rac2          glibc-devel(x86_64)-3  glibc-devel(x86_64)-  passed    
  rac1          glibc-devel(x86_64)-  passed    
Verifying Package: glibc-devel- (x86_64) ...PASSED
Verifying Package: libaio-0.3.107
  rac2          libaio(x86_64)-107-10.el6  libaio(x86_64)-    passed    
  rac1          libaio(x86_64)-    passed    
Verifying Package: libaio- (x86_64) ...PASSED
Verifying Package: libaio-devel-
  rac2          libaio-devel(x86_64)-10.el6  libaio-devel(x86_64)-  passed    
  rac1          libaio-devel(x86_64)-  passed    
Verifying Package: libaio-devel- (x86_64) ...PASSED
Verifying Package: nfs-utils-1.2.15
  rac2          nfs-utils-70.0.1.el6  nfs-utils-        passed    
  rac1          nfs-utils-        passed    
Verifying Package: nfs-utils- ...PASSED
Verifying Package: e2fsprogs-1.42.8
  rac2          e2fsprogs-8-1.0.2.el6  e2fsprogs-          passed    
  rac1          e2fsprogs-          passed    
Verifying Package: e2fsprogs- ...PASSED
Verifying Package: e2fsprogs-libs-
  rac2          e2fsprogs-libs(x86_64)-2.el6  e2fsprogs-libs(x86_64)-  passed    
  rac1          e2fsprogs-libs(x86_64)-  passed    
Verifying Package: e2fsprogs-libs- (x86_64) ...PASSED
Verifying Package: smartmontools-5.43-
  rac2          smartmontools-1.el6  smartmontools-      passed    
  rac1          smartmontools-      passed    
Verifying Package: smartmontools- ...PASSED
Verifying Package: net-tools-1.60-110
  rac2          net-tools-110.0.1.el6_2  net-tools-        passed    
  rac1          net-tools-        passed    
Verifying Package: net-tools- ...PASSED
Verifying Port Availability for component "Oracle Notification Service (ONS)" ...
  Node Name         Port Number   Protocol      Available     Status          
  ----------------  ------------  ------------  ------------  ----------------
  rac2              6200          TCP           yes           successful      
  rac1                        TCP           yes           successful      
  rac2              6100          TCP           yes           successful      
Verifying Port Availability Oracle Cluster Synchronization Services (CSSD)42424         TCP           yes           successful      
  rac1                       TCP           yes           successful      
Verifying Port Availability  ...PASSED
Verifying Users With Same UID: 0 ...PASSED
Verifying Current Group ID ...PASSED
Verifying Root user consistency ...
  Node Name                             Status                  
  ------------------------------------  ------------------------
  rac2                                  passed                  
  rac1                                  passed                  
Verifying Root user consistency ...PASSED
Verifying Package: cvuqdisk-10-
  rac2          cvuqdisk-1         cvuqdisk-         passed    
  rac1          cvuqdisk-         passed    
Verifying Package: cvuqdisk- ...PASSED
Verifying Node Connectivity ...
  Verifying Hosts File ...
  Node Name                             Status                  
  ------------------------------------  ------------------------
  rac1                                  passed                  
  rac2                                  passed                  
  Verifying Hosts File ...PASSED

Interface information for node rac1

 Name   IP Address      subnet          Gateway         Def. Gateway    HW Address        MTU   
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 eth1   192.168.163.11  163.0   0.0.0.0         163.2   00:0C:29:91:F3:E1 1500  
 eth2   211.66  211.0   91:F3:EB   

Interface information rac2163.12  38:F8:D4 211.77  38:F8:DE   

Check: MTU consistency of the subnet 192.168.163.0.

  Node              Name          IP Address    subnet        MTU             
  ----------------  ------------  ------------  ------------  ----------------
  rac1              eth1          163.0              
  rac2              eth1                      

Check: MTU consistency of the subnet 192.168.211.0
  rac1              eth2          211.0              
  rac2              eth2                      
  Verifying Check that maximum (MTU) size packet goes through subnet ...PASSED

  Source                          Destination                     Connected?      
  ------------------------------  ------------------------------  ----------------
  rac1[eth1:163.11]       rac2[eth1:163.12]       yes             

  Source                          Destination                     Connected?      
  ------------------------------  ------------------------------  ----------------
  rac1[eth2:211.66]       rac2[eth2:211.77]       yes             
  Verifying subnet mask consistency for subnet  ...PASSED
  Verifying subnet mask consistency  ...PASSED
Verifying Node Connectivity ...PASSED
Verifying Multicast check ...
Checking subnet " for multicast communication with multicast group 224.0.0.251
Verifying Multicast check ...PASSED
Verifying Network Time Protocol (NTP) ...
  Verifying '/etc/ntp.conf' ...
  Node Name                             File exists?            
  ------------------------------------  ------------------------
  rac2                                  no                      
  rac1                                  no                      

  Verifying  ...PASSED
  Verifying /var/run/ntpd.pid ...PASSED
Verifying Network Time Protocol (NTP) ...PASSED
Verifying Same core file name pattern ...PASSED
Verifying User Mask ...
  Node Name     Available                 required                  Comment   
  ------------  ------------------------  ------------------------  ----------0022                      0022                      passed    
  rac1                                passed    
Verifying User Mask ...PASSED
Verifying User Not In Group root: grid ...
  Node Name     Status                    Comment                 
  ------------  ------------------------  ------------------------
  rac2          passed                    does not exist          
  rac1          passed                    does not exist          
Verifying User Not In Group : grid ...PASSED
Verifying Time zone consistency ...PASSED
Verifying resolv.conf Integrity ...
  Verifying (Linux) resolv.conf Integrity ...Failed (PRVG-13159)
Verifying resolv.conf Integrity ...Failed (PRVG-)
Verifying DNS/NIS name service ...PASSED
Verifying Domain Sockets ...PASSED
Verifying /boot mount ...PASSED
Verifying Daemon avahi-daemon not configured and running ...
  Node Name     Configured                Status                  
  ------------  ------------------------  ------------------------
  rac2          no                        passed                  
  rac1          no                        passed                  

  Node Name     Running?                  Status                  
  ------------  ------------------------  ------------------------
  rac2          no                        passed                  
  rac1          no                        passed                  
Verifying Daemon  not configured and running ...PASSED
Verifying Daemon proxyt not configured and running ...PASSED
Verifying User Equivalence ...PASSED
Verifying /dev/shm mounted as temporary file system ...PASSED
Verifying File system mount options for path /var ...PASSED
Verifying zeroconf check ...Failed (PRVE-10077)
Verifying ASM Filter Driver configuration ...PASSED

Pre-check for cluster services setup was unsuccessful on all the nodes. 


Failures were encountered during execution of CVU verification request stage -pre crsinst.

Verifying Swap Size ...Failed
rac2: PRVF-7573 : Sufficient swap size is not available on node 
      [required = 8504556.0KB) ; Found = 4GB (4194300.0KB)]

rac1: PRVF-.0KB)]

Verifying resolv.conf Integrity ...Failed
rac2: PRVG-13159 : On node " the file /etc/resolv.conf Could not be
      parsed because the file is empty.
rac2: Check for integrity of file  Failed


rac1: PRVG- empty.
rac1: Check  Failed


  Verifying (Linux) resolv.conf Integrity ...Failed
  rac2: PRVG- Could not be
        parsed because the file  empty.

  rac1: PRVG- empty.

Verifying zeroconf check ...Failed
rac2: PRVE-10077 : NOZEROCONF parameter was not  specified or was not set to
      yes' in file /etc/sysconfig/network" on node 

rac1: PRVE-


CVU operation performed:      stage -pre crsinst
Date:                         May 13,1)">2021 9:58:29 AM
CVU home:                     /home/grid/
User:                         grid

 

 

 

点击yes之后,其实后边是没有把rac2节点添加成功的

 

 

解决

oracle环境变量设置的与安装目录有冲突,重新调整环境变量

 
 

相关文章

Java Oracle 结果集是Java语言中处理数据库查询结果的一种方...
Java AES和Oracle AES是现代加密技术中最常使用的两种AES加密...
Java是一种广泛应用的编程语言,具备可靠性、安全性、跨平台...
随着移动互联网的发展,抽奖活动成为了营销活动中不可或缺的...
Java和Oracle都是在计算机领域应用非常广泛的技术,他们经常...
Java 是一门非常流行的编程语言,它可以运行于各种操作系统上...