oracle install 11gR2 RAC 运行root.sh时出现missing CAP_NUMA_ATTACH 问题

教程发布:风哥 教程分类:ITPUX技术网 更新日期:2022-02-12 浏览学习:47

oracle install 11gR2 RAC 运行root.sh时出现missing CAP_NUMA_ATTACH 问题

今天一个同事在项目中实施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 脚本
p570a@root#/grid/crs/install/rootcrs.pl -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非常顺利

本文标签:
网站声明:本文由风哥整理发布,转载请保留此段声明,本站所有内容将不对其使用后果做任何承诺,请读者谨慎使用!
【上一篇】
【下一篇】