error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file
安装rac10g,出现例如以下错误:
- [root@rac2 oracle]# /u01/product/crs/root.sh
- WARNING: directory '/u01/product' is not owned by root
- Checking to see if Oracle CRS stack is already configured
- /etc/oracle does not exist. Creating it now.
- Setting the permissions on OCR backup directory
- Setting up NS directories
- Oracle Cluster Registry configuration upgraded successfully
- WARNING: directory '/u01/product' is not owned by root
- clscfg: EXISTING configuration version 3 detected.
- clscfg: version 3 is 10G Release 2.
- Successfully accumulated necessary OCR keys.
- Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
- node <nodenumber>: <nodename> <private interconnect name> <hostname>
- node 1: rac1 rac1-priv rac1
- node 2: rac2 rac2-priv rac2
- clscfg: Arguments check out successfully.
- NO KEYS WERE WRITTEN. Supply -force parameter to override.
- -force is destructive and will destroy any previous cluster
- configuration.
- Oracle Cluster Registry for cluster has already been initialized
- Startup will be queued to init within 90 seconds.
- Adding daemons to inittab
- Expecting the CRS daemons to be up within 600 seconds.
- CSS is active on these nodes.
- rac1
- rac2
- CSS is active on all nodes.
- Waiting for the Oracle CRSD and EVMD to start
- Waiting for the Oracle CRSD and EVMD to start
- Oracle CRS stack installed and running under init(1M)
- Running vipca(silent) for configuring nodeapps
- /u01/product/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
处理办法:
1、加入unset LD_ASSUME_KERNEL <<<== Line to be added
操作例如以下:
- /u01/product/crs/bin
- vi vipca
- if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
- then
- LD_ASSUME_KERNEL=2.4.19
- export LD_ASSUME_KERNEL
- fi
- unset LD_ASSUME_KERNEL <<<== Line to be added
2、设置ip:
- root@rac2 bin]# ./oifcfg getif
- [root@rac2 bin]# ./oifcfg setif -global eth0/192.168.10.0:public
- [root@rac2 bin]# ./oifcfg setif -global eth1/192.168.20.0:cluster_interconnect
- [root@rac2 bin]# ./oifcfg getif
- eth0 192.168.10.0 global public
- eth1 192.168.20.0 global cluster_interconnect
在oui运行vipca命令,(注意在root下)
[root@rac2 bin]# ./vipca
须要把两个节点都加入进去,然后填写vip地址
./crs_stat -t
error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file的更多相关文章
- nginx检查报错 error while loading shared libraries: libprofiler.so.0: cannot open shared object file: No such file or directory
在centos7.3上编译安装nginx-1.12.2 启动测试出错 [root@web02 local]# /usr/local/nginx/sbin/nginx -t /usr/local/ngi ...
- svnadmin:error while loading shared libraries: libaprutil-1.so.0:cannot open shared object file: No such file or directory
wdcp下安装svn后一直提示 svnadmin:error while loading shared libraries: libaprutil-1.so.0:cannot open shared ...
- 动态链接库找不到 : error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory
问题: 运行gsl(GNU scientific Library)的函数库,用 gcc erf.c -I/usr/local/include -L/usr/local/lib64 -L/usr/loc ...
- ./filezilla: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory
opensuse系统 在filezilla官网下载压缩文件解压运行后报 ./filezilla: error while loading shared libraries: libpng12.so.0 ...
- opensuse13.1 安装chrome报 error while loading shared libraries:libudev.so.0:cannot open shared object file:no file or directory
1 opensuse13.1 安装chrome时 先用rpm -ivh --test **.rpm 测试安装 安装上缺少的文件 2 但是安装测试通过 却不能启动 原因 缺少一个文件 libudev ...
- 运行错误:error while loading shared libraries: xxx.so.0:cannot open shared object file: No such file or
链接时可以通过-L和-l来指定自己的库,因此链接可以通过,但是运行时,系统仍无法找到指定的库,需要简单配置一下. 解决方法: 可以直接在将自己的库所在路径添加到/etc/ld.so.conf文件中.但 ...
- Nginx启动错误:error while loading shared libraries: libpcre.so.0
今天测试的时候,启动一个其他机器预编译好的nginx到目标测试机器(OEL 7.4)启动的时候,报了下列错误: /usr/local/nginx/sbin/nginx: error while loa ...
- error while loading shared libraries: libpcre.so.0的解决办法
error while loading shared libraries: libpcre.so.0的解决办法 http://blog.csdn.net/xjkwq1qq/article/detail ...
- C++.Linux下redis编程:error while loading shared libraries: libhiredis.so.0.13
编译 sudo gcc -o sltest01 sltest01.c -L/usr/local/lib/ -lhiredis 运行 sudo ./sltest01 编译成功后运行报错信息: ./slt ...
随机推荐
- 在Button上、下、左、右位置加入图片和文字
转载请注明出处:http://blog.csdn.net/droyon/article/details/37564419 非常多人有如标题所述的需求,并且大多数人採用了自己定义组件攻克了需求,事实上还 ...
- Shiro学习笔记(5)——web集成
Web集成 shiro配置文件shiroini 界面 webxml最关键 Servlet 測试 基于 Basic 的拦截器身份验证 Web集成 大多数情况.web项目都会集成spring.shiro在 ...
- Ubuntu下安装vmware 9.0 + 注册码
先附上一些注册码到时使用: NA0UF-DUH00-QZHM0-MU17K-CC824 4F469-F024Q-CZ8R9-DL1N0-13C6W HF261-0HL40-FZX21-F9AQ2-0C ...
- iOS开展-Xcode技巧总结(持续更新)
1. <LLDB调试命令初探> 2. <Xcode LLDB Debug教程> 3. <iOS开发准备篇-(5)Xcode调试技巧_1> 4. <iOS开发准 ...
- IOT(Index Organized Table)
我们知道一般的表都以堆(heap)的形式来组织的,这是无序的组织方式.Oracle还提供了一种有序的表,它就是索引组织表,简称IOT表.IOT表上必须要有主键,而IOT表本身不对应segment,表里 ...
- Saltstack 安装使用
Saltstack是一个具备puppet与func功能为一身的集中化,轻量级的自动化运维管理工具,使用python编写,功能非常强大,可以使用EPEL快速安装.相比较puppet,安装和配置更加容易和 ...
- ImportError with IronPython in C#
I was using IronPython to execute python code inside my C# implementation lately, and I encountered ...
- android Animation动画的xml使用
在Android应用程序,使用动画效果,能带给用户更好的感觉,做动画能够通过XML或Android代码来实现. Animation动画效果的实现能够通过两种方式进行实现,一种是tweened anim ...
- AndroidService 深度分析(2)
AndroidService 深度分析(2) 上一篇文章我们Service的生命周期进行了測试及总结. 这篇文章我们介绍下绑定执行的Service的实现. 绑定执行的Service可能是仅为本应用提供 ...
- 自己写的sql排序
create function dbo.Fn_Sort ( @str varchar(1024) ) returns nvarchar(100) as begin declare @tb table ...