oracle install 11gR2 RAC 執行root.sh時出現missing CAP_NUMA_ATTACH 問題

paulyibinyi發表於2010-03-05

       今天一個同事在專案中實施oracle 11gR2  rac for aix 的安裝時,安裝到需要在節點上執行root.sh

時出現以下問題:

     Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-03-05 11:24:05: Parsing the host name
2010-03-05 11:24:05: Checking for super user privileges
2010-03-05 11:24:05: User has super user privileges
Using configuration parameter file: /grid/crs/install/crsconfig_params
Creating trace directory
User oracle is missing the following capabilities required to run CSSD in realtime:
  CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE

To add the required capabilities, please run:
   /usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oracle
CSS cannot be run in realtime mode at /grid/crs/install/crsconfig_lib.pm line 8119.

解決方法:

usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oracle

再次執行root.sh時,提示執行/grid/crs/install/rootcrs.pl -deconfig 指令碼

-deconfig
2010-03-05 11:30:59: Parsing the host name
2010-03-05 11:30:59: Checking for super user privileges
2010-03-05 11:30:59: User has super user privileges
Using configuration parameter file: /grid/crs/install/crsconfig_params
Oracle Clusterware stack is not active on this node
Restart the clusterware stack (use /grid/bin/crsctl start crs) and retry
Failed to verify resources

報錯,執行不成功

看來前期安裝的準備工作非常重要,而在官方文件中明確列出在安裝前對oracle使用者賦予以下屬性

usr/bin/chuser capabilities=CAP_NUMA_ATTACH,CAP_BYPASS_RAC_VMM,CAP_PROPAGATE oracle
因為是新環境,所以用deinstall 命令剷掉環境後,對oracle使用者增加上面屬性後,執行root.sh指令碼成功

安裝grid非常順利

 

 

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

相關文章