12 c for. oracle rac,【案例】Oracle RAC FOR AIX搭建执行root.sh时两次报错的解决办法
天萃荷净
运维DBA反映在aix 5.3 ml6安装10.2.0.1 rac报错0509-036 Cannot load program crsctl.bin because of the following errors。分析原因为系统资源配置不足导致。
1.Oracle RAC安装问题1:
# /oracle/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/oracle/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/app/oracle/product' is not owned by root
WARNING: directory '/oracle/app/oracle' is not owned by root
WARNING: directory '/oracle/app' is not owned by root
WARNING: directory '/oracle' is not owned by root
Checking to see if Oracle CRS stack is already configured
Checking to see if any 9i GSD is up
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/oracle/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/app/oracle/product' is not owned by root
WARNING: directory '/oracle/app/oracle' is not owned by root
WARNING: directory '/oracle/app' is not owned by root
WARNING: directory '/oracle' is not owned by root
exec(): 0509-036 Cannot load program crsctl.bin because of the following errors:
0509-130 Symbol resolution failed for crsctl.bin because:
0509-136 Symbol _Getctype__FPCc (number 101) is not exported from
dependent module /usr/lib/libC.a[ansi_64.o].
0509-136 Symbol _Getnumpunct__FPCc (number 105) is not exported from
dependent module /usr/lib/libC.a[ansi_64.o].
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
Failure initializing entries in /etc/oracle/scls_scr/bdpbak1.
解决的问题很简单,其它也是自己没有认真看官方文档的原因,原来没有在这么低的版本安装过,下面是官方文档中的要求
The following operating system filesets are required:
bos.adt.base
bos.adt.lib
bos.adt.libm
bos.perf.libperfstat
bos.perf.perfstat
bos.perf.proctools
rsct.basic.rte
rsct.compat.clients.rte
xlC.aix50.rte 7.0.0.4
xlC.rte 7.0.0.1
To obtain the previous two xlC filesets mentioned here, Oracle
Database10gR2 users who do not install the IBM XL C/C++
Enterprise Edition V7.0 compiler should install the IBM XL
C/C++ Enterprise Edition V7.0 for AIX Runtime Environment
Component. Download all runtime environment file sets, with no
license requirement, in one package from the following Web site:
下面是自己环境的情况
# lslpp -l|grep xlC
xlC.aix50.rte 6.0.0.13 COMMITTED C Set ++ Runtime for AIX 5.0
xlC.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 6.0.0.0 COMMITTED C Set ++ Runtime
xlC.rte 6.0.0.0 COMMITTED C Set ++ Runtime
# lslpp -l|grep xlC
xlC.adt.include 10.1.0.0 COMMITTED C Set ++ Application
xlC.aix50.rte 10.1.0.0 COMMITTED XL C/C++ Runtime for AIX 5.3
xlC.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 6.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 10.1.0.0 COMMITTED XL C/C++ Runtime
xlC.rte 10.1.0.0 COMMITTED XL C/C++ Runtime
可以运行xlC来查看是否成功,再次运行root.sh正常
2.Oracle RAC安装问题2:
升级到10.2.0.4,在2节点运行root.sh的时候hang住
# /oracle/app/oracle/product/10.2.0/crs_1/install/root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /oracle/app/oracle/product/10.2.0/crs_1
Relinking some shared libraries.
Relinking of patched files is complete.
WARNING: directory '/oracle/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/oracle/app/oracle/product' is not owned by root
WARNING: directory '/oracle/app/oracle' is not owned by root
WARNING: directory '/oracle/app' is not owned by root
WARNING: directory '/oracle' is not owned by root
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
Starting up the CRS daemons.
Adding daemons to inittab
Waiting for the patched CRS daemons to start.
This may take a while on some systems.
.
Timed out waiting for the CRS daemons to start. Look at the
system message file and the CRS log files for diagnostics.
在cssOUT.log有下面的日志
priority string (4)
Warning : Current stack limit is set to UNLIMITED. Resizing..
Info : RLIMIT_STACK set to : 2097152
mlockall: unable to lock pages (-1/1)
The stack ulimits for both oracle and root are set to unlimited.
Changes
* Applying 10.2.0.4 patchset and running root102.sh, or
* Applying 10.2.0.3 CRS Bundle Patch #3 or above, or
* Changing ulimit settings for root or oracle, when running CRS 10.2.0.3 with CRS BP#2 or above, or CRS 10.2.0.4.
Cause
The problem in this case is with the ulimit settings. Setting the stack size to "unlimited" causes ocssd to fail in its call to OS function mlockall. Basically AIX is trying to pin an unlimited amount of memory.
Solution
Set the ulimits for BOTH ROOT AND ORACLE users to the following recommended values:
fsize = -1
core = 2097151
cpu = -1
data = 524288
rss = 524288
stack = 524288
stack_hard = 524288
nofiles = 2000
通过修改oracle的资源限制后,可以正常启动crs。
本文固定链接: http://www.htz.pw/2013/07/30/aix-5-3-ml6%e5%ae%89%e8%a3%8510-2-0-1-rac%e6%8a%a5%e9%94%99.html | 认真就输
--------------------------------------ORACLE-DBA----------------------------------------
最权威、专业的Oracle案例资源汇总之【案例】Oracle RAC FOR AIX搭建执行root.sh时两次报错的解决办法
12 c for. oracle rac,【案例】Oracle RAC FOR AIX搭建执行root.sh时两次报错的解决办法相关推荐
- Oracle数据库备份报错12514,Oracle 数据库报错 ORA-12514解决办法
Oracle 数据库报错 ORA-12514解决办法 绝对实用 如果orale数据库报ORA-12514 无监听程序 错误 就要listener.ora 和 tnsnames.ora 文件修改 一下如 ...
- Oracle 11g R2安装过程中遇到的报错及解决办法
1.提示Check if the DISPLAYvariable is set. Failed<<<< 解决方案: #xhost + //切换到root用户输入 #su ...
- Oracle ora-12560报错的解决办法
在windows下使用oracle时,经常会遇到"ora-12560:TNS:协议适配器错误": 那么遇到这种情况该如何解决呢? 一般来说,出现ora-12560报错主要有三种原因 ...
- Oracle报错及解决办法
报错1: ORA-30036:unable to extend segment by 8 in undo tablespace 'UNDOTBS1' 报错2: ORA-01756:quoted str ...
- 在Win7中安装Oracle 10g时检测报错的解决办法
在Windows 7中安装Oracle 10g. 使用的Orcale版本是10g. 步骤1: 在Orcale官网上下载,下载地址为:http://download.oracle.com/otn/nt/ ...
- jdbc链接oracle报错ORA-12505解决办法
jdbc连接数据库的时候,需要使用数据库的sid_name,而不是数据库的services_name. 而使用plsql连接数据库的时候,只需要数据库的services_name即可,所以修改连接字符 ...
- Oracle 11g RAC 第二节点root.sh执行失败后再次执行root.sh
Oracle 11g RAC 第二节点root.sh执行失败后再次执行root.sh前,要先清除之前的crs配置信息 # /u01/app/11.2.0/grid/crs/install/rootcr ...
- 安装oracle 19c rac报错:2节点执行root.sh asm实例启动失败
安装oracle 19c rac报错:2节点执行root.sh asm实例启动失败 背景 解决过程 查看lmon trc 查看mos 真的是网络的问题 haip 禁用haip 安装好的环境禁用haip ...
- RHEL 7 安装oracle rac 11.2.0.4执行root.sh报错ohasd failed to start
报错信息: [root@rac1 ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInven ...
最新文章
- 用控制台实现的计算器思路完成过程(一)
- 快速搭建Java 17环境并玩转Record特性
- vsftpd虚拟用户帐号
- c++变量重新赋值_Java基础二:一文讲透变量与数据类型
- PHP代码审计笔记--变量覆盖漏洞
- Linux文件系统和文本编辑器
- java communal_平台用英语怎么说
- Android 系统(228)---NITZ网络自动对时功能不起作用
- 开发这么久你真知道for循环内部执行顺序吗?
- **inline**与**volatile**关键字
- python大数据在汽车销售中的数据分析与研究
- 欧姆龙编程软件(CXONE)使用教程
- 数理统计学:世纪末的回顾与展望(陈希孺)
- 计算机考研408的优势和劣势,为什么说计算机考研408是大趋势
- css video 样式,css自定义video播放器样式的方法
- LM75 --温度采集(时序及代码)
- 韩信点兵问题的简单算法 downmoon
- Python3.7 安装Airflow 报错tenacity.async import AsyncRetrying
- java8中的Stream流式操作总结,List转Map或List转LinkedHashMap使用Collectors.groupingBy用法
- 火影忍者的最爱:三勾玉