[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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章