ITPub博客

首页 > 数据库 > Oracle > 安装集群软件出现 Group Existence:oinstall

安装集群软件出现 Group Existence:oinstall

原创 Oracle 作者:snowdba 时间:2014-09-27 14:54:11 0 删除 编辑

在安装集群软件时候遇到组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博客 ” ,链接:https://blog.itpub.net/29047826/viewspace-1282676/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-06-21

  • 博文量
    223
  • 访问量
    1633670