[ins-32038] The operating system group for central inventory (oraInventory) ownership is invalid

问题:

[oracle@oel701 database]$ [FATAL] [INS-32038] The operating system group specified for central inventory (oraInventory) ownership is invalid.
   CAUSE: User performing installation is not a member of the operating system group specified for central inventory(oraInventory) ownership.
   ACTION: Specify an operating system group that the installing user is a member of. All the members of this operating system group will have write permission to the central inventory directory (oraInventory).

解释:对oraInventory目录没有写权限

 

原因:

1、oraInventory目录权限设置不对

$chown -R oracle:oinstall /u01/app/oraInventory

 

2、Oracle所属组不对

系统安装时主动添加的Oracle用户,则会导致这个情况

$id oracle

错误:

uid=504(oracle) gid=500(oracle) groups=500(oracle),501(wheel)

正常输出:

uid=504(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)

解决方法:

#userdel oracle

#useradd –g oinstall -G dba -d /home/oracle -r oracle

#chown -R oracle:oinstall /u01/app/oracle

#chown -R oracle:oinstall /u01/app/oraInventory

思路就是:删除现在这个Oracle用户,重新创建一个新的Oracle用户,并且将需要的目录重新授予新Oracle用户

 

3、缺少/etc/oraInst.loc文件(这个问题我没遇到过暂时)

解决方法:

vim /etc/oraInst.loc

UNIX_GROUP_NAME=oinstall

INVENTORY_LOCATION=/home/oracle/oraInventory

 

你可能感兴趣的:(Oracle,Oracle报错解决)