安裝叢集軟體出現 Group Existence:oinstall

snowdba發表於2014-09-27

在安裝叢集軟體時候遇到組id不一致出現的錯誤。

相信資訊如下:
Group Existence: oinstall - This is a prerequisite condition to test whether group "oinstall" exists on the system.  Error:
 -
PRVF-4020 : Inconsistent group IDs found for group "oinstall"  - Cause:  The group ID for the specified group is not the same across all the nodes.  - Action:  Make sure that the group has the same group ID across all the nodes.

  Operation Failed on Nodes: [node3,  node4]
Verification result of failed node: node3
Expected Value
 : true
Actual Value
 : true
 Details:
 -
PRVF-4020 : Inconsistent group IDs found for group "oinstall" [1000:node4; 54321:node3]  - Cause:  The group ID for the specified group is not the same across all the nodes.  - Action:  Make sure that the group has the same group ID across all the nodes.
Back to Top
Verification result of failed node: node4
Expected Value
 : true
Actual Value
 : true
 Details:
 -
PRVF-4020 : Inconsistent group IDs found for group "oinstall" [1000:node4; 54321:node3]  - Cause:  The group ID for the specified group is not the same across all the nodes.  - Action:  Make sure that the group has the same group ID across all the nodes.
Back to Top

節點3和節點4的oinstall組的id不同,一個是54321,另一個是1000.導致報錯
[root@node3 ~]# id grid
uid=1100(grid) gid=54321(oinstall) groups=54321(oinstall),1200(asmadmin),1201(asmdba),1202(as moper)

[root@node4 ~]# id grid
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(as moper)

手工調整組id
[root@node4 ~]# groupmod -g 54321 -n oinstall oinstall
[root@node4 ~]# usermod -u 1100 -g oinstall -G asmadmin,asmdba,asmoper -d /home/grid -s /bin/bash -c "grid Infrastructure Owner" grid

[root@node4 ~]# id grid

uid=1100(grid) gid=54321(oinstall) groups=54321(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper)
[root@node4 ~]# id oracle
uid=1101(oracle) gid=1000 groups=1000,1201(asmdba),1300(dba),1301(oper)
[root@node4 ~]# usermod -u 1101 -g oinstall -G dba,oper,asmdba -d /home/oracle -s /bin/bash -c "Oracle Software Owner" oracle
[root@node4 ~]# id oracle
uid=1101(oracle) gid=54321(oinstall) groups=54321(oinstall),1201(asmdba),1300(dba),1301(oper)

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29047826/viewspace-1282676/,如需轉載,請註明出處,否則將追究法律責任。

相關文章